Package | Description |
---|---|
org.apache.hc.core5.http.impl.bootstrap |
HTTP/1.1 requester and server bootstrap.
|
org.apache.hc.core5.http.impl.io |
Default implementation of HTTP/1.1 transport based on the classic
(blocking) I/O model.
|
org.apache.hc.core5.http.io.support |
Support classes for the classic (blocking) I/O model.
|
org.apache.hc.core5.testing.classic | |
org.apache.hc.core5.testing.framework |
Modifier and Type | Method and Description |
---|---|
ServerBootstrap |
ServerBootstrap.register(String uriPattern,
HttpRequestHandler requestHandler)
Registers the given
HttpRequestHandler as a default handler for URIs
matching the given pattern. |
ServerBootstrap |
ServerBootstrap.registerVirtual(String hostname,
String uriPattern,
HttpRequestHandler requestHandler)
Registers the given
HttpRequestHandler as a handler for URIs
matching the given host and the pattern. |
Modifier and Type | Method and Description |
---|---|
ServerBootstrap |
ServerBootstrap.setLookupRegistry(LookupRegistry<HttpRequestHandler> lookupRegistry)
Assigns
LookupRegistry instance. |
Constructor and Description |
---|
HttpService(HttpProcessor processor,
HttpRequestMapper<HttpRequestHandler> handlerMapper,
ConnectionReuseStrategy connReuseStrategy,
HttpResponseFactory<ClassicHttpResponse> responseFactory)
Create a new HTTP service.
|
HttpService(HttpProcessor processor,
HttpRequestMapper<HttpRequestHandler> handlerMapper,
ConnectionReuseStrategy connReuseStrategy,
HttpResponseFactory<ClassicHttpResponse> responseFactory,
Http1StreamListener streamListener)
Create a new HTTP service.
|
Constructor and Description |
---|
BasicHttpServerRequestHandler(HttpRequestMapper<HttpRequestHandler> handlerMapper) |
BasicHttpServerRequestHandler(HttpRequestMapper<HttpRequestHandler> handlerMapper,
HttpResponseFactory<ClassicHttpResponse> responseFactory) |
TerminalServerFilter(HttpRequestMapper<HttpRequestHandler> handlerMapper,
HttpResponseFactory<ClassicHttpResponse> responseFactory) |
Modifier and Type | Method and Description |
---|---|
void |
ClassicTestServer.registerHandler(String pattern,
HttpRequestHandler handler) |
void |
ClassicTestServer.registerHandlerVirtual(String hostname,
String pattern,
HttpRequestHandler handler) |
Modifier and Type | Class and Description |
---|---|
class |
TestingFrameworkRequestHandler |
Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.