Package | Description |
---|---|
org.apache.hc.core5.http |
Core HTTP transport component APIs.
|
org.apache.hc.core5.http.impl |
Default implementations of core HTTP APIs.
|
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.impl.nio |
Default implementation of HTTP/1.1 transport based on
the asynchronous (non-blocking) I/O model.
|
org.apache.hc.core5.http.impl.routing | |
org.apache.hc.core5.http.io |
Core HTTP transport APIs based on the classic (blocking) I/O model.
|
org.apache.hc.core5.http.nio.command |
Commands for HTTP transports based on asynchronous, event driven I/O model.
|
org.apache.hc.core5.http.nio.ssl |
TLS protocol support.
|
org.apache.hc.core5.http.protocol |
Core HTTP protocol interceptors.
|
org.apache.hc.core5.http.ssl | |
org.apache.hc.core5.http.support | |
org.apache.hc.core5.io |
Core I/O component APIs and utilities.
|
org.apache.hc.core5.pool |
Client side connection pool component APIs.
|
org.apache.hc.core5.reactor |
Event driven network communication APIs and components loosely based on
Doug Lea's
reactor pattern.
|
org.apache.hc.core5.reactor.ssl |
TLS/SSL support for I/O reactors.
|
org.apache.hc.core5.util |
Core utility classes.
|
Modifier and Type | Class and Description |
---|---|
class |
ProtocolVersionParser |
static interface |
ProtocolVersionParser.Factory |
class |
RequestNotExecutedException
ConnectionClosedException subclass that signals requests cannot not be executed
due to the connection being closed. |
Modifier and Type | Method and Description |
---|---|
static ProtocolVersion |
ProtocolVersion.parse(CharSequence buffer,
Tokenizer.Cursor cursor,
Tokenizer.Delimiter delimiterPredicate) |
Modifier and Type | Interface and Description |
---|---|
interface |
Http1StreamListener
HTTP/1.1 stream event listener.
|
class |
IncomingEntityDetails
HTTP message entity details.
|
class |
ServerSupport
HTTP Server support methods.
|
Modifier and Type | Method and Description |
---|---|
protected static HttpHost |
AsyncRequester.defaultTarget(HttpRequest request) |
Constructor and Description |
---|
AsyncRequester(IOEventHandlerFactory eventHandlerFactory,
IOReactorConfig ioReactorConfig,
Decorator<IOSession> ioSessionDecorator,
Callback<Exception> exceptionCallback,
IOSessionListener sessionListener,
Callback<IOSession> sessionShutdownCallback,
Resolver<HttpHost,InetSocketAddress> addressResolver) |
AsyncServer(IOEventHandlerFactory eventHandlerFactory,
IOReactorConfig ioReactorConfig,
Decorator<IOSession> ioSessionDecorator,
Callback<Exception> exceptionCallback,
IOSessionListener sessionListener,
Callback<IOSession> sessionShutdownCallback) |
HttpAsyncRequester(IOReactorConfig ioReactorConfig,
IOEventHandlerFactory eventHandlerFactory,
Decorator<IOSession> ioSessionDecorator,
Callback<Exception> exceptionCallback,
IOSessionListener sessionListener,
ManagedConnPool<HttpHost,IOSession> connPool)
Use
AsyncRequesterBootstrap to create instances of this class. |
HttpAsyncRequester(IOReactorConfig ioReactorConfig,
IOEventHandlerFactory eventHandlerFactory,
Decorator<IOSession> ioSessionDecorator,
Callback<Exception> exceptionCallback,
IOSessionListener sessionListener,
ManagedConnPool<HttpHost,IOSession> connPool,
TlsStrategy tlsStrategy,
Timeout handshakeTimeout)
Use
AsyncRequesterBootstrap to create instances of this class. |
HttpAsyncServer(IOEventHandlerFactory eventHandlerFactory,
IOReactorConfig ioReactorConfig,
Decorator<IOSession> ioSessionDecorator,
Callback<Exception> exceptionCallback,
IOSessionListener sessionListener)
Use
AsyncServerBootstrap to create instances of this class. |
HttpAsyncServer(IOEventHandlerFactory eventHandlerFactory,
IOReactorConfig ioReactorConfig,
Decorator<IOSession> ioSessionDecorator,
Callback<Exception> exceptionCallback,
IOSessionListener sessionListener,
String canonicalName)
Use
AsyncServerBootstrap to create instances of this class. |
HttpRequester(HttpRequestExecutor requestExecutor,
HttpProcessor httpProcessor,
ManagedConnPool<HttpHost,HttpClientConnection> connPool,
SocketConfig socketConfig,
HttpConnectionFactory<? extends HttpClientConnection> connectFactory,
SSLSocketFactory sslSocketFactory,
Callback<SSLParameters> sslSetupHandler,
SSLSessionVerifier sslSessionVerifier,
Resolver<HttpHost,InetSocketAddress> addressResolver)
Use
RequesterBootstrap to create instances of this class. |
HttpServer(int port,
HttpService httpService,
InetAddress ifAddress,
SocketConfig socketConfig,
ServerSocketFactory serverSocketFactory,
HttpConnectionFactory<? extends DefaultBHttpServerConnection> connectionFactory,
SSLContext sslContext,
Callback<SSLParameters> sslSetupHandler,
ExceptionListener exceptionListener) |
Modifier and Type | Method and Description |
---|---|
Socket |
SocketHolder.getBaseSocket() |
SSLSocket |
SocketHolder.getSSLSocket() |
Modifier and Type | Class and Description |
---|---|
class |
ClientHttp1StreamDuplexer
I/O event handler for events fired by
ProtocolIOSession that implements
client side HTTP/1.1 messaging protocol with full support for
duplexed message transmission and message pipelining. |
class |
ClientHttp1StreamDuplexerFactory
ClientHttp1StreamDuplexer factory. |
class |
ExpandableBuffer
A buffer that expand its capacity on demand.
|
interface |
HttpConnectionEventHandler
IOEventHandler that also exposes HttpConnection properties. |
class |
ServerHttp1StreamDuplexer
I/O event handler for events fired by
ProtocolIOSession that implements
server side HTTP/1.1 messaging protocol with full support for
duplexed message transmission and message pipelining. |
class |
ServerHttp1StreamDuplexerFactory
ServerHttp1StreamDuplexer factory. |
Modifier and Type | Class and Description |
---|---|
class |
PathRoute<T,H> |
static class |
RequestRouter.Entry<T> |
Modifier and Type | Method and Description |
---|---|
static <T> RequestRouter<T> |
RequestRouter.create(URIAuthority primaryAuthority,
UriPatternType patternType,
List<RequestRouter.Entry<T>> handlerEntries,
BiFunction<String,URIAuthority,URIAuthority> authorityResolver,
HttpRequestMapper<T> downstream) |
Modifier and Type | Interface and Description |
---|---|
interface |
ResponseOutOfOrderStrategy
Represents a strategy to determine how frequently the client should check for an out of order response.
|
Modifier and Type | Class and Description |
---|---|
class |
CommandSupport
Command utility methods. |
class |
ExecutableCommand
Abstract executable command that may need to do some cleaning up
in case of an failure and also optionally may want to cancel
the associated HTTP message exchange through
CancellableDependency . |
class |
RequestExecutionCommand
Request execution command.
|
Modifier and Type | Interface and Description |
---|---|
interface |
TlsUpgradeCapable
Capability to upgrade to TLS.
|
Modifier and Type | Method and Description |
---|---|
void |
HttpCoreContext.setEndpointDetails(EndpointDetails endpointDetails) |
void |
HttpCoreContext.setRequest(HttpRequest request) |
void |
HttpCoreContext.setResponse(HttpResponse response) |
void |
HttpCoreContext.setSSLSession(SSLSession sslSession) |
Modifier and Type | Method and Description |
---|---|
static ProtocolVersion |
TLS.parse(CharSequence buffer,
Tokenizer.Cursor cursor,
Tokenizer.Delimiter delimiterPredicate) |
Modifier and Type | Class and Description |
---|---|
class |
Expectation
Message expectations.
|
class |
ExpectSupport
Server side Expect header handling support.
|
Modifier and Type | Class and Description |
---|---|
class |
SocketSupport |
Modifier and Type | Class and Description |
---|---|
class |
DefaultDisposalCallback<T extends SocketModalCloseable>
Default implementation of
DisposalCallback . |
interface |
DisposalCallback<T extends ModalCloseable>
Represents a customizable disposal strategy for
ModalCloseable instances. |
Modifier and Type | Class and Description |
---|---|
class |
EndpointParameters
Endpoint initialization parameters
|
interface |
IOEventHandler
IOEventHandler interface is used by I/O reactors to handle I/O events for individual
I/O sessions.
|
interface |
IOEventHandlerFactory
Factory interface to create
IOEventHandler instances for the given connected endpoints. |
interface |
IOSession
IOSession interface represents a sequence of logically related data exchanges
between two end points.
|
interface |
IOSessionListener
IOSession event listener. |
interface |
ProtocolUpgradeHandler
Application protocol upgrade handler.
|
Modifier and Type | Class and Description |
---|---|
class |
SSLIOSession
SSLIOSession is a decorator class intended to transparently extend
an IOSession with transport layer security capabilities based on
the SSL/TLS protocol. |
Modifier and Type | Class and Description |
---|---|
class |
ReflectionUtils |
Modifier and Type | Method and Description |
---|---|
static byte |
TextUtils.castAsByte(int c)
Casts character to byte filtering non-visible and non-ASCII characters before conversion.
|
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.