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.| Constructor and Description | 
|---|
| DefaultAsyncResponseExchangeHandlerFactory(HttpRequestMapper<Supplier<AsyncServerExchangeHandler>> mapper) | 
| DefaultAsyncResponseExchangeHandlerFactory(HttpRequestMapper<Supplier<AsyncServerExchangeHandler>> mapper,
                                          Decorator<AsyncServerExchangeHandler> decorator) | 
| 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 DefaultAsyncResponseExchangeHandlerFactory(HttpRequestMapper<Supplier<AsyncServerExchangeHandler>> mapper, Decorator<AsyncServerExchangeHandler> decorator)
public DefaultAsyncResponseExchangeHandlerFactory(HttpRequestMapper<Supplier<AsyncServerExchangeHandler>> mapper)
public AsyncServerExchangeHandler create(HttpRequest request, HttpContext context) throws HttpException
HandlerFactorycreate in interface HandlerFactory<AsyncServerExchangeHandler>request - the incoming reqquest head.context - the actual execution context.HttpExceptionCopyright © 2005–2022 The Apache Software Foundation. All rights reserved.