public final class DefaultAsyncResponseExchangeHandlerFactory extends Object implements HandlerFactory<AsyncServerExchangeHandler>
AsyncServerExchangeHandler instances that make use
of HttpRequestMapper to dispatch
the request to a particular AsyncServerExchangeHandler for processing.| 限定符和类型 | 方法和说明 |
|---|---|
AsyncServerExchangeHandler |
create(HttpRequest request,
HttpContext context)
Creates a new handler instance based on properties of
an incoming request message..
|
public DefaultAsyncResponseExchangeHandlerFactory(HttpRequestMapper<Supplier<AsyncServerExchangeHandler>> mapper, Decorator<AsyncServerExchangeHandler> decorator)
public DefaultAsyncResponseExchangeHandlerFactory(HttpRequestMapper<Supplier<AsyncServerExchangeHandler>> mapper)
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.