Package org.eclipse.jetty.client.api
Interface Response.HeadersListener
- All Superinterfaces:
EventListener,Response.ResponseListener
- All Known Subinterfaces:
Response.Listener
- All Known Implementing Classes:
BufferingResponseListener,FutureResponseListener,InputStreamResponseListener,RedirectProtocolHandler,Response.Listener.Adapter
- Enclosing interface:
Response
@Deprecated(since="2021-05-27")
public static interface Response.HeadersListener
extends Response.ResponseListener
Deprecated.
The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
Listener for the response headers event.
-
Method Summary
-
Method Details
-
onHeaders
Deprecated.Callback method invoked when all the response headers have been received and parsed.- Parameters:
response- the response containing the response line data and the headers
-