Module org.eclipse.jetty.proxy
Package org.eclipse.jetty.proxy
Class ProxyServlet.ProxyResponseListener
java.lang.Object
org.eclipse.jetty.client.api.Response.Listener.Adapter
org.eclipse.jetty.proxy.ProxyServlet.ProxyResponseListener
- All Implemented Interfaces:
EventListener,org.eclipse.jetty.client.api.Response.AsyncContentListener,org.eclipse.jetty.client.api.Response.BeginListener,org.eclipse.jetty.client.api.Response.CompleteListener,org.eclipse.jetty.client.api.Response.ContentListener,org.eclipse.jetty.client.api.Response.DemandedContentListener,org.eclipse.jetty.client.api.Response.FailureListener,org.eclipse.jetty.client.api.Response.HeaderListener,org.eclipse.jetty.client.api.Response.HeadersListener,org.eclipse.jetty.client.api.Response.Listener,org.eclipse.jetty.client.api.Response.ResponseListener,org.eclipse.jetty.client.api.Response.SuccessListener
- Enclosing class:
- ProxyServlet
protected class ProxyServlet.ProxyResponseListener
extends org.eclipse.jetty.client.api.Response.Listener.Adapter
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.client.api.Response.Listener
org.eclipse.jetty.client.api.Response.Listener.Adapter -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedProxyResponseListener(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) -
Method Summary
Modifier and TypeMethodDescriptionvoidonBegin(org.eclipse.jetty.client.api.Response proxyResponse) voidonComplete(org.eclipse.jetty.client.api.Result result) voidonContent(org.eclipse.jetty.client.api.Response proxyResponse, ByteBuffer content, org.eclipse.jetty.util.Callback callback) voidonHeaders(org.eclipse.jetty.client.api.Response proxyResponse) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.jetty.client.api.Response.AsyncContentListener
onContentMethods inherited from interface org.eclipse.jetty.client.api.Response.DemandedContentListener
onBeforeContentMethods inherited from interface org.eclipse.jetty.client.api.Response.Listener
onContent, onFailure, onHeader, onSuccess
-
Constructor Details
-
ProxyResponseListener
protected ProxyResponseListener(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
-
-
Method Details
-
onBegin
public void onBegin(org.eclipse.jetty.client.api.Response proxyResponse) -
onHeaders
public void onHeaders(org.eclipse.jetty.client.api.Response proxyResponse) -
onContent
public void onContent(org.eclipse.jetty.client.api.Response proxyResponse, ByteBuffer content, org.eclipse.jetty.util.Callback callback) -
onComplete
public void onComplete(org.eclipse.jetty.client.api.Result result)
-