Uses of Interface
org.apache.hc.core5.http.nio.AsyncServerExchangeHandler
-
Packages that use AsyncServerExchangeHandler 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.support Support classes for the asynchronous I/O model.org.apache.hc.core5.http.nio.support.classic Support classes for the asynchronous I/O model that emulate behavior of the classic (blocking) I/O model. -
-
Uses of AsyncServerExchangeHandler in org.apache.hc.core5.http.impl.bootstrap
Method parameters in org.apache.hc.core5.http.impl.bootstrap with type arguments of type AsyncServerExchangeHandler Modifier and Type Method Description AsyncServerBootstrapAsyncServerBootstrap. register(java.lang.String hostname, java.lang.String uriPattern, Supplier<AsyncServerExchangeHandler> supplier)Registers the givenAsyncServerExchangeHandlerSupplieras a handler for URIs matching the given host and pattern.AsyncServerBootstrapAsyncServerBootstrap. register(java.lang.String uriPattern, Supplier<AsyncServerExchangeHandler> supplier)Registers the givenAsyncServerExchangeHandlerSupplieras a default handler for URIs matching the given pattern.AsyncServerBootstrapAsyncServerBootstrap. registerVirtual(java.lang.String hostname, java.lang.String uriPattern, Supplier<AsyncServerExchangeHandler> supplier)Deprecated.AsyncServerBootstrapAsyncServerBootstrap. setLookupRegistry(LookupRegistry<Supplier<AsyncServerExchangeHandler>> lookupRegistry)Deprecated.UseRequestRouter.AsyncServerBootstrapAsyncServerBootstrap. setRequestRouter(HttpRequestMapper<Supplier<AsyncServerExchangeHandler>> requestRouter)SetsHttpRequestMapperinstance. -
Uses of AsyncServerExchangeHandler in org.apache.hc.core5.http.impl.nio
Constructor parameters in org.apache.hc.core5.http.impl.nio with type arguments of type AsyncServerExchangeHandler 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 AsyncServerExchangeHandler in org.apache.hc.core5.http.nio.support
Classes in org.apache.hc.core5.http.nio.support that implement AsyncServerExchangeHandler Modifier and Type Class Description classAbstractServerExchangeHandler<T>Abstract server side message exchange handler.classBasicAsyncServerExpectationDecoratorAsyncServerExchangeHandlerimplementation that adds support for the Expect-Continue handshake to an existingAsyncServerExchangeHandler.classBasicServerExchangeHandler<T>BasicAbstractServerExchangeHandlerimplementation that delegates request processing and response generation to aAsyncServerRequestHandler.classImmediateResponseExchangeHandlerAsyncServerExchangeHandlerimplementation that immediately responds with a predefined response generated by aAsyncResponseProducerand ignores any entity content enclosed in the request message.Methods in org.apache.hc.core5.http.nio.support that return AsyncServerExchangeHandler Modifier and Type Method Description AsyncServerExchangeHandlerAsyncServerFilterChainExchangeHandlerFactory. create(HttpRequest request, HttpContext context)AsyncServerExchangeHandlerDefaultAsyncResponseExchangeHandlerFactory. create(HttpRequest request, HttpContext context)Methods in org.apache.hc.core5.http.nio.support that return types with arguments of type AsyncServerExchangeHandler Modifier and Type Method Description Supplier<AsyncServerExchangeHandler>AsyncServerPipeline.CompletionStage. supplier()CreatesSupplierofAsyncServerExchangeHandlerimplementing the defined message exchange pipeline.Constructors in org.apache.hc.core5.http.nio.support with parameters of type AsyncServerExchangeHandler Constructor Description BasicAsyncServerExpectationDecorator(AsyncServerExchangeHandler handler)BasicAsyncServerExpectationDecorator(AsyncServerExchangeHandler handler, Callback<java.lang.Exception> exceptionCallback)Constructor parameters in org.apache.hc.core5.http.nio.support with type arguments of type AsyncServerExchangeHandler Constructor Description DefaultAsyncResponseExchangeHandlerFactory(HttpRequestMapper<Supplier<AsyncServerExchangeHandler>> mapper)DefaultAsyncResponseExchangeHandlerFactory(HttpRequestMapper<Supplier<AsyncServerExchangeHandler>> mapper, Decorator<AsyncServerExchangeHandler> decorator)DefaultAsyncResponseExchangeHandlerFactory(HttpRequestMapper<Supplier<AsyncServerExchangeHandler>> mapper, Decorator<AsyncServerExchangeHandler> decorator)TerminalAsyncServerFilter(HandlerFactory<AsyncServerExchangeHandler> handlerFactory) -
Uses of AsyncServerExchangeHandler in org.apache.hc.core5.http.nio.support.classic
Classes in org.apache.hc.core5.http.nio.support.classic that implement AsyncServerExchangeHandler Modifier and Type Class Description classAbstractClassicServerExchangeHandlerDeprecated.classClassicToAsyncServerExchangeHandlerAsyncServerExchangeHandlerimplementation that acts as a compatibility layer for classicInputStream/OutputStreambased interfaces.
-