| 程序包 | 说明 |
|---|---|
| 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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
AsyncServerBootstrap |
AsyncServerBootstrap.register(String uriPattern,
Supplier<AsyncServerExchangeHandler> supplier)
Registers the given
AsyncServerExchangeHandler Supplier as a default handler for URIs
matching the given pattern. |
AsyncServerBootstrap |
AsyncServerBootstrap.registerVirtual(String hostname,
String uriPattern,
Supplier<AsyncServerExchangeHandler> supplier)
Registers the given
AsyncServerExchangeHandler Supplier as a handler for URIs
matching the given host and the pattern. |
AsyncServerBootstrap |
AsyncServerBootstrap.setLookupRegistry(LookupRegistry<Supplier<AsyncServerExchangeHandler>> lookupRegistry)
Assigns
LookupRegistry instance. |
| 限定符和类型 | 类和说明 |
|---|---|
class |
AbstractServerExchangeHandler<T>
Abstract server side message exchange handler.
|
class |
BasicAsyncServerExpectationDecorator
AsyncServerExchangeHandler implementation that adds support
for the Expect-Continue handshake to an existing
AsyncServerExchangeHandler. |
class |
BasicServerExchangeHandler<T>
Basic
AbstractServerExchangeHandler implementation that delegates
request processing and response generation to a AsyncServerRequestHandler. |
class |
ImmediateResponseExchangeHandler
AsyncServerExchangeHandler implementation that immediately responds
with a predefined response generated by a AsyncResponseProducer and
ignores any entity content enclosed in the request message. |
| 限定符和类型 | 方法和说明 |
|---|---|
AsyncServerExchangeHandler |
AsyncServerFilterChainExchangeHandlerFactory.create(HttpRequest request,
HttpContext context) |
AsyncServerExchangeHandler |
DefaultAsyncResponseExchangeHandlerFactory.create(HttpRequest request,
HttpContext context) |
| 构造器和说明 |
|---|
BasicAsyncServerExpectationDecorator(AsyncServerExchangeHandler handler) |
BasicAsyncServerExpectationDecorator(AsyncServerExchangeHandler handler,
Callback<Exception> exceptionCallback) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
AbstractClassicServerExchangeHandler
AsyncServerExchangeHandler implementation that acts as a compatibility
layer for classic InputStream / OutputStream based interfaces. |
| 构造器和说明 |
|---|
ServerH2StreamMultiplexer(ProtocolIOSession ioSession,
FrameFactory frameFactory,
HttpProcessor httpProcessor,
HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory,
CharCodingConfig charCodingConfig,
H2Config h2Config,
H2StreamListener streamListener) |
ServerH2StreamMultiplexer(ProtocolIOSession ioSession,
HttpProcessor httpProcessor,
HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory,
CharCodingConfig charCodingConfig,
H2Config h2Config) |
ServerH2StreamMultiplexerFactory(HttpProcessor httpProcessor,
HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory,
H2Config h2Config,
CharCodingConfig charCodingConfig,
H2StreamListener streamListener) |
| 限定符和类型 | 方法和说明 |
|---|---|
H2ServerBootstrap |
H2ServerBootstrap.register(String uriPattern,
Supplier<AsyncServerExchangeHandler> supplier)
Registers the given
AsyncServerExchangeHandler Supplier as a default handler for URIs
matching the given pattern. |
H2ServerBootstrap |
H2ServerBootstrap.registerVirtual(String hostname,
String uriPattern,
Supplier<AsyncServerExchangeHandler> supplier)
Registers the given
AsyncServerExchangeHandler Supplier as a handler for URIs
matching the given host and the pattern. |
H2ServerBootstrap |
H2ServerBootstrap.setLookupRegistry(LookupRegistry<Supplier<AsyncServerExchangeHandler>> lookupRegistry)
Assigns
LookupRegistry instance. |
Copyright © 2023. All rights reserved.