protected class AsyncProxyServlet.StreamReader extends IteratingCallback implements ReadListener
IteratingCallback.ActionCallback.Adapter| Modifier | Constructor and Description |
|---|---|
protected |
AsyncProxyServlet.StreamReader(Request proxyRequest,
HttpServletRequest request,
DeferredContentProvider provider) |
| Modifier and Type | Method and Description |
|---|---|
void |
failed(Throwable x) |
void |
onAllDataRead() |
void |
onDataAvailable() |
void |
onError(Throwable t) |
protected void |
onRequestContent(Request proxyRequest,
HttpServletRequest request,
DeferredContentProvider provider,
byte[] buffer,
int offset,
int length,
Callback callback) |
protected IteratingCallback.Action |
process() |
close, completed, isClosed, isFailed, isSucceeded, iterate, onCompleteFailure, onCompleteSuccess, reset, succeeded, toStringprotected AsyncProxyServlet.StreamReader(Request proxyRequest, HttpServletRequest request, DeferredContentProvider provider)
public void onDataAvailable()
throws IOException
onDataAvailable in interface ReadListenerIOExceptionpublic void onAllDataRead()
throws IOException
onAllDataRead in interface ReadListenerIOExceptionpublic void onError(Throwable t)
onError in interface ReadListenerprotected IteratingCallback.Action process() throws Exception
process in class IteratingCallbackExceptionprotected void onRequestContent(Request proxyRequest, HttpServletRequest request, DeferredContentProvider provider, byte[] buffer, int offset, int length, Callback callback)
public void failed(Throwable x)
failed in interface Callbackfailed in class IteratingCallbackCopyright © 1995-2016 Webtide. All Rights Reserved.