Uses of Interface
org.apache.hc.core5.http.nio.AsyncServerExchangeHandler
Packages that use AsyncServerExchangeHandler
Package
Description
HTTP/1.1 requester and server bootstrap.
Default implementation of HTTP/1.1 transport based on
the asynchronous (non-blocking) I/O model.
Support classes for the asynchronous I/O model.
Support classes for the asynchronous I/O model that emulate
behavior of the classic (blocking) I/O model.
Default implementation of HTTP/2 transport based on
the asynchronous (non-blocking) I/O model.
HTTP/2 capable requester and server bootstrap.
-
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 AsyncServerExchangeHandlerModifier and TypeMethodDescriptionfinal AsyncServerBootstrapAsyncServerBootstrap.register(String uriPattern, Supplier<AsyncServerExchangeHandler> supplier) Registers the givenAsyncServerExchangeHandlerSupplieras a default handler for URIs matching the given pattern.final AsyncServerBootstrapAsyncServerBootstrap.registerVirtual(String hostname, String uriPattern, Supplier<AsyncServerExchangeHandler> supplier) Registers the givenAsyncServerExchangeHandlerSupplieras a handler for URIs matching the given host and the pattern.final AsyncServerBootstrapAsyncServerBootstrap.setLookupRegistry(LookupRegistry<Supplier<AsyncServerExchangeHandler>> lookupRegistry) AssignsLookupRegistryinstance. -
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 AsyncServerExchangeHandlerModifierConstructorDescriptionServerHttp1StreamDuplexer(ProtocolIOSession ioSession, HttpProcessor httpProcessor, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, String scheme, Http1Config http1Config, CharCodingConfig charCodingConfig, ConnectionReuseStrategy connectionReuseStrategy, NHttpMessageParser<HttpRequest> incomingMessageParser, NHttpMessageWriter<HttpResponse> outgoingMessageWriter, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, Http1StreamListener streamListener) ServerHttp1StreamDuplexerFactory(HttpProcessor httpProcessor, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, Http1Config http1Config, CharCodingConfig charCodingConfig, ConnectionReuseStrategy connectionReuseStrategy, NHttpMessageParserFactory<HttpRequest> requestParserFactory, NHttpMessageWriterFactory<HttpResponse> responseWriterFactory, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, Http1StreamListener streamListener) ServerHttp1StreamDuplexerFactory(HttpProcessor httpProcessor, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, Http1Config http1Config, CharCodingConfig charCodingConfig, ConnectionReuseStrategy connectionReuseStrategy, NHttpMessageParserFactory<HttpRequest> requestParserFactory, NHttpMessageWriterFactory<HttpResponse> responseWriterFactory, Http1StreamListener streamListener) ServerHttp1StreamDuplexerFactory(HttpProcessor httpProcessor, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, Http1Config http1Config, CharCodingConfig charCodingConfig, Http1StreamListener streamListener) -
Uses of AsyncServerExchangeHandler in org.apache.hc.core5.http.nio.support
Classes in org.apache.hc.core5.http.nio.support that implement AsyncServerExchangeHandlerModifier and TypeClassDescriptionclassAbstract server side message exchange handler.classAsyncServerExchangeHandlerimplementation that adds support for the Expect-Continue handshake to an existingAsyncServerExchangeHandler.classBasicAbstractServerExchangeHandlerimplementation that delegates request processing and response generation to aAsyncServerRequestHandler.final classAsyncServerExchangeHandlerimplementation that immediately responds with a predefined response generated by aAsyncResponseProducerand ignores any entity content enclosed in the request message.Classes in org.apache.hc.core5.http.nio.support that implement interfaces with type arguments of type AsyncServerExchangeHandlerModifier and TypeClassDescriptionfinal classFactory forAsyncServerExchangeHandlerinstances that delegate request processing to aAsyncServerFilterChainElement.final classFactory forAsyncServerExchangeHandlerinstances that make use ofHttpRequestMapperto dispatch the request to a particularAsyncServerExchangeHandlerfor processing.Methods in org.apache.hc.core5.http.nio.support that return AsyncServerExchangeHandlerModifier and TypeMethodDescriptionAsyncServerFilterChainExchangeHandlerFactory.create(HttpRequest request, HttpContext context) DefaultAsyncResponseExchangeHandlerFactory.create(HttpRequest request, HttpContext context) Constructors in org.apache.hc.core5.http.nio.support with parameters of type AsyncServerExchangeHandlerModifierConstructorDescriptionBasicAsyncServerExpectationDecorator(AsyncServerExchangeHandler handler, Callback<Exception> exceptionCallback) Constructor parameters in org.apache.hc.core5.http.nio.support with type arguments of type AsyncServerExchangeHandlerModifierConstructorDescriptionDefaultAsyncResponseExchangeHandlerFactory(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 AsyncServerExchangeHandlerModifier and TypeClassDescriptionclassAsyncServerExchangeHandlerimplementation that acts as a compatibility layer for classicInputStream/OutputStreambased interfaces. -
Uses of AsyncServerExchangeHandler in org.apache.hc.core5.http2.impl.nio
Constructor parameters in org.apache.hc.core5.http2.impl.nio with type arguments of type AsyncServerExchangeHandlerModifierConstructorDescriptionServerH2StreamMultiplexer(ProtocolIOSession ioSession, HttpProcessor httpProcessor, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, CharCodingConfig charCodingConfig, H2Config h2Config) ServerH2StreamMultiplexer(ProtocolIOSession ioSession, FrameFactory frameFactory, HttpProcessor httpProcessor, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, CharCodingConfig charCodingConfig, H2Config h2Config, H2StreamListener streamListener) ServerH2StreamMultiplexerFactory(HttpProcessor httpProcessor, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, H2Config h2Config, CharCodingConfig charCodingConfig, H2StreamListener streamListener) -
Uses of AsyncServerExchangeHandler in org.apache.hc.core5.http2.impl.nio.bootstrap
Method parameters in org.apache.hc.core5.http2.impl.nio.bootstrap with type arguments of type AsyncServerExchangeHandlerModifier and TypeMethodDescriptionfinal H2ServerBootstrapH2ServerBootstrap.register(String uriPattern, Supplier<AsyncServerExchangeHandler> supplier) Registers the givenAsyncServerExchangeHandlerSupplieras a default handler for URIs matching the given pattern.final H2ServerBootstrapH2ServerBootstrap.registerVirtual(String hostname, String uriPattern, Supplier<AsyncServerExchangeHandler> supplier) Registers the givenAsyncServerExchangeHandlerSupplieras a handler for URIs matching the given host and the pattern.final 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 AsyncServerExchangeHandlerModifier and TypeClassDescriptionfinal classAn implementation ofAsyncServerExchangeHandlerdesigned to work with reactive streams. -
Uses of AsyncServerExchangeHandler in org.apache.hc.core5.testing.nio
Method parameters in org.apache.hc.core5.testing.nio with type arguments of type AsyncServerExchangeHandlerModifier and TypeMethodDescriptionvoidH2TestServer.register(String uriPattern, Supplier<AsyncServerExchangeHandler> supplier) voidHttp1TestServer.register(String uriPattern, Supplier<AsyncServerExchangeHandler> supplier) H2TestServer.start(HttpProcessor httpProcessor, Decorator<AsyncServerExchangeHandler> exchangeHandlerDecorator, Http1Config http1Config) H2TestServer.start(HttpProcessor httpProcessor, Decorator<AsyncServerExchangeHandler> exchangeHandlerDecorator, H2Config h2Config) Http1TestServer.start(HttpProcessor httpProcessor, Decorator<AsyncServerExchangeHandler> exchangeHandlerDecorator, Http1Config http1Config)