Package | Description |
---|---|
org.apache.hc.core5.http.impl.bootstrap |
HTTP/1.1 requester and server bootstrap.
|
org.apache.hc.core5.http.nio.support |
Support classes for the asynchronous I/O model.
|
org.apache.hc.core5.http2.impl.nio.bootstrap |
HTTP/2 capable requester and server bootstrap.
|
org.apache.hc.core5.testing.nio |
Modifier and Type | Method and Description |
---|---|
<T> AsyncServerBootstrap |
AsyncServerBootstrap.register(String uriPattern,
AsyncServerRequestHandler<T> requestHandler)
Registers the given
AsyncServerRequestHandler as a default handler for URIs
matching the given pattern. |
<T> AsyncServerBootstrap |
AsyncServerBootstrap.registerVirtual(String hostname,
String uriPattern,
AsyncServerRequestHandler<T> requestHandler)
Registers the given
AsyncServerRequestHandler as a handler for URIs
matching the given host and the pattern. |
Constructor and Description |
---|
BasicServerExchangeHandler(AsyncServerRequestHandler<T> requestHandler) |
Modifier and Type | Method and Description |
---|---|
<T> H2ServerBootstrap |
H2ServerBootstrap.register(String uriPattern,
AsyncServerRequestHandler<T> requestHandler)
Registers the given
AsyncServerRequestHandler as a default handler for URIs
matching the given pattern. |
<T> H2ServerBootstrap |
H2ServerBootstrap.registerVirtual(String hostname,
String uriPattern,
AsyncServerRequestHandler<T> requestHandler)
Registers the given
AsyncServerRequestHandler as a handler for URIs
matching the given host and the pattern. |
Modifier and Type | Method and Description |
---|---|
<T> void |
Http1TestServer.register(String uriPattern,
AsyncServerRequestHandler<T> requestHandler) |
<T> void |
H2TestServer.register(String uriPattern,
AsyncServerRequestHandler<T> requestHandler) |
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.