Package org.apache.hc.core5.http.io
Interface HttpFilterHandler
- All Known Implementing Classes:
AbstractHttpServerAuthFilter,HttpServerExpectationFilter,TerminalServerFilter
HttpFilterHandler represents a routine for handling all incoming requests
in the server side request processing chain.
- Since:
- 5.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(ClassicHttpRequest request, HttpFilterChain.ResponseTrigger responseTrigger, HttpContext context, HttpFilterChain chain) Processes the incoming HTTP request and if processing has been completed submits a final response to the client.
-
Method Details
-
handle
void handle(ClassicHttpRequest request, HttpFilterChain.ResponseTrigger responseTrigger, HttpContext context, HttpFilterChain chain) throws HttpException, IOException Processes the incoming HTTP request and if processing has been completed submits a final response to the client. The handler must not use the response trigger after passing control to the next filter with theHttpFilterChain.proceed(ClassicHttpRequest, HttpFilterChain.ResponseTrigger, HttpContext)method.- Parameters:
request- the actual request.responseTrigger- the response trigger.context- the actual execution context.chain- the next element in the request processing chain.- Throws:
HttpExceptionIOException
-