public final class AsyncServerFilterChainExchangeHandlerFactory extends Object implements HandlerFactory<AsyncServerExchangeHandler>
AsyncServerExchangeHandler
instances that delegate request processing
to a AsyncServerFilterChainElement
.Constructor and Description |
---|
AsyncServerFilterChainExchangeHandlerFactory(AsyncServerFilterChainElement filterChain) |
AsyncServerFilterChainExchangeHandlerFactory(AsyncServerFilterChainElement filterChain,
Callback<Exception> exceptionCallback) |
Modifier and Type | Method and Description |
---|---|
AsyncServerExchangeHandler |
create(HttpRequest request,
HttpContext context)
Creates a new handler instance based on properties of
an incoming request message..
|
public AsyncServerFilterChainExchangeHandlerFactory(AsyncServerFilterChainElement filterChain, Callback<Exception> exceptionCallback)
public AsyncServerFilterChainExchangeHandlerFactory(AsyncServerFilterChainElement filterChain)
public AsyncServerExchangeHandler create(HttpRequest request, HttpContext context) throws HttpException
HandlerFactory
create
in interface HandlerFactory<AsyncServerExchangeHandler>
request
- the incoming request head.context
- the actual execution context.HttpException
- in case of an HTTP protocol violation.Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.