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.nio |
Default implementation of HTTP/1.1 transport based on
the asynchronous (non-blocking) I/O model.
|
org.apache.hc.core5.http.message |
Core HTTP message components, message element parser
and writer APIs and their default implementations.
|
org.apache.hc.core5.http.nio |
Core HTTP transport APIs based on the asynchronous, event driven 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.http.protocol |
Core HTTP protocol interceptors.
|
org.apache.hc.core5.http.support |
Modifier and Type | Interface and Description |
---|---|
interface |
HttpRequestFactory<T extends HttpRequest>
A factory for
HttpRequest objects. |
Modifier and Type | Interface and Description |
---|---|
interface |
ClassicHttpRequest
'Classic'
HttpRequest message that can enclose HttpEntity . |
Modifier and Type | Method and Description |
---|---|
boolean |
ConnectionReuseStrategy.keepAlive(HttpRequest request,
HttpResponse response,
HttpContext context)
Decides whether a connection can be kept open after a request.
|
void |
HttpRequestInterceptor.process(HttpRequest request,
EntityDetails entity,
HttpContext context)
Processes a request.
|
T |
HttpRequestMapper.resolve(HttpRequest request,
HttpContext context)
Resolves a handler matching the given request.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DefaultConnectionReuseStrategy.keepAlive(HttpRequest request,
HttpResponse response,
HttpContext context) |
void |
Http1StreamListener.onRequestHead(HttpConnection connection,
HttpRequest request) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultHttpRequestParser<T extends HttpRequest>
Default
NHttpMessageParser implementation for HttpRequest s. |
class |
DefaultHttpRequestWriter<T extends HttpRequest>
Default
NHttpMessageWriter implementation for HttpRequest s. |
Modifier and Type | Method and Description |
---|---|
HttpRequest |
DefaultHttpRequestFactory.newHttpRequest(String method,
String uri) |
HttpRequest |
DefaultHttpRequestFactory.newHttpRequest(String method,
URI uri) |
Modifier and Type | Method and Description |
---|---|
NHttpMessageParser<HttpRequest> |
DefaultHttpRequestParserFactory.create() |
NHttpMessageWriter<HttpRequest> |
DefaultHttpRequestWriterFactory.create() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
ServerHttp1StreamDuplexer.handleIncomingMessage(HttpRequest request) |
protected boolean |
ClientHttp1StreamDuplexer.handleOutgoingMessage(HttpRequest request) |
Modifier and Type | Class and Description |
---|---|
class |
BasicClassicHttpRequest
Basic implementation of
ClassicHttpRequest . |
class |
BasicHttpRequest
Basic implementation of
HttpRequest . |
class |
HttpRequestWrapper
HttpRequest wrapper. |
Constructor and Description |
---|
HttpRequestWrapper(HttpRequest message) |
RequestLine(HttpRequest request) |
Modifier and Type | Method and Description |
---|---|
void |
AsyncPushConsumer.consumePromise(HttpRequest promise,
HttpResponse response,
EntityDetails entityDetails,
HttpContext context)
Triggered to signal receipt of a request message head used as a promise
and the corresponding pushed response.
|
void |
AsyncRequestConsumer.consumeRequest(HttpRequest request,
EntityDetails entityDetails,
HttpContext context,
FutureCallback<T> resultCallback)
Triggered to signal receipt of a request message head.
|
T |
HandlerFactory.create(HttpRequest request,
HttpContext context)
Creates a new handler instance based on properties of
an incoming request message..
|
AsyncDataConsumer |
AsyncFilterHandler.handle(HttpRequest request,
EntityDetails entityDetails,
HttpContext context,
AsyncFilterChain.ResponseTrigger responseTrigger,
AsyncFilterChain chain)
Processes the incoming HTTP request and if processing has been completed
submits a final response to the client.
|
void |
AsyncServerExchangeHandler.handleRequest(HttpRequest request,
EntityDetails entityDetails,
ResponseChannel responseChannel,
HttpContext context)
Processes the actual HTTP request.
|
AsyncRequestConsumer<T> |
AsyncServerRequestHandler.prepare(HttpRequest request,
EntityDetails entityDetails,
HttpContext context)
Triggered to signal new incoming request.
|
AsyncDataConsumer |
AsyncFilterChain.proceed(HttpRequest request,
EntityDetails entityDetails,
HttpContext context,
AsyncFilterChain.ResponseTrigger responseTrigger)
Proceeds to the next element in the request processing chain.
|
void |
AsyncFilterChain.ResponseTrigger.pushPromise(HttpRequest promise,
AsyncPushProducer responseProducer)
Pushes a request message head as a promise to deliver a response message.
|
void |
ResponseChannel.pushPromise(HttpRequest promise,
AsyncPushProducer responseProducer,
HttpContext context)
Pushes a request message head through this channel as a promise to deliver
a response message.
|
void |
AsyncServerRequestHandler.ResponseTrigger.pushPromise(HttpRequest promise,
HttpContext context,
AsyncPushProducer responseProducer)
Pushes a request message head as a promise to deliver a response message.
|
void |
RequestChannel.sendRequest(HttpRequest request,
EntityDetails entityDetails,
HttpContext context)
Sends a request through this channel.
|
Modifier and Type | Method and Description |
---|---|
protected abstract T |
AbstractAsyncRequesterConsumer.buildResult(HttpRequest request,
E entity,
ContentType contentType)
Triggered to generate object that represents a result of request message processing.
|
void |
AbstractAsyncPushHandler.consumePromise(HttpRequest promise,
HttpResponse response,
EntityDetails entityDetails,
HttpContext httpContext) |
void |
BasicRequestConsumer.consumeRequest(HttpRequest request,
EntityDetails entityDetails,
HttpContext httpContext,
FutureCallback<Message<HttpRequest,T>> resultCallback) |
void |
AbstractAsyncRequesterConsumer.consumeRequest(HttpRequest request,
EntityDetails entityDetails,
HttpContext httpContext,
FutureCallback<T> resultCallback) |
AsyncServerExchangeHandler |
AsyncServerFilterChainExchangeHandlerFactory.create(HttpRequest request,
HttpContext context) |
AsyncServerExchangeHandler |
DefaultAsyncResponseExchangeHandlerFactory.create(HttpRequest request,
HttpContext context) |
AsyncDataConsumer |
AsyncServerFilterChainElement.handle(HttpRequest request,
EntityDetails entityDetails,
HttpContext context,
AsyncFilterChain.ResponseTrigger responseTrigger) |
AsyncDataConsumer |
AsyncServerExpectationFilter.handle(HttpRequest request,
EntityDetails entityDetails,
HttpContext context,
AsyncFilterChain.ResponseTrigger responseTrigger,
AsyncFilterChain chain) |
AsyncDataConsumer |
TerminalAsyncServerFilter.handle(HttpRequest request,
EntityDetails entityDetails,
HttpContext context,
AsyncFilterChain.ResponseTrigger responseTrigger,
AsyncFilterChain chain) |
AsyncDataConsumer |
AbstractAsyncServerAuthFilter.handle(HttpRequest request,
EntityDetails entityDetails,
HttpContext context,
AsyncFilterChain.ResponseTrigger responseTrigger,
AsyncFilterChain chain) |
protected void |
AbstractAsyncPushHandler.handleError(HttpRequest promise,
Exception cause)
Triggered to handle the exception thrown while processing a push response.
|
void |
AbstractServerExchangeHandler.handleRequest(HttpRequest request,
EntityDetails entityDetails,
ResponseChannel responseChannel,
HttpContext context) |
void |
BasicAsyncServerExpectationDecorator.handleRequest(HttpRequest request,
EntityDetails entityDetails,
ResponseChannel responseChannel,
HttpContext context) |
void |
ImmediateResponseExchangeHandler.handleRequest(HttpRequest request,
EntityDetails entityDetails,
ResponseChannel responseChannel,
HttpContext context) |
protected abstract void |
AbstractAsyncPushHandler.handleResponse(HttpRequest promise,
T responseMessage)
Triggered to handle the push message with the given promised request.
|
protected abstract AsyncRequestConsumer<T> |
AbstractServerExchangeHandler.supplyConsumer(HttpRequest request,
EntityDetails entityDetails,
HttpContext context)
Triggered to supply a request consumer to process the incoming request.
|
protected AsyncRequestConsumer<T> |
BasicServerExchangeHandler.supplyConsumer(HttpRequest request,
EntityDetails entityDetails,
HttpContext context) |
protected boolean |
AsyncServerExpectationFilter.verify(HttpRequest request,
HttpContext context) |
protected AsyncResponseProducer |
BasicAsyncServerExpectationDecorator.verify(HttpRequest request,
HttpContext context) |
Modifier and Type | Method and Description |
---|---|
void |
BasicRequestConsumer.consumeRequest(HttpRequest request,
EntityDetails entityDetails,
HttpContext httpContext,
FutureCallback<Message<HttpRequest,T>> resultCallback) |
Constructor and Description |
---|
BasicRequestProducer(HttpRequest request,
AsyncEntityProducer dataProducer) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
AbstractClassicServerExchangeHandler.handle(HttpRequest request,
InputStream requestStream,
HttpResponse response,
OutputStream responseStream,
HttpContext context)
Handles an incoming request optionally reading its entity content form the given input stream
and generates a response optionally writing out its entity content into the given output stream.
|
void |
AbstractClassicServerExchangeHandler.handleRequest(HttpRequest request,
EntityDetails entityDetails,
ResponseChannel responseChannel,
HttpContext context) |
Modifier and Type | Method and Description |
---|---|
HttpRequest |
HttpCoreContext.getRequest() |
Modifier and Type | Method and Description |
---|---|
void |
RequestTargetHost.process(HttpRequest request,
EntityDetails entity,
HttpContext context) |
void |
DefaultHttpProcessor.process(HttpRequest request,
EntityDetails entity,
HttpContext context) |
void |
RequestExpectContinue.process(HttpRequest request,
EntityDetails entity,
HttpContext context) |
void |
RequestContent.process(HttpRequest request,
EntityDetails entity,
HttpContext context) |
void |
RequestConnControl.process(HttpRequest request,
EntityDetails entity,
HttpContext context) |
void |
RequestDate.process(HttpRequest request,
EntityDetails entity,
HttpContext context) |
void |
RequestValidateHost.process(HttpRequest request,
EntityDetails entity,
HttpContext context) |
void |
RequestUserAgent.process(HttpRequest request,
EntityDetails entity,
HttpContext context) |
T |
RequestHandlerRegistry.resolve(HttpRequest request,
HttpContext context) |
Modifier and Type | Method and Description |
---|---|
static BasicRequestBuilder |
BasicRequestBuilder.copy(HttpRequest request) |
protected void |
AbstractRequestBuilder.digest(HttpRequest request) |
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.