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. handlerList
private LookupRegistry<Supplier<AsyncServerExchangeHandler>>
AsyncServerBootstrap. lookupRegistry
Method parameters in org.apache.hc.core5.http.impl.bootstrap with type arguments of type AsyncServerExchangeHandler Modifier and Type Method Description AsyncServerBootstrap
AsyncServerBootstrap. register(java.lang.String uriPattern, Supplier<AsyncServerExchangeHandler> supplier)
Registers the givenAsyncServerExchangeHandler
Supplier
as a default handler for URIs matching the given pattern.AsyncServerBootstrap
AsyncServerBootstrap. registerVirtual(java.lang.String hostname, java.lang.String uriPattern, Supplier<AsyncServerExchangeHandler> supplier)
Registers the givenAsyncServerExchangeHandler
Supplier
as a handler for URIs matching the given host and the pattern.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 AsyncServerExchangeHandler Modifier and Type Field Description private AsyncServerExchangeHandler
ServerHttp1StreamHandler. exchangeHandler
Fields in org.apache.hc.core5.http.impl.nio with type parameters of type AsyncServerExchangeHandler Modifier and Type Field Description private HandlerFactory<AsyncServerExchangeHandler>
ServerHttp1StreamDuplexer. exchangeHandlerFactory
private HandlerFactory<AsyncServerExchangeHandler>
ServerHttp1StreamDuplexerFactory. exchangeHandlerFactory
private 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 class
AbstractServerExchangeHandler<T>
Abstract server side message exchange handler.class
BasicAsyncServerExpectationDecorator
AsyncServerExchangeHandler
implementation that adds support for the Expect-Continue handshake to an existingAsyncServerExchangeHandler
.class
BasicServerExchangeHandler<T>
BasicAbstractServerExchangeHandler
implementation that delegates request processing and response generation to aAsyncServerRequestHandler
.class
ImmediateResponseExchangeHandler
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 AsyncServerExchangeHandler Modifier and Type Field Description private AsyncServerExchangeHandler
BasicAsyncServerExpectationDecorator. handler
Fields in org.apache.hc.core5.http.nio.support with type parameters of type AsyncServerExchangeHandler Modifier and Type Field Description private Decorator<AsyncServerExchangeHandler>
DefaultAsyncResponseExchangeHandlerFactory. decorator
private HandlerFactory<AsyncServerExchangeHandler>
TerminalAsyncServerFilter. handlerFactory
private HttpRequestMapper<Supplier<AsyncServerExchangeHandler>>
DefaultAsyncResponseExchangeHandlerFactory. mapper
Methods in org.apache.hc.core5.http.nio.support that return AsyncServerExchangeHandler Modifier and Type Method Description AsyncServerExchangeHandler
AsyncServerFilterChainExchangeHandlerFactory. create(HttpRequest request, HttpContext context)
AsyncServerExchangeHandler
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 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 class
AbstractClassicServerExchangeHandler
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 AsyncServerExchangeHandler Modifier and Type Field Description private AsyncServerExchangeHandler
ServerH2StreamHandler. exchangeHandler
Fields in org.apache.hc.core5.http2.impl.nio with type parameters of type AsyncServerExchangeHandler Modifier and Type Field Description private HandlerFactory<AsyncServerExchangeHandler>
ServerH2StreamHandler. exchangeHandlerFactory
private HandlerFactory<AsyncServerExchangeHandler>
ServerH2StreamMultiplexer. exchangeHandlerFactory
private 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. handlerList
private LookupRegistry<Supplier<AsyncServerExchangeHandler>>
H2ServerBootstrap. lookupRegistry
Method parameters in org.apache.hc.core5.http2.impl.nio.bootstrap with type arguments of type AsyncServerExchangeHandler Modifier and Type Method Description H2ServerBootstrap
H2ServerBootstrap. register(java.lang.String uriPattern, Supplier<AsyncServerExchangeHandler> supplier)
Registers the givenAsyncServerExchangeHandler
Supplier
as a default handler for URIs matching the given pattern.H2ServerBootstrap
H2ServerBootstrap. registerVirtual(java.lang.String hostname, java.lang.String uriPattern, Supplier<AsyncServerExchangeHandler> supplier)
Registers the givenAsyncServerExchangeHandler
Supplier
as a handler for URIs matching the given host and the pattern.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 AsyncServerExchangeHandler Modifier and Type Class Description class
ReactiveServerExchangeHandler
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 AsyncServerExchangeHandler Modifier and Type Field Description private HandlerFactory<AsyncServerExchangeHandler>
InternalServerHttp1EventHandlerFactory. exchangeHandlerFactory
private HandlerFactory<AsyncServerExchangeHandler>
InternalServerProtocolNegotiationStarter. exchangeHandlerFactory
private RequestHandlerRegistry<Supplier<AsyncServerExchangeHandler>>
H2TestServer. registry
private RequestHandlerRegistry<Supplier<AsyncServerExchangeHandler>>
Http1TestServer. registry
Method parameters in org.apache.hc.core5.testing.nio with type arguments of type AsyncServerExchangeHandler Modifier and Type Method Description protected 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(java.lang.String uriPattern, Supplier<AsyncServerExchangeHandler> supplier)
void
Http1TestServer. register(java.lang.String uriPattern, Supplier<AsyncServerExchangeHandler> supplier)
java.net.InetSocketAddress
H2TestServer. start(HttpProcessor httpProcessor, Decorator<AsyncServerExchangeHandler> exchangeHandlerDecorator, Http1Config http1Config)
java.net.InetSocketAddress
H2TestServer. start(HttpProcessor httpProcessor, Decorator<AsyncServerExchangeHandler> exchangeHandlerDecorator, H2Config h2Config)
java.net.InetSocketAddress
Http1TestServer. 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)
-