Interface Response.HeaderListener
- All Superinterfaces:
EventListener, Response.ResponseListener
- All Known Subinterfaces:
Response.Listener
- All Known Implementing Classes:
AsyncMiddleManServlet.ProxyResponseListener, AsyncMiddleManServlet.ProxyResponseListener, AsyncMiddleManServlet.ProxyResponseListener, BufferingResponseListener, CompletableResponseListener, ContinueProtocolHandler.ContinueListener, FutureResponseListener, InputStreamResponseListener, PathResponseListener, ProxyHandler.ProxyResponseListener, ProxyServlet.ProxyResponseListener, ProxyServlet.ProxyResponseListener, ProxyServlet.ProxyResponseListener, RedirectProtocolHandler
- Enclosing interface:
Response
Listener for a response header event.
-
Method Summary
-
Method Details
-
onHeader
Callback method invoked when a response header has been received and parsed, returning whether the header should be processed or not.- Parameters:
response- the response containing the response line data and the headers so farfield- the header received- Returns:
- true to process the header, false to skip processing of the header
-