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
Fields in org.apache.hc.core5.http.impl.bootstrap with type parameters of type AsyncServerExchangeHandlerModifier and TypeFieldDescriptionprivate final List
<HandlerEntry<Supplier<AsyncServerExchangeHandler>>> AsyncServerBootstrap.handlerList
private LookupRegistry
<Supplier<AsyncServerExchangeHandler>> AsyncServerBootstrap.lookupRegistry
Method parameters in org.apache.hc.core5.http.impl.bootstrap with type arguments of type AsyncServerExchangeHandlerModifier and TypeMethodDescriptionfinal AsyncServerBootstrap
AsyncServerBootstrap.register
(String uriPattern, Supplier<AsyncServerExchangeHandler> supplier) Registers the givenAsyncServerExchangeHandler
Supplier
as a default handler for URIs matching the given pattern.final AsyncServerBootstrap
AsyncServerBootstrap.registerVirtual
(String hostname, String uriPattern, Supplier<AsyncServerExchangeHandler> supplier) Registers the givenAsyncServerExchangeHandler
Supplier
as a handler for URIs matching the given host and the pattern.final AsyncServerBootstrap
AsyncServerBootstrap.setLookupRegistry
(LookupRegistry<Supplier<AsyncServerExchangeHandler>> lookupRegistry) AssignsLookupRegistry
instance. -
Uses of AsyncServerExchangeHandler in org.apache.hc.core5.http.impl.nio
Fields in org.apache.hc.core5.http.impl.nio declared as AsyncServerExchangeHandlerModifier and TypeFieldDescriptionprivate AsyncServerExchangeHandler
ServerHttp1StreamHandler.exchangeHandler
Fields in org.apache.hc.core5.http.impl.nio with type parameters of type AsyncServerExchangeHandlerModifier and TypeFieldDescriptionprivate final HandlerFactory
<AsyncServerExchangeHandler> ServerHttp1StreamDuplexer.exchangeHandlerFactory
private final HandlerFactory
<AsyncServerExchangeHandler> ServerHttp1StreamDuplexerFactory.exchangeHandlerFactory
private final HandlerFactory
<AsyncServerExchangeHandler> ServerHttp1StreamHandler.exchangeHandlerFactory
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) (package private)
ServerHttp1StreamHandler
(Http1StreamChannel<HttpResponse> outputChannel, HttpProcessor httpProcessor, ConnectionReuseStrategy connectionReuseStrategy, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, HttpCoreContext context) -
Uses of AsyncServerExchangeHandler in org.apache.hc.core5.http.nio.support
Classes in org.apache.hc.core5.http.nio.support that implement AsyncServerExchangeHandlerModifier and TypeClassDescriptionclass
Abstract server side message exchange handler.class
AsyncServerExchangeHandler
implementation that adds support for the Expect-Continue handshake to an existingAsyncServerExchangeHandler
.class
BasicAbstractServerExchangeHandler
implementation that delegates request processing and response generation to aAsyncServerRequestHandler
.final class
AsyncServerExchangeHandler
implementation that immediately responds with a predefined response generated by aAsyncResponseProducer
and ignores any entity content enclosed in the request message.Fields in org.apache.hc.core5.http.nio.support declared as AsyncServerExchangeHandlerModifier and TypeFieldDescriptionprivate final AsyncServerExchangeHandler
BasicAsyncServerExpectationDecorator.handler
Fields in org.apache.hc.core5.http.nio.support with type parameters of type AsyncServerExchangeHandlerModifier and TypeFieldDescriptionprivate final Decorator
<AsyncServerExchangeHandler> DefaultAsyncResponseExchangeHandlerFactory.decorator
private final HandlerFactory
<AsyncServerExchangeHandler> TerminalAsyncServerFilter.handlerFactory
private final HttpRequestMapper
<Supplier<AsyncServerExchangeHandler>> DefaultAsyncResponseExchangeHandlerFactory.mapper
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) private AsyncServerExchangeHandler
DefaultAsyncResponseExchangeHandlerFactory.createHandler
(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 TypeClassDescriptionclass
AsyncServerExchangeHandler
implementation that acts as a compatibility layer for classicInputStream
/OutputStream
based interfaces. -
Uses of AsyncServerExchangeHandler in org.apache.hc.core5.http2.impl.nio
Fields in org.apache.hc.core5.http2.impl.nio declared as AsyncServerExchangeHandlerModifier and TypeFieldDescriptionprivate AsyncServerExchangeHandler
ServerH2StreamHandler.exchangeHandler
Fields in org.apache.hc.core5.http2.impl.nio with type parameters of type AsyncServerExchangeHandlerModifier and TypeFieldDescriptionprivate final HandlerFactory
<AsyncServerExchangeHandler> ServerH2StreamHandler.exchangeHandlerFactory
private final HandlerFactory
<AsyncServerExchangeHandler> ServerH2StreamMultiplexer.exchangeHandlerFactory
private final HandlerFactory
<AsyncServerExchangeHandler> ServerH2StreamMultiplexerFactory.exchangeHandlerFactory
Constructor parameters in org.apache.hc.core5.http2.impl.nio with type arguments of type AsyncServerExchangeHandlerModifierConstructorDescription(package private)
ServerH2StreamHandler
(H2StreamChannel outputChannel, HttpProcessor httpProcessor, BasicHttpConnectionMetrics connMetrics, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, HttpCoreContext context) ServerH2StreamMultiplexer
(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
Fields in org.apache.hc.core5.http2.impl.nio.bootstrap with type parameters of type AsyncServerExchangeHandlerModifier and TypeFieldDescriptionprivate final List
<HandlerEntry<Supplier<AsyncServerExchangeHandler>>> H2ServerBootstrap.handlerList
private LookupRegistry
<Supplier<AsyncServerExchangeHandler>> H2ServerBootstrap.lookupRegistry
Method parameters in org.apache.hc.core5.http2.impl.nio.bootstrap with type arguments of type AsyncServerExchangeHandlerModifier and TypeMethodDescriptionfinal H2ServerBootstrap
H2ServerBootstrap.register
(String uriPattern, Supplier<AsyncServerExchangeHandler> supplier) Registers the givenAsyncServerExchangeHandler
Supplier
as a default handler for URIs matching the given pattern.final H2ServerBootstrap
H2ServerBootstrap.registerVirtual
(String hostname, String uriPattern, Supplier<AsyncServerExchangeHandler> supplier) Registers the givenAsyncServerExchangeHandler
Supplier
as a handler for URIs matching the given host and the pattern.final H2ServerBootstrap
H2ServerBootstrap.setLookupRegistry
(LookupRegistry<Supplier<AsyncServerExchangeHandler>> lookupRegistry) AssignsLookupRegistry
instance. -
Uses of AsyncServerExchangeHandler in org.apache.hc.core5.reactive
Classes in org.apache.hc.core5.reactive that implement AsyncServerExchangeHandlerModifier and TypeClassDescriptionfinal class
An implementation ofAsyncServerExchangeHandler
designed 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 AsyncServerExchangeHandlerModifier and TypeFieldDescriptionprivate final HandlerFactory
<AsyncServerExchangeHandler> InternalServerHttp1EventHandlerFactory.exchangeHandlerFactory
private final HandlerFactory
<AsyncServerExchangeHandler> InternalServerProtocolNegotiationStarter.exchangeHandlerFactory
private final RequestHandlerRegistry
<Supplier<AsyncServerExchangeHandler>> H2TestServer.registry
private final RequestHandlerRegistry
<Supplier<AsyncServerExchangeHandler>> Http1TestServer.registry
Method parameters in org.apache.hc.core5.testing.nio with type arguments of type AsyncServerExchangeHandlerModifier and TypeMethodDescriptionprotected ServerHttp1StreamDuplexer
InternalServerHttp1EventHandlerFactory.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) void
H2TestServer.register
(String uriPattern, Supplier<AsyncServerExchangeHandler> supplier) void
Http1TestServer.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) Constructor parameters in org.apache.hc.core5.testing.nio with type arguments of type AsyncServerExchangeHandlerModifierConstructorDescription(package private)
InternalServerHttp1EventHandlerFactory
(HttpProcessor httpProcessor, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, Http1Config http1Config, CharCodingConfig charCodingConfig, ConnectionReuseStrategy connectionReuseStrategy, SSLContext sslContext, SSLSessionInitializer sslSessionInitializer, SSLSessionVerifier sslSessionVerifier) InternalServerProtocolNegotiationStarter
(HttpProcessor httpProcessor, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, HttpVersionPolicy versionPolicy, H2Config h2Config, Http1Config http1Config, CharCodingConfig charCodingConfig, SSLContext sslContext, SSLSessionInitializer sslSessionInitializer, SSLSessionVerifier sslSessionVerifier)