Package org.cometd.server.transport
Class AsyncJSONTransport.CharsetReader
- java.lang.Object
-
- org.cometd.server.transport.AsyncJSONTransport.AbstractReader
-
- org.cometd.server.transport.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, Promise<Void> promise, Charset charset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
append(byte[] buffer, int offset, int length)
protected String
finish()
-
Methods inherited from class org.cometd.server.transport.AsyncJSONTransport.AbstractReader
onAllDataRead, onDataAvailable, onError
-
-
-
-
Constructor Detail
-
CharsetReader
public CharsetReader(AbstractHttpTransport.Context context, Promise<Void> promise, Charset charset)
-
-
Method Detail
-
append
protected void append(byte[] buffer, int offset, int length)
- Specified by:
append
in classAsyncJSONTransport.AbstractReader
-
finish
protected String finish()
- Specified by:
finish
in classAsyncJSONTransport.AbstractReader
-
-