Package org.eclipse.jetty.server
Class HttpChannel.TransientListeners
java.lang.Object
org.eclipse.jetty.server.HttpChannel.TransientListeners
- All Implemented Interfaces:
EventListener,HttpChannel.Listener
- Enclosing class:
- HttpChannel
@Deprecated
public static class HttpChannel.TransientListeners
extends Object
implements HttpChannel.Listener
Deprecated.
A Listener instance that can be added as a bean to
AbstractConnector so that
the listeners obtained from HttpChannelHttpChannel.getTransientListeners()-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonAfterDispatch(Request request) Deprecated.Invoked just after the application returns from the first invocation.voidonBeforeDispatch(Request request) Deprecated.Invoked just before calling the application.voidonComplete(Request request) Deprecated.Invoked when the request and response processing are complete.voidonDispatchFailure(Request request, Throwable failure) Deprecated.Invoked when the application threw an exception.voidonRequestBegin(Request request) Deprecated.Invoked just after the HTTP request line and headers have been parsed.voidonRequestContent(Request request, ByteBuffer content) Deprecated.Invoked every time a request content chunk has been parsed, just before making it available to the application.voidonRequestContentEnd(Request request) Deprecated.Invoked when the end of the request content is detected.voidonRequestEnd(Request request) Deprecated.Invoked when the request has been fully parsed.voidonRequestFailure(Request request, Throwable failure) Deprecated.Invoked when the request processing failed.voidonRequestTrailers(Request request) Deprecated.Invoked when the request trailers have been parsed.voidonResponseBegin(Request request) Deprecated.Invoked just before the response line is written to the network.voidonResponseCommit(Request request) Deprecated.Invoked just after the response is committed (that is, the response line, headers and possibly some content have been written to the network).voidonResponseContent(Request request, ByteBuffer content) Deprecated.Invoked after a response content chunk has been written to the network.voidonResponseEnd(Request request) Deprecated.Invoked when the response has been fully written.voidonResponseFailure(Request request, Throwable failure) Deprecated.Invoked when the response processing failed.
-
Constructor Details
-
TransientListeners
public TransientListeners()Deprecated.
-
-
Method Details
-
onRequestBegin
Deprecated.Description copied from interface:HttpChannel.ListenerInvoked just after the HTTP request line and headers have been parsed.- Specified by:
onRequestBeginin interfaceHttpChannel.Listener- Parameters:
request- the request object
-
onBeforeDispatch
Deprecated.Description copied from interface:HttpChannel.ListenerInvoked just before calling the application.- Specified by:
onBeforeDispatchin interfaceHttpChannel.Listener- Parameters:
request- the request object
-
onDispatchFailure
Deprecated.Description copied from interface:HttpChannel.ListenerInvoked when the application threw an exception.- Specified by:
onDispatchFailurein interfaceHttpChannel.Listener- Parameters:
request- the request objectfailure- the exception thrown by the application
-
onAfterDispatch
Deprecated.Description copied from interface:HttpChannel.ListenerInvoked just after the application returns from the first invocation.- Specified by:
onAfterDispatchin interfaceHttpChannel.Listener- Parameters:
request- the request object
-
onRequestContent
Deprecated.Description copied from interface:HttpChannel.ListenerInvoked every time a request content chunk has been parsed, just before making it available to the application.- Specified by:
onRequestContentin interfaceHttpChannel.Listener- Parameters:
request- the request objectcontent- asliceof the request content chunk
-
onRequestContentEnd
Deprecated.Description copied from interface:HttpChannel.ListenerInvoked when the end of the request content is detected.- Specified by:
onRequestContentEndin interfaceHttpChannel.Listener- Parameters:
request- the request object
-
onRequestTrailers
Deprecated.Description copied from interface:HttpChannel.ListenerInvoked when the request trailers have been parsed.- Specified by:
onRequestTrailersin interfaceHttpChannel.Listener- Parameters:
request- the request object
-
onRequestEnd
Deprecated.Description copied from interface:HttpChannel.ListenerInvoked when the request has been fully parsed.- Specified by:
onRequestEndin interfaceHttpChannel.Listener- Parameters:
request- the request object
-
onRequestFailure
Deprecated.Description copied from interface:HttpChannel.ListenerInvoked when the request processing failed.- Specified by:
onRequestFailurein interfaceHttpChannel.Listener- Parameters:
request- the request objectfailure- the request failure
-
onResponseBegin
Deprecated.Description copied from interface:HttpChannel.ListenerInvoked just before the response line is written to the network.- Specified by:
onResponseBeginin interfaceHttpChannel.Listener- Parameters:
request- the request object
-
onResponseCommit
Deprecated.Description copied from interface:HttpChannel.ListenerInvoked just after the response is committed (that is, the response line, headers and possibly some content have been written to the network).- Specified by:
onResponseCommitin interfaceHttpChannel.Listener- Parameters:
request- the request object
-
onResponseContent
Deprecated.Description copied from interface:HttpChannel.ListenerInvoked after a response content chunk has been written to the network.- Specified by:
onResponseContentin interfaceHttpChannel.Listener- Parameters:
request- the request objectcontent- asliceof the response content chunk
-
onResponseEnd
Deprecated.Description copied from interface:HttpChannel.ListenerInvoked when the response has been fully written.- Specified by:
onResponseEndin interfaceHttpChannel.Listener- Parameters:
request- the request object
-
onResponseFailure
Deprecated.Description copied from interface:HttpChannel.ListenerInvoked when the response processing failed.- Specified by:
onResponseFailurein interfaceHttpChannel.Listener- Parameters:
request- the request objectfailure- the response failure
-
onComplete
Deprecated.Description copied from interface:HttpChannel.ListenerInvoked when the request and response processing are complete.- Specified by:
onCompletein interfaceHttpChannel.Listener- Parameters:
request- the request object
-