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
-
Field Summary
Fields inherited from class org.cometd.server.transport.AsyncJSONTransport.AbstractReader
asyncContext
-
Constructor Summary
Constructors Modifier Constructor Description protected
UTF8Reader(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.AsyncContext asyncContext)
-
Method Summary
Methods inherited from class org.cometd.server.transport.AsyncJSONTransport.AbstractReader
onAllDataRead, onDataAvailable, onError, process
-
Constructor Details
-
UTF8Reader
protected UTF8Reader(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.AsyncContext asyncContext)
-
-
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
-