|
Apache Tomcat 7.0.33 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.nio.charset.CharsetDecoder
org.apache.catalina.websocket.Utf8Decoder
public class Utf8Decoder
Decodes bytes to UTF-8. Extracted from Apache Harmony and modified to reject code points from U+D800 to U+DFFF as per RFC3629. The standard Java decoder does not reject these.
| Constructor Summary | |
|---|---|
Utf8Decoder()
|
|
| Method Summary | |
|---|---|
protected java.nio.charset.CoderResult |
decodeLoop(java.nio.ByteBuffer in,
java.nio.CharBuffer out)
|
| Methods inherited from class java.nio.charset.CharsetDecoder |
|---|
averageCharsPerByte, charset, decode, decode, detectedCharset, flush, implFlush, implOnMalformedInput, implOnUnmappableCharacter, implReplaceWith, implReset, isAutoDetecting, isCharsetDetected, malformedInputAction, maxCharsPerByte, onMalformedInput, onUnmappableCharacter, replacement, replaceWith, reset, unmappableCharacterAction |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Utf8Decoder()
| Method Detail |
|---|
protected java.nio.charset.CoderResult decodeLoop(java.nio.ByteBuffer in,
java.nio.CharBuffer out)
decodeLoop in class java.nio.charset.CharsetDecoder
|
Apache Tomcat 7.0.33 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||