protected class AsyncMiddleManServlet.ProxyReader extends IteratingCallback implements ReadListener
IteratingCallback.ActionCallback.Adapter| Modifier | Constructor and Description |
|---|---|
protected |
AsyncMiddleManServlet.ProxyReader(HttpServletRequest clientRequest,
HttpServletResponse proxyResponse,
Request proxyRequest,
DeferredContentProvider provider) |
| Modifier and Type | Method and Description |
|---|---|
void |
onAllDataRead() |
protected void |
onCompleteFailure(Throwable x) |
void |
onDataAvailable() |
void |
onError(Throwable t) |
protected IteratingCallback.Action |
process() |
close, completed, failed, isClosed, isFailed, isSucceeded, iterate, onCompleteSuccess, reset, succeeded, toStringprotected AsyncMiddleManServlet.ProxyReader(HttpServletRequest clientRequest, HttpServletResponse proxyResponse, Request proxyRequest, 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 onCompleteFailure(Throwable x)
onCompleteFailure in class IteratingCallbackCopyright © 1995-2016 Webtide. All Rights Reserved.