Package org.cometd.server.http
Class AsyncJSONTransport.UTF8Reader
- java.lang.Object
-
- org.cometd.server.http.AsyncJSONTransport.AbstractReader
-
- org.cometd.server.http.AsyncJSONTransport.UTF8Reader
-
- All Implemented Interfaces:
java.util.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<java.lang.Void> promise)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
append(byte[] bytes, int offset, int length)
void
onAllDataRead()
-
Methods inherited from class org.cometd.server.http.AsyncJSONTransport.AbstractReader
finish, finish, onDataAvailable, onError
-
-
-
-
Constructor Detail
-
UTF8Reader
protected UTF8Reader(AbstractHttpTransport.Context context, Promise<java.lang.Void> promise)
-
-
Method Detail
-
append
protected void append(byte[] bytes, int offset, int length)
- Specified by:
append
in classAsyncJSONTransport.AbstractReader
-
onAllDataRead
public void onAllDataRead() throws java.io.IOException
- Specified by:
onAllDataRead
in interfacejavax.servlet.ReadListener
- Overrides:
onAllDataRead
in classAsyncJSONTransport.AbstractReader
- Throws:
java.io.IOException
-
-