java.util.EventListener, ReadListenerprotected class AsyncMiddleManServlet.ProxyReader extends org.eclipse.jetty.util.IteratingCallback implements ReadListener
org.eclipse.jetty.util.Callback.Completable, org.eclipse.jetty.util.Callback.Nested| Modifier | Constructor | Description |
|---|---|---|
protected |
ProxyReader(HttpServletRequest clientRequest,
HttpServletResponse proxyResponse,
Request proxyRequest,
DeferredContentProvider provider) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
onAllDataRead() |
|
protected void |
onCompleteFailure(java.lang.Throwable x) |
|
void |
onDataAvailable() |
|
void |
onError(java.lang.Throwable t) |
|
protected org.eclipse.jetty.util.IteratingCallback.Action |
process() |
getInvocationType, getInvocationType, invokeNonBlocking, isNonBlockingInvocationprotected ProxyReader(HttpServletRequest clientRequest, HttpServletResponse proxyResponse, Request proxyRequest, DeferredContentProvider provider)
public void onDataAvailable()
throws java.io.IOException
onDataAvailable in interface ReadListenerjava.io.IOExceptionpublic void onAllDataRead()
throws java.io.IOException
onAllDataRead in interface ReadListenerjava.io.IOExceptionpublic void onError(java.lang.Throwable t)
onError in interface ReadListenerprotected org.eclipse.jetty.util.IteratingCallback.Action process()
throws java.lang.Exception
process in class org.eclipse.jetty.util.IteratingCallbackjava.lang.Exceptionprotected void onCompleteFailure(java.lang.Throwable x)
onCompleteFailure in class org.eclipse.jetty.util.IteratingCallbackCopyright © 1995–2018 Webtide. All rights reserved.