Package org.eclipse.jetty.client.api
Interface Response.BeginListener
-
- All Superinterfaces:
java.util.EventListener
,Response.ResponseListener
- All Known Subinterfaces:
Response.Listener
- All Known Implementing Classes:
AsyncMiddleManServlet.ProxyResponseListener
,BufferingResponseListener
,ContinueProtocolHandler.ContinueListener
,FutureResponseListener
,InputStreamResponseListener
,ProxyServlet.ProxyResponseListener
,RedirectProtocolHandler
,Response.Listener.Adapter
- Enclosing interface:
- Response
public static interface Response.BeginListener extends Response.ResponseListener
Listener for the response begin event.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onBegin(Response response)
Callback method invoked when the response line containing HTTP version, HTTP status code and reason has been received and parsed.
-
-
-
Method Detail
-
onBegin
void onBegin(Response response)
Callback method invoked when the response line containing HTTP version, HTTP status code and reason has been received and parsed.This method is the best approximation to detect when the first bytes of the response arrived to the client.
- Parameters:
response
- the response containing the response line data
-
-