Class AsyncJSONTransport.CharsetReader
java.lang.Object
org.cometd.server.http.AsyncJSONTransport.AbstractReader
org.cometd.server.http.AsyncJSONTransport.CharsetReader
- All Implemented Interfaces:
EventListener,javax.servlet.ReadListener
- Enclosing class:
AsyncJSONTransport
-
Constructor Summary
ConstructorsConstructorDescriptionCharsetReader(AbstractHttpTransport.Context context, Promise<Void> promise, Charset charset) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidappend(byte[] buffer, int offset, int length) voidMethods inherited from class org.cometd.server.http.AsyncJSONTransport.AbstractReader
finish, finish, onDataAvailable, onError
-
Constructor Details
-
CharsetReader
-
-
Method Details
-
append
protected void append(byte[] buffer, int offset, int length) - Specified by:
appendin classAsyncJSONTransport.AbstractReader
-
onAllDataRead
- Specified by:
onAllDataReadin interfacejavax.servlet.ReadListener- Overrides:
onAllDataReadin classAsyncJSONTransport.AbstractReader- Throws:
IOException
-