public final class AsyncServerFilterChainExchangeHandlerFactory extends Object implements HandlerFactory<AsyncServerExchangeHandler>
AsyncServerExchangeHandler instances that delegate request processing
to a AsyncServerFilterChainElement.| 构造器和说明 |
|---|
AsyncServerFilterChainExchangeHandlerFactory(AsyncServerFilterChainElement filterChain) |
AsyncServerFilterChainExchangeHandlerFactory(AsyncServerFilterChainElement filterChain,
Callback<Exception> exceptionCallback) |
| 限定符和类型 | 方法和说明 |
|---|---|
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
HandlerFactorycreate 在接口中 HandlerFactory<AsyncServerExchangeHandler>request - the incoming request head.context - the actual execution context.HttpExceptionCopyright © 2023. All rights reserved.