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