protected class AsyncMiddleManServlet.ProxyReader extends IteratingCallback implements ReadListener
IteratingCallback.ActionCallback.Completable, Callback.NestedInvocable.InvocationType__nonBlocking| Modifier | Constructor and Description |
|---|---|
protected |
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, failed, isClosed, isFailed, isSucceeded, iterate, onCompleteSuccess, reset, succeeded, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitasPreferred, getInvocationType, getInvocationType, invokeNonBlocking, invokePreferNonBlocking, invokePreferred, isNonBlockingInvocationprotected 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–2017 Webtide. All rights reserved.