@Contract(threading=STATELESS) public final class TerminalServerFilter extends Object implements HttpFilterHandler
HttpFilterHandler implementation represents a terminal handler
 in a request processing pipeline that makes use of HttpRequestMapper
 to dispatch the request to a particular HttpRequestHandler.| Constructor and Description | 
|---|
| TerminalServerFilter(HttpRequestMapper<HttpRequestHandler> handlerMapper,
                    HttpResponseFactory<ClassicHttpResponse> responseFactory) | 
| Modifier and Type | Method and 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. | 
public TerminalServerFilter(HttpRequestMapper<HttpRequestHandler> handlerMapper, HttpResponseFactory<ClassicHttpResponse> responseFactory)
public void handle(ClassicHttpRequest request, HttpFilterChain.ResponseTrigger responseTrigger, HttpContext context, HttpFilterChain chain) throws HttpException, IOException
HttpFilterHandlerHttpFilterChain.proceed(ClassicHttpRequest, HttpFilterChain.ResponseTrigger, HttpContext)
 method.handle in interface HttpFilterHandlerrequest - the actual request.responseTrigger - the response trigger.context - the actual execution context.chain - the next element in the request processing chain.HttpException - in case of an HTTP protocol violation.IOException - in case of an I/O error.Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.