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.org.apache.hc.core5.http2.impl.nio Default implementation of HTTP/2 transport based on the asynchronous (non-blocking) I/O model.org.apache.hc.core5.http2.impl.nio.bootstrap HTTP/2 capable requester and server bootstrap.org.apache.hc.core5.reactive org.apache.hc.core5.testing.nio -
-
Uses of AsyncServerExchangeHandler in org.apache.hc.core5.http.impl.bootstrap
Fields in org.apache.hc.core5.http.impl.bootstrap with type parameters of type AsyncServerExchangeHandler Modifier and Type Field Description private java.util.List<HandlerEntry<Supplier<AsyncServerExchangeHandler>>>AsyncServerBootstrap. handlerListprivate LookupRegistry<Supplier<AsyncServerExchangeHandler>>AsyncServerBootstrap. lookupRegistryMethod 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 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)Registers the givenAsyncServerExchangeHandlerSupplieras a handler for URIs matching the given host and the pattern.AsyncServerBootstrapAsyncServerBootstrap. setLookupRegistry(LookupRegistry<Supplier<AsyncServerExchangeHandler>> lookupRegistry)AssignsLookupRegistryinstance. -
Uses of AsyncServerExchangeHandler in org.apache.hc.core5.http.impl.nio
Fields in org.apache.hc.core5.http.impl.nio declared as AsyncServerExchangeHandler Modifier and Type Field Description private AsyncServerExchangeHandlerServerHttp1StreamHandler. exchangeHandlerFields in org.apache.hc.core5.http.impl.nio with type parameters of type AsyncServerExchangeHandler Modifier and Type Field Description private HandlerFactory<AsyncServerExchangeHandler>ServerHttp1StreamDuplexer. exchangeHandlerFactoryprivate HandlerFactory<AsyncServerExchangeHandler>ServerHttp1StreamDuplexerFactory. exchangeHandlerFactoryprivate HandlerFactory<AsyncServerExchangeHandler>ServerHttp1StreamHandler. exchangeHandlerFactory -
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.Fields in org.apache.hc.core5.http.nio.support declared as AsyncServerExchangeHandler Modifier and Type Field Description private AsyncServerExchangeHandlerBasicAsyncServerExpectationDecorator. handlerFields in org.apache.hc.core5.http.nio.support with type parameters of type AsyncServerExchangeHandler Modifier and Type Field Description private Decorator<AsyncServerExchangeHandler>DefaultAsyncResponseExchangeHandlerFactory. decoratorprivate HandlerFactory<AsyncServerExchangeHandler>TerminalAsyncServerFilter. handlerFactoryprivate HttpRequestMapper<Supplier<AsyncServerExchangeHandler>>DefaultAsyncResponseExchangeHandlerFactory. mapperMethods 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)private AsyncServerExchangeHandlerDefaultAsyncResponseExchangeHandlerFactory. createHandler(HttpRequest request, HttpContext context)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 classAbstractClassicServerExchangeHandlerAsyncServerExchangeHandlerimplementation that acts as a compatibility layer for classicInputStream/OutputStreambased interfaces. -
Uses of AsyncServerExchangeHandler in org.apache.hc.core5.http2.impl.nio
Fields in org.apache.hc.core5.http2.impl.nio declared as AsyncServerExchangeHandler Modifier and Type Field Description private AsyncServerExchangeHandlerServerH2StreamHandler. exchangeHandlerFields in org.apache.hc.core5.http2.impl.nio with type parameters of type AsyncServerExchangeHandler Modifier and Type Field Description private HandlerFactory<AsyncServerExchangeHandler>ServerH2StreamHandler. exchangeHandlerFactoryprivate HandlerFactory<AsyncServerExchangeHandler>ServerH2StreamMultiplexer. exchangeHandlerFactoryprivate HandlerFactory<AsyncServerExchangeHandler>ServerH2StreamMultiplexerFactory. exchangeHandlerFactory -
Uses of AsyncServerExchangeHandler in org.apache.hc.core5.http2.impl.nio.bootstrap
Fields in org.apache.hc.core5.http2.impl.nio.bootstrap with type parameters of type AsyncServerExchangeHandler Modifier and Type Field Description private java.util.List<HandlerEntry<Supplier<AsyncServerExchangeHandler>>>H2ServerBootstrap. handlerListprivate LookupRegistry<Supplier<AsyncServerExchangeHandler>>H2ServerBootstrap. lookupRegistryMethod parameters in org.apache.hc.core5.http2.impl.nio.bootstrap with type arguments of type AsyncServerExchangeHandler Modifier and Type Method Description H2ServerBootstrapH2ServerBootstrap. register(java.lang.String uriPattern, Supplier<AsyncServerExchangeHandler> supplier)Registers the givenAsyncServerExchangeHandlerSupplieras a default handler for URIs matching the given pattern.H2ServerBootstrapH2ServerBootstrap. registerVirtual(java.lang.String hostname, java.lang.String uriPattern, Supplier<AsyncServerExchangeHandler> supplier)Registers the givenAsyncServerExchangeHandlerSupplieras a handler for URIs matching the given host and the pattern.H2ServerBootstrapH2ServerBootstrap. setLookupRegistry(LookupRegistry<Supplier<AsyncServerExchangeHandler>> lookupRegistry)AssignsLookupRegistryinstance. -
Uses of AsyncServerExchangeHandler in org.apache.hc.core5.reactive
Classes in org.apache.hc.core5.reactive that implement AsyncServerExchangeHandler Modifier and Type Class Description classReactiveServerExchangeHandlerAn implementation ofAsyncServerExchangeHandlerdesigned to work with reactive streams. -
Uses of AsyncServerExchangeHandler in org.apache.hc.core5.testing.nio
Fields in org.apache.hc.core5.testing.nio with type parameters of type AsyncServerExchangeHandler Modifier and Type Field Description private HandlerFactory<AsyncServerExchangeHandler>InternalServerHttp1EventHandlerFactory. exchangeHandlerFactoryprivate HandlerFactory<AsyncServerExchangeHandler>InternalServerProtocolNegotiationStarter. exchangeHandlerFactoryprivate RequestHandlerRegistry<Supplier<AsyncServerExchangeHandler>>H2TestServer. registryprivate RequestHandlerRegistry<Supplier<AsyncServerExchangeHandler>>Http1TestServer. registryMethod parameters in org.apache.hc.core5.testing.nio with type arguments of type AsyncServerExchangeHandler Modifier and Type Method Description protected ServerHttp1StreamDuplexerInternalServerHttp1EventHandlerFactory. createServerHttp1StreamDuplexer(ProtocolIOSession ioSession, HttpProcessor httpProcessor, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, Http1Config http1Config, CharCodingConfig charCodingConfig, ConnectionReuseStrategy connectionReuseStrategy, NHttpMessageParser<HttpRequest> incomingMessageParser, NHttpMessageWriter<HttpResponse> outgoingMessageWriter, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, Http1StreamListener streamListener)voidH2TestServer. register(java.lang.String uriPattern, Supplier<AsyncServerExchangeHandler> supplier)voidHttp1TestServer. register(java.lang.String uriPattern, Supplier<AsyncServerExchangeHandler> supplier)java.net.InetSocketAddressH2TestServer. start(HttpProcessor httpProcessor, Decorator<AsyncServerExchangeHandler> exchangeHandlerDecorator, Http1Config http1Config)java.net.InetSocketAddressH2TestServer. start(HttpProcessor httpProcessor, Decorator<AsyncServerExchangeHandler> exchangeHandlerDecorator, H2Config h2Config)java.net.InetSocketAddressHttp1TestServer. start(HttpProcessor httpProcessor, Decorator<AsyncServerExchangeHandler> exchangeHandlerDecorator, Http1Config http1Config)Constructor parameters in org.apache.hc.core5.testing.nio with type arguments of type AsyncServerExchangeHandler Constructor Description InternalServerHttp1EventHandlerFactory(HttpProcessor httpProcessor, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, Http1Config http1Config, CharCodingConfig charCodingConfig, ConnectionReuseStrategy connectionReuseStrategy, javax.net.ssl.SSLContext sslContext, SSLSessionInitializer sslSessionInitializer, SSLSessionVerifier sslSessionVerifier)InternalServerProtocolNegotiationStarter(HttpProcessor httpProcessor, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, HttpVersionPolicy versionPolicy, H2Config h2Config, Http1Config http1Config, CharCodingConfig charCodingConfig, javax.net.ssl.SSLContext sslContext, SSLSessionInitializer sslSessionInitializer, SSLSessionVerifier sslSessionVerifier)
-