Package org.apache.hc.core5.http.io
Interface HttpFilterHandler
-
- All Known Implementing Classes:
AbstractHttpServerAuthFilter
,HttpServerExpectationFilter
,TerminalServerFilter
@Contract(threading=STATELESS) public interface HttpFilterHandler
HttpFilterHandler represents a routine for handling all incoming requests in the server side request processing chain.- Since:
- 5.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handle(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 Detail
-
handle
void handle(ClassicHttpRequest request, HttpFilterChain.ResponseTrigger responseTrigger, HttpContext context, HttpFilterChain chain) throws HttpException, java.io.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:
HttpException
java.io.IOException
-
-