Class DefaultAsyncPushConsumerFactory
java.lang.Object
org.apache.hc.core5.http2.nio.support.DefaultAsyncPushConsumerFactory
- All Implemented Interfaces:
HandlerFactory<AsyncPushConsumer>
public final class DefaultAsyncPushConsumerFactory
extends Object
implements HandlerFactory<AsyncPushConsumer>
Factory for
AsyncPushConsumer instances that make use
of HttpRequestMapper to dispatch
the request to a particular AsyncPushConsumer for processing.- Since:
- 5.0
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptioncreate(HttpRequest request, HttpContext context) Creates a new handler instance based on properties of an incoming request message..
-
Field Details
-
mapper
-
-
Constructor Details
-
DefaultAsyncPushConsumerFactory
-
-
Method Details
-
create
Description copied from interface:HandlerFactoryCreates a new handler instance based on properties of an incoming request message..- Specified by:
createin interfaceHandlerFactory<AsyncPushConsumer>- Parameters:
request- the incoming request head.context- the actual execution context.- Returns:
- handler
- Throws:
HttpException
-