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
protected class AsyncJSONTransport.CharsetReader extends AsyncJSONTransport.AbstractReader
-
Constructor Summary
Constructors Constructor Description CharsetReader(AbstractHttpTransport.Context context, org.cometd.bayeux.Promise<Void> promise, Charset charset)
-
Method Summary
Methods inherited from class org.cometd.server.http.AsyncJSONTransport.AbstractReader
onAllDataRead, 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
-
finish
- Specified by:
finish
in classAsyncJSONTransport.AbstractReader
-