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.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.io |
Core HTTP transport APIs 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.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 |
HttpResponseFactory<T extends HttpResponse>
A factory for
HttpResponse objects. |
Modifier and Type | Interface and Description |
---|---|
interface |
ClassicHttpResponse
'Classic'
HttpResponse 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 |
HttpResponseInterceptor.process(HttpResponse response,
EntityDetails entity,
HttpContext context)
Processes a response.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DefaultConnectionReuseStrategy.keepAlive(HttpRequest request,
HttpResponse response,
HttpContext context) |
void |
Http1StreamListener.onResponseHead(HttpConnection connection,
HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
protected HttpVersion |
DefaultHttpResponseWriter.protocolVersion(HttpResponse message)
Determines the HTTP protocol version to be communicated to the opposite
endpoint in the message header.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultHttpResponseParser<T extends HttpResponse>
Default
NHttpMessageParser implementation for HttpResponse s. |
class |
DefaultHttpResponseWriter<T extends HttpResponse>
Default
NHttpMessageWriter implementation for HttpResponse s. |
Modifier and Type | Method and Description |
---|---|
HttpResponse |
DefaultHttpResponseFactory.newHttpResponse(int status) |
HttpResponse |
DefaultHttpResponseFactory.newHttpResponse(int status,
String reasonPhrase) |
Modifier and Type | Method and Description |
---|---|
NHttpMessageParser<HttpResponse> |
DefaultHttpResponseParserFactory.create() |
NHttpMessageWriter<HttpResponse> |
DefaultHttpResponseWriterFactory.create() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
ClientHttp1StreamDuplexer.handleIncomingMessage(HttpResponse response) |
protected boolean |
ServerHttp1StreamDuplexer.handleOutgoingMessage(HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
void |
HttpResponseInformationCallback.execute(HttpResponse response,
HttpConnection connection,
HttpContext context) |
Modifier and Type | Method and Description |
---|---|
protected HttpEntity |
AbstractHttpServerAuthFilter.generateResponseContent(HttpResponse unauthorized)
Generates response body for UNAUTHORIZED response.
|
protected HttpEntity |
HttpServerExpectationFilter.generateResponseContent(HttpResponse expectationFailed)
Generates response content entity for the final HTTP response with an error status
representing the cause of expectation failure.
|
Modifier and Type | Class and Description |
---|---|
class |
BasicClassicHttpResponse
Basic implementation of
ClassicHttpResponse . |
class |
BasicHttpResponse
Basic implementation of
HttpResponse . |
class |
HttpResponseWrapper
Wraps an
HttpResponse . |
Modifier and Type | Method and Description |
---|---|
static boolean |
MessageSupport.canResponseHaveBody(String method,
HttpResponse response) |
Constructor and Description |
---|
HttpResponseWrapper(HttpResponse message) |
StatusLine(HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
void |
AsyncClientExchangeHandler.consumeInformation(HttpResponse response,
HttpContext context)
Triggered to signal receipt of an intermediate (1xx) HTTP response.
|
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 |
AsyncClientExchangeHandler.consumeResponse(HttpResponse response,
EntityDetails entityDetails,
HttpContext context)
Triggered to signal receipt of a response message head.
|
void |
AsyncResponseConsumer.consumeResponse(HttpResponse response,
EntityDetails entityDetails,
HttpContext context,
FutureCallback<T> resultCallback)
Triggered to signal receipt of a response message head.
|
void |
AsyncResponseConsumer.informationResponse(HttpResponse response,
HttpContext context)
Triggered to signal receipt of an intermediate (1xx) HTTP response.
|
void |
AsyncFilterChain.ResponseTrigger.sendInformation(HttpResponse response)
Sends an intermediate informational HTTP response to the client.
|
void |
ResponseChannel.sendInformation(HttpResponse response,
HttpContext context)
Sends an intermediate informational HTTP response through this channel.
|
void |
AsyncServerRequestHandler.ResponseTrigger.sendInformation(HttpResponse response,
HttpContext context)
Sends an intermediate informational HTTP response to the client.
|
void |
ResponseChannel.sendResponse(HttpResponse response,
EntityDetails entityDetails,
HttpContext context)
Sends a final HTTP response through this channel.
|
void |
AsyncFilterChain.ResponseTrigger.submitResponse(HttpResponse response,
AsyncEntityProducer entityProducer)
Sends a final HTTP response to the client.
|
Modifier and Type | Method and Description |
---|---|
protected abstract T |
AbstractAsyncResponseConsumer.buildResult(HttpResponse response,
E entity,
ContentType contentType)
Triggered to generate object that represents a result of response message processing.
|
void |
BasicClientExchangeHandler.consumeInformation(HttpResponse response,
HttpContext httpContext) |
void |
AbstractAsyncPushHandler.consumePromise(HttpRequest promise,
HttpResponse response,
EntityDetails entityDetails,
HttpContext httpContext) |
void |
BasicClientExchangeHandler.consumeResponse(HttpResponse response,
EntityDetails entityDetails,
HttpContext httpContext) |
void |
BasicResponseConsumer.consumeResponse(HttpResponse response,
EntityDetails entityDetails,
HttpContext httpContext,
FutureCallback<Message<HttpResponse,T>> resultCallback) |
void |
AbstractAsyncResponseConsumer.consumeResponse(HttpResponse response,
EntityDetails entityDetails,
HttpContext httpContext,
FutureCallback<T> resultCallback) |
protected AsyncEntityProducer |
AbstractAsyncServerAuthFilter.generateResponseContent(HttpResponse unauthorized)
Generates response body for UNAUTHORIZED response.
|
protected AsyncEntityProducer |
AsyncServerExpectationFilter.generateResponseContent(HttpResponse expectationFailed) |
void |
BasicResponseConsumer.informationResponse(HttpResponse response,
HttpContext httpContext) |
Modifier and Type | Method and Description |
---|---|
void |
BasicResponseConsumer.consumeResponse(HttpResponse response,
EntityDetails entityDetails,
HttpContext httpContext,
FutureCallback<Message<HttpResponse,T>> resultCallback) |
Constructor and Description |
---|
BasicPushProducer(HttpResponse response,
AsyncEntityProducer dataProducer) |
BasicResponseProducer(HttpResponse response) |
BasicResponseProducer(HttpResponse response,
AsyncEntityProducer dataProducer) |
BasicResponseProducer(HttpResponse response,
String message) |
BasicResponseProducer(HttpResponse response,
String message,
ContentType contentType) |
ImmediateResponseExchangeHandler(HttpResponse response,
String message) |
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.
|
Modifier and Type | Method and Description |
---|---|
HttpResponse |
HttpCoreContext.getResponse()
Represents current response message head.
|
Modifier and Type | Method and Description |
---|---|
void |
ResponseConnControl.process(HttpResponse response,
EntityDetails entity,
HttpContext localContext) |
void |
ResponseContent.process(HttpResponse response,
EntityDetails entity,
HttpContext context)
Processes the response (possibly updating or inserting) Content-Length and Transfer-Encoding headers.
|
void |
DefaultHttpProcessor.process(HttpResponse response,
EntityDetails entity,
HttpContext context) |
void |
ResponseServer.process(HttpResponse response,
EntityDetails entity,
HttpContext context) |
void |
ResponseDate.process(HttpResponse response,
EntityDetails entity,
HttpContext context) |
void |
ResponseConformance.process(HttpResponse response,
EntityDetails entity,
HttpContext context) |
void |
HttpCoreContext.setResponse(HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
static BasicResponseBuilder |
BasicResponseBuilder.copy(HttpResponse response) |
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.