Class HttpServerFilterChainRequestHandler
- java.lang.Object
-
- org.apache.hc.core5.http.io.support.HttpServerFilterChainRequestHandler
-
- All Implemented Interfaces:
HttpServerRequestHandler
public class HttpServerFilterChainRequestHandler extends java.lang.Object implements HttpServerRequestHandler
HttpServerRequestHandler
implementation that delegates request processing to aHttpServerFilterChainElement
.- Since:
- 5.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.hc.core5.http.io.HttpServerRequestHandler
HttpServerRequestHandler.ResponseTrigger
-
-
Field Summary
Fields Modifier and Type Field Description private HttpServerFilterChainElement
filterChain
-
Constructor Summary
Constructors Constructor Description HttpServerFilterChainRequestHandler(HttpServerFilterChainElement filterChain)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handle(ClassicHttpRequest request, HttpServerRequestHandler.ResponseTrigger trigger, HttpContext context)
Handles the request and submits a final response to be sent back to the client.
-
-
-
Field Detail
-
filterChain
private final HttpServerFilterChainElement filterChain
-
-
Constructor Detail
-
HttpServerFilterChainRequestHandler
public HttpServerFilterChainRequestHandler(HttpServerFilterChainElement filterChain)
-
-
Method Detail
-
handle
public void handle(ClassicHttpRequest request, HttpServerRequestHandler.ResponseTrigger trigger, HttpContext context) throws HttpException, java.io.IOException
Description copied from interface:HttpServerRequestHandler
Handles the request and submits a final response to be sent back to the client.- Specified by:
handle
in interfaceHttpServerRequestHandler
- Parameters:
request
- the actual request.trigger
- the response trigger.context
- the actual execution context.- Throws:
HttpException
java.io.IOException
-
-