Package org.cometd.server.transport
Class AsyncJSONTransport.UTF8Reader
- java.lang.Object
-
- org.cometd.server.transport.AsyncJSONTransport.AbstractReader
-
- org.cometd.server.transport.AsyncJSONTransport.UTF8Reader
-
- All Implemented Interfaces:
EventListener
,javax.servlet.ReadListener
- Enclosing class:
- AsyncJSONTransport
protected class AsyncJSONTransport.UTF8Reader extends AsyncJSONTransport.AbstractReader
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
UTF8Reader(AbstractHttpTransport.Context context, Promise<Void> promise)
-
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
-
UTF8Reader
protected UTF8Reader(AbstractHttpTransport.Context context, Promise<Void> promise)
-
-
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
-
-