Package org.eclipse.jetty.client
Class ResponseNotifier
- java.lang.Object
-
- org.eclipse.jetty.client.ResponseNotifier
-
public class ResponseNotifier extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ResponseNotifier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
forwardFailure(java.util.List<Response.ResponseListener> listeners, Response response, java.lang.Throwable failure)
void
forwardFailureComplete(java.util.List<Response.ResponseListener> listeners, Request request, java.lang.Throwable requestFailure, Response response, java.lang.Throwable responseFailure)
void
forwardSuccess(java.util.List<Response.ResponseListener> listeners, Response response)
void
forwardSuccessComplete(java.util.List<Response.ResponseListener> listeners, Request request, Response response)
void
notifyBeforeContent(Response response, java.util.function.ObjLongConsumer<java.lang.Object> demand, java.util.List<Response.DemandedContentListener> contentListeners)
void
notifyBegin(java.util.List<Response.ResponseListener> listeners, Response response)
void
notifyComplete(java.util.List<Response.ResponseListener> listeners, Result result)
void
notifyContent(Response response, java.util.function.ObjLongConsumer<java.lang.Object> demand, java.nio.ByteBuffer buffer, Callback callback, java.util.List<Response.DemandedContentListener> contentListeners)
void
notifyFailure(java.util.List<Response.ResponseListener> listeners, Response response, java.lang.Throwable failure)
boolean
notifyHeader(java.util.List<Response.ResponseListener> listeners, Response response, HttpField field)
void
notifyHeaders(java.util.List<Response.ResponseListener> listeners, Response response)
void
notifySuccess(java.util.List<Response.ResponseListener> listeners, Response response)
-
-
-
Method Detail
-
notifyBegin
public void notifyBegin(java.util.List<Response.ResponseListener> listeners, Response response)
-
notifyHeader
public boolean notifyHeader(java.util.List<Response.ResponseListener> listeners, Response response, HttpField field)
-
notifyHeaders
public void notifyHeaders(java.util.List<Response.ResponseListener> listeners, Response response)
-
notifyBeforeContent
public void notifyBeforeContent(Response response, java.util.function.ObjLongConsumer<java.lang.Object> demand, java.util.List<Response.DemandedContentListener> contentListeners)
-
notifyContent
public void notifyContent(Response response, java.util.function.ObjLongConsumer<java.lang.Object> demand, java.nio.ByteBuffer buffer, Callback callback, java.util.List<Response.DemandedContentListener> contentListeners)
-
notifySuccess
public void notifySuccess(java.util.List<Response.ResponseListener> listeners, Response response)
-
notifyFailure
public void notifyFailure(java.util.List<Response.ResponseListener> listeners, Response response, java.lang.Throwable failure)
-
notifyComplete
public void notifyComplete(java.util.List<Response.ResponseListener> listeners, Result result)
-
forwardSuccess
public void forwardSuccess(java.util.List<Response.ResponseListener> listeners, Response response)
-
forwardSuccessComplete
public void forwardSuccessComplete(java.util.List<Response.ResponseListener> listeners, Request request, Response response)
-
forwardFailure
public void forwardFailure(java.util.List<Response.ResponseListener> listeners, Response response, java.lang.Throwable failure)
-
forwardFailureComplete
public void forwardFailureComplete(java.util.List<Response.ResponseListener> listeners, Request request, java.lang.Throwable requestFailure, Response response, java.lang.Throwable responseFailure)
-
-