public final class DefaultAsyncPushConsumerFactory extends Object implements HandlerFactory<AsyncPushConsumer>
AsyncPushConsumer
instances that make use
of HttpRequestMapper
to dispatch
the request to a particular AsyncPushConsumer
for processing.Constructor and Description |
---|
DefaultAsyncPushConsumerFactory(HttpRequestMapper<Supplier<AsyncPushConsumer>> mapper) |
public DefaultAsyncPushConsumerFactory(HttpRequestMapper<Supplier<AsyncPushConsumer>> mapper)
public AsyncPushConsumer create(HttpRequest request, HttpContext context) throws HttpException
create
in interface HandlerFactory<AsyncPushConsumer>
HttpException
Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.