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) |
Modifier and Type | Method and Description |
---|---|
AsyncPushConsumer |
create(HttpRequest request,
HttpContext context) |
public DefaultAsyncPushConsumerFactory(HttpRequestMapper<Supplier<AsyncPushConsumer>> mapper)
public AsyncPushConsumer create(HttpRequest request, HttpContext context) throws HttpException
create
in interface HandlerFactory<AsyncPushConsumer>
HttpException
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.