Uses of Interface
org.apache.hc.core5.http.nio.HandlerFactory
-
Packages that use HandlerFactory Package Description org.apache.hc.core5.http.impl.bootstrap HTTP/1.1 requester and server bootstrap.org.apache.hc.core5.http.impl.nio Default implementation of HTTP/1.1 transport based on the asynchronous (non-blocking) I/O model.org.apache.hc.core5.http.nio Core HTTP transport APIs based on the asynchronous, event driven I/O model.org.apache.hc.core5.http.nio.command Commands for HTTP transports based on asynchronous, event driven I/O model.org.apache.hc.core5.http.nio.support Support classes for the asynchronous I/O model. -
-
Uses of HandlerFactory in org.apache.hc.core5.http.impl.bootstrap
Methods in org.apache.hc.core5.http.impl.bootstrap with parameters of type HandlerFactory Modifier and Type Method Description voidHttpAsyncRequester. execute(HttpHost target, AsyncClientExchangeHandler exchangeHandler, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, Timeout timeout, HttpContext executeContext)<T> java.util.concurrent.Future<T>HttpAsyncRequester. execute(HttpHost target, AsyncRequestProducer requestProducer, AsyncResponseConsumer<T> responseConsumer, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, Timeout timeout, HttpContext context, FutureCallback<T> callback)voidHttpAsyncRequester. execute(AsyncClientExchangeHandler exchangeHandler, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, Timeout timeout, HttpContext executeContext)<T> java.util.concurrent.Future<T>HttpAsyncRequester. execute(AsyncRequestProducer requestProducer, AsyncResponseConsumer<T> responseConsumer, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, Timeout timeout, HttpContext context, FutureCallback<T> callback) -
Uses of HandlerFactory in org.apache.hc.core5.http.impl.nio
Constructors in org.apache.hc.core5.http.impl.nio with parameters of type HandlerFactory Constructor Description ServerHttp1StreamDuplexer(ProtocolIOSession ioSession, HttpProcessor httpProcessor, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, java.lang.String scheme, Http1Config http1Config, CharCodingConfig charCodingConfig, ConnectionReuseStrategy connectionReuseStrategy, NHttpMessageParser<HttpRequest> incomingMessageParser, NHttpMessageWriter<HttpResponse> outgoingMessageWriter, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, Http1StreamListener streamListener, Callback<java.lang.Exception> exceptionCallback)ServerHttp1StreamDuplexerFactory(HttpProcessor httpProcessor, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, Http1Config http1Config, CharCodingConfig charCodingConfig, ConnectionReuseStrategy connectionReuseStrategy, NHttpMessageParserFactory<HttpRequest> requestParserFactory, NHttpMessageWriterFactory<HttpResponse> responseWriterFactory, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, Http1StreamListener streamListener, Callback<java.lang.Exception> exceptionCallback)ServerHttp1StreamDuplexerFactory(HttpProcessor httpProcessor, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, Http1Config http1Config, CharCodingConfig charCodingConfig, ConnectionReuseStrategy connectionReuseStrategy, NHttpMessageParserFactory<HttpRequest> requestParserFactory, NHttpMessageWriterFactory<HttpResponse> responseWriterFactory, Http1StreamListener streamListener, Callback<java.lang.Exception> exceptionCallback)ServerHttp1StreamDuplexerFactory(HttpProcessor httpProcessor, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, Http1Config http1Config, CharCodingConfig charCodingConfig, Http1StreamListener streamListener, Callback<java.lang.Exception> exceptionCallback) -
Uses of HandlerFactory in org.apache.hc.core5.http.nio
Methods in org.apache.hc.core5.http.nio with parameters of type HandlerFactory Modifier and Type Method Description abstract voidAsyncClientEndpoint. execute(AsyncClientExchangeHandler exchangeHandler, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, HttpContext context)Initiates a message exchange using the given handler.<T> java.util.concurrent.Future<T>AsyncClientEndpoint. execute(AsyncRequestProducer requestProducer, AsyncResponseConsumer<T> responseConsumer, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, HttpContext context, FutureCallback<T> callback)Initiates message exchange using the given request producer and response consumer. -
Uses of HandlerFactory in org.apache.hc.core5.http.nio.command
Methods in org.apache.hc.core5.http.nio.command that return HandlerFactory Modifier and Type Method Description HandlerFactory<AsyncPushConsumer>RequestExecutionCommand. getPushHandlerFactory()Constructors in org.apache.hc.core5.http.nio.command with parameters of type HandlerFactory Constructor Description RequestExecutionCommand(AsyncClientExchangeHandler exchangeHandler, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, CancellableDependency cancellableDependency, HttpContext context)Deprecated.Not used.RequestExecutionCommand(AsyncClientExchangeHandler exchangeHandler, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, HttpContext context)RequestExecutionCommand(AsyncClientExchangeHandler exchangeHandler, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, HttpContext context, Callback<StreamControl> initiationCallback) -
Uses of HandlerFactory in org.apache.hc.core5.http.nio.support
Classes in org.apache.hc.core5.http.nio.support that implement HandlerFactory Modifier and Type Class Description classAsyncServerFilterChainExchangeHandlerFactoryFactory forAsyncServerExchangeHandlerinstances that delegate request processing to aAsyncServerFilterChainElement.classDefaultAsyncResponseExchangeHandlerFactoryFactory forAsyncServerExchangeHandlerinstances that make use ofHttpRequestMapperto dispatch the request to a particularAsyncServerExchangeHandlerfor processing.Constructors in org.apache.hc.core5.http.nio.support with parameters of type HandlerFactory Constructor Description TerminalAsyncServerFilter(HandlerFactory<AsyncServerExchangeHandler> handlerFactory)
-