Package org.cometd.server.http
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, org.cometd.bayeux.Promise<Void> promise, Charset charset)
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
append(byte[] buffer, int offset, int length)
void
Methods inherited from class org.cometd.server.http.AsyncJSONTransport.AbstractReader
finish, finish, onDataAvailable, onError
-
Constructor Details
-
CharsetReader
public CharsetReader(AbstractHttpTransport.Context context, org.cometd.bayeux.Promise<Void> promise, Charset charset)
-
-
Method Details
-
append
protected void append(byte[] buffer, int offset, int length)- Specified by:
append
in classAsyncJSONTransport.AbstractReader
-
onAllDataRead
- Throws:
IOException
-