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.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.nio |
Core HTTP transport APIs based on the asynchronous, event driven I/O model.
|
org.apache.hc.core5.http.nio.entity |
HTTP message entity APIs based on the asynchronous (non-blocking) 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.http2 |
Core HTTP/2 transport component APIs.
|
org.apache.hc.core5.http2.hpack |
HTTP/2 HPACK APIs.
|
org.apache.hc.core5.http2.impl |
Default implementations of core HTTP/2 APIs.
|
org.apache.hc.core5.http2.nio |
HTTP/2 transport specific APIs based on the asynchronous,
event driven I/O model.
|
org.apache.hc.core5.http2.nio.support |
Support classes for HTTP/2 asynchronous transport.
|
org.apache.hc.core5.http2.protocol |
HTTP/2 protocol interceptors.
|
org.apache.hc.core5.reactive | |
org.apache.hc.core5.testing.classic | |
org.apache.hc.core5.testing.framework | |
org.apache.hc.core5.testing.reactive |
Modifier and Type | Class and Description |
---|---|
class |
LengthRequiredException
Signals message rejection due to missing content length.
|
class |
MethodNotSupportedException
Signals that an HTTP method is not supported.
|
class |
MisdirectedRequestException
Signals a misdirected request (the server is not authoritative to handle the request).
|
class |
NotImplementedException
Signals an unsupported / unimplemented feature of the HTTP protocol.
|
class |
ParseException
Signals a protocol exception due to failure to parse a message element.
|
class |
ProtocolException
Signals that an HTTP protocol violation has occurred.
|
class |
RequestHeaderFieldsTooLargeException
Signals request header field length or total field size violation.
|
class |
UnsupportedHttpVersionException
Signals an unsupported version of the HTTP protocol.
|
Modifier and Type | Method and Description |
---|---|
long |
ContentLengthStrategy.determineLength(HttpMessage message)
Returns length of the given message in bytes.
|
void |
HttpRequestInterceptor.process(HttpRequest request,
EntityDetails entity,
HttpContext context)
Processes a request.
|
void |
HttpResponseInterceptor.process(HttpResponse response,
EntityDetails entity,
HttpContext context)
Processes a response.
|
T |
HttpRequestMapper.resolve(HttpRequest request,
HttpContext context)
Resolves a handler matching the given request.
|
Modifier and Type | Method and Description |
---|---|
long |
DefaultContentLengthStrategy.determineLength(HttpMessage message) |
static void |
ServerSupport.validateResponse(HttpResponse response,
EntityDetails responseEntityDetails) |
Modifier and Type | Method and Description |
---|---|
protected void |
HttpService.handleException(HttpException ex,
ClassicHttpResponse response)
Handles the given exception and generates an HTTP response to be sent
back to the client to inform about the exceptional condition encountered
in the course of the request processing.
|
Modifier and Type | Method and Description |
---|---|
protected ClassicHttpRequest |
DefaultHttpRequestParser.createMessage(CharArrayBuffer buffer) |
protected abstract T |
AbstractMessageParser.createMessage(CharArrayBuffer buffer)
Subclasses must override this method to generate an instance of
HttpMessage based on the initial input from the session buffer. |
protected ClassicHttpResponse |
DefaultHttpResponseParser.createMessage(CharArrayBuffer buffer) |
ClassicHttpResponse |
HttpRequestExecutor.execute(ClassicHttpRequest request,
HttpClientConnection conn,
HttpContext context)
Sends the request and obtain a response.
|
ClassicHttpResponse |
HttpRequestExecutor.execute(ClassicHttpRequest request,
HttpClientConnection conn,
HttpResponseInformationCallback informationCallback,
HttpContext context)
Sends the request and obtain a response.
|
void |
HttpService.handleRequest(HttpServerConnection conn,
HttpContext context)
Handles receives one HTTP request over the given connection within the
given execution context and sends a response back to the client.
|
ClassicHttpRequest |
DefaultHttpRequestParser.parse(SessionInputBuffer buffer,
InputStream inputStream) |
T |
AbstractMessageParser.parse(SessionInputBuffer buffer,
InputStream inputStream) |
static Header[] |
AbstractMessageParser.parseHeaders(SessionInputBuffer inBuffer,
InputStream inputStream,
int maxHeaderCount,
int maxLineLen,
LineParser lineParser)
Parses HTTP headers from the data receiver stream according to the generic
format as specified by the HTTP/1.1 protocol specification.
|
static Header[] |
AbstractMessageParser.parseHeaders(SessionInputBuffer inBuffer,
InputStream inputStream,
int maxHeaderCount,
int maxLineLen,
LineParser parser,
List<CharArrayBuffer> headerLines)
Parses HTTP headers from the data receiver stream according to the generic
format as specified by the HTTP/1.1 protocol specification.
|
void |
HttpRequestExecutor.postProcess(ClassicHttpResponse response,
HttpProcessor processor,
HttpContext context)
Post-processes the given response using the given protocol processor and
completes the process of request execution.
|
void |
HttpRequestExecutor.preProcess(ClassicHttpRequest request,
HttpProcessor processor,
HttpContext context)
Pre-process the given request using the given protocol processor and
initiates the process of request execution.
|
void |
DefaultBHttpServerConnection.receiveRequestEntity(ClassicHttpRequest request) |
ClassicHttpRequest |
DefaultBHttpServerConnection.receiveRequestHeader() |
void |
DefaultBHttpClientConnection.receiveResponseEntity(ClassicHttpResponse response) |
ClassicHttpResponse |
DefaultBHttpClientConnection.receiveResponseHeader() |
void |
DefaultBHttpClientConnection.sendRequestEntity(ClassicHttpRequest request) |
void |
DefaultBHttpClientConnection.sendRequestHeader(ClassicHttpRequest request) |
void |
DefaultBHttpServerConnection.sendResponseEntity(ClassicHttpResponse response) |
void |
DefaultBHttpServerConnection.sendResponseHeader(ClassicHttpResponse response) |
void |
DefaultBHttpClientConnection.terminateRequest(ClassicHttpRequest request) |
void |
AbstractMessageWriter.write(T message,
SessionOutputBuffer buffer,
OutputStream outputStream) |
Modifier and Type | Method and Description |
---|---|
protected ContentDecoder |
ServerHttp1StreamDuplexer.createContentDecoder(long len,
ReadableByteChannel channel,
SessionInputBuffer buffer,
BasicHttpTransportMetrics metrics) |
protected ContentDecoder |
ClientHttp1StreamDuplexer.createContentDecoder(long len,
ReadableByteChannel channel,
SessionInputBuffer buffer,
BasicHttpTransportMetrics metrics) |
protected ContentEncoder |
ServerHttp1StreamDuplexer.createContentEncoder(long len,
WritableByteChannel channel,
SessionOutputBuffer buffer,
BasicHttpTransportMetrics metrics) |
protected ContentEncoder |
ClientHttp1StreamDuplexer.createContentEncoder(long len,
WritableByteChannel channel,
SessionOutputBuffer buffer,
BasicHttpTransportMetrics metrics) |
protected T |
DefaultHttpRequestParser.createMessage(CharArrayBuffer buffer) |
protected abstract T |
AbstractMessageParser.createMessage(CharArrayBuffer buffer)
Creates
HttpMessage instance based on the content of the input
buffer containing the first line of the incoming HTTP message. |
protected T |
DefaultHttpResponseParser.createMessage(CharArrayBuffer buffer) |
protected boolean |
ServerHttp1StreamDuplexer.handleIncomingMessage(HttpRequest request) |
protected boolean |
ClientHttp1StreamDuplexer.handleIncomingMessage(HttpResponse response) |
protected boolean |
ClientHttp1StreamDuplexer.handleOutgoingMessage(HttpRequest request) |
protected boolean |
ServerHttp1StreamDuplexer.handleOutgoingMessage(HttpResponse response) |
T |
DefaultHttpRequestParser.parse(SessionInputBuffer sessionBuffer,
boolean endOfStream) |
T |
AbstractMessageParser.parse(SessionInputBuffer sessionBuffer,
boolean endOfStream) |
void |
AbstractMessageWriter.write(T message,
SessionOutputBuffer sessionBuffer) |
Modifier and Type | Method and Description |
---|---|
void |
HttpResponseInformationCallback.execute(HttpResponse response,
HttpConnection connection,
HttpContext context) |
void |
HttpRequestHandler.handle(ClassicHttpRequest request,
ClassicHttpResponse response,
HttpContext context)
Handles the request and produces a response to be sent back to
the client.
|
void |
HttpFilterHandler.handle(ClassicHttpRequest request,
HttpFilterChain.ResponseTrigger responseTrigger,
HttpContext context,
HttpFilterChain chain)
Processes the incoming HTTP request and if processing has been completed
submits a final response to the client.
|
void |
HttpServerRequestHandler.handle(ClassicHttpRequest request,
HttpServerRequestHandler.ResponseTrigger responseTrigger,
HttpContext context)
Handles the request and submits a final response to be sent back to the client.
|
T |
HttpClientResponseHandler.handleResponse(ClassicHttpResponse response)
Processes an
ClassicHttpResponse and returns some value
corresponding to that response. |
T |
HttpMessageParser.parse(SessionInputBuffer buffer,
InputStream inputStream)
Generates an instance of
MessageHeaders from the given input stream.. |
void |
HttpFilterChain.proceed(ClassicHttpRequest request,
HttpFilterChain.ResponseTrigger responseTrigger,
HttpContext context)
Proceeds to the next element in the request processing chain.
|
void |
HttpServerConnection.receiveRequestEntity(ClassicHttpRequest request)
Receives the next request entity available from this connection and attaches it to
an existing request.
|
ClassicHttpRequest |
HttpServerConnection.receiveRequestHeader()
Receives the request line and all headers available from this connection.
|
void |
HttpClientConnection.receiveResponseEntity(ClassicHttpResponse response)
Receives the next response entity available from this connection and
attaches it to an existing HttpResponse object.
|
ClassicHttpResponse |
HttpClientConnection.receiveResponseHeader()
Receives the request line and headers of the next response available from
this connection.
|
void |
HttpFilterChain.ResponseTrigger.sendInformation(ClassicHttpResponse response)
Sends an intermediate informational HTTP response to the client.
|
void |
HttpServerRequestHandler.ResponseTrigger.sendInformation(ClassicHttpResponse response)
Sends an intermediate informational HTTP response to the client.
|
void |
HttpClientConnection.sendRequestEntity(ClassicHttpRequest request)
Sends the request entity over the connection.
|
void |
HttpClientConnection.sendRequestHeader(ClassicHttpRequest request)
Sends the request line and all headers over the connection.
|
void |
HttpServerConnection.sendResponseEntity(ClassicHttpResponse response)
Sends the response entity of a response over this connection.
|
void |
HttpServerConnection.sendResponseHeader(ClassicHttpResponse response)
Sends the response line and headers of a response over this connection.
|
void |
HttpFilterChain.ResponseTrigger.submitResponse(ClassicHttpResponse response)
Sends a final HTTP response to the client.
|
void |
HttpServerRequestHandler.ResponseTrigger.submitResponse(ClassicHttpResponse response)
Sends a final HTTP response to the client.
|
void |
HttpClientConnection.terminateRequest(ClassicHttpRequest request)
Terminates request prematurely potentially leaving
the connection in a inconsistent state.
|
void |
HttpMessageWriter.write(T message,
SessionOutputBuffer buffer,
OutputStream outputStream)
Serializes an instance of
MessageHeaders to the given output stream. |
Modifier and Type | Method and Description |
---|---|
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.
|
void |
HttpServerFilterChainElement.handle(ClassicHttpRequest request,
HttpFilterChain.ResponseTrigger responseTrigger,
HttpContext context) |
void |
TerminalServerFilter.handle(ClassicHttpRequest request,
HttpFilterChain.ResponseTrigger responseTrigger,
HttpContext context,
HttpFilterChain chain) |
void |
HttpServerExpectationFilter.handle(ClassicHttpRequest request,
HttpFilterChain.ResponseTrigger responseTrigger,
HttpContext context,
HttpFilterChain chain) |
void |
AbstractHttpServerAuthFilter.handle(ClassicHttpRequest request,
HttpFilterChain.ResponseTrigger responseTrigger,
HttpContext context,
HttpFilterChain chain) |
void |
HttpServerFilterChainRequestHandler.handle(ClassicHttpRequest request,
HttpServerRequestHandler.ResponseTrigger trigger,
HttpContext context) |
void |
BasicHttpServerRequestHandler.handle(ClassicHttpRequest request,
HttpServerRequestHandler.ResponseTrigger responseTrigger,
HttpContext context) |
void |
BasicHttpServerExpectationDecorator.handle(ClassicHttpRequest request,
HttpServerRequestHandler.ResponseTrigger responseTrigger,
HttpContext context) |
protected abstract T |
AbstractHttpServerAuthFilter.parseChallengeResponse(String authorizationValue,
HttpContext context)
Parses authorization header value into an authentication token sent by the client
as a response to an authentication challenge.
|
protected boolean |
HttpServerExpectationFilter.verify(ClassicHttpRequest request,
HttpContext context)
Verifies the HTTP request and decides whether it meets server expectations and the request
processing can continue.
|
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 |
AsyncRequestConsumer.consumeRequest(HttpRequest request,
EntityDetails entityDetails,
HttpContext context,
FutureCallback<T> resultCallback)
Triggered to signal receipt of a request message head.
|
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.
|
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 |
AsyncServerRequestHandler.handle(T requestObject,
AsyncServerRequestHandler.ResponseTrigger responseTrigger,
HttpContext context)
Triggered to handles the request object produced by the
AsyncRequestConsumer returned
from the AsyncServerRequestHandler.prepare(HttpRequest, EntityDetails, HttpContext) method. |
void |
AsyncServerExchangeHandler.handleRequest(HttpRequest request,
EntityDetails entityDetails,
ResponseChannel responseChannel,
HttpContext context)
Processes the actual HTTP request.
|
void |
AsyncResponseConsumer.informationResponse(HttpResponse response,
HttpContext context)
Triggered to signal receipt of an intermediate (1xx) HTTP response.
|
T |
NHttpMessageParser.parse(SessionInputBuffer buffer,
boolean endOfStream)
Attempts to parse a complete message head from the content of the
internal buffer.
|
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 |
AsyncClientExchangeHandler.produceRequest(RequestChannel channel,
HttpContext context)
Triggered to signal the ability of the underlying request channel
to accept a request messages.
|
void |
AsyncPushProducer.produceResponse(ResponseChannel channel,
HttpContext context)
Triggered to signal the ability of the underlying response channel
to accept response messages.
|
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 |
AsyncFilterChain.ResponseTrigger.sendInformation(HttpResponse response)
Sends an intermediate informational HTTP response to the client.
|
void |
AsyncServerRequestHandler.ResponseTrigger.sendInformation(HttpResponse response,
HttpContext context)
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 |
RequestChannel.sendRequest(HttpRequest request,
EntityDetails entityDetails,
HttpContext context)
Sends a request through this channel.
|
void |
AsyncRequestProducer.sendRequest(RequestChannel channel,
HttpContext context)
Triggered to signal the ability of the underlying request channel
to accept a request messages.
|
void |
ResponseChannel.sendResponse(HttpResponse response,
EntityDetails entityDetails,
HttpContext context)
Sends a final HTTP response through this channel.
|
void |
AsyncResponseProducer.sendResponse(ResponseChannel channel,
HttpContext context)
Triggered to signal the ability of the underlying response channel
to accept response messages.
|
void |
AsyncDataConsumer.streamEnd(List<? extends Header> trailers)
Triggered to signal termination of the data stream.
|
void |
AsyncEntityConsumer.streamStart(EntityDetails entityDetails,
FutureCallback<T> resultCallback)
Signals beginning of an incoming request entity stream.
|
void |
AsyncServerRequestHandler.ResponseTrigger.submitResponse(AsyncResponseProducer responseProducer,
HttpContext context)
Sends a final HTTP response to the client.
|
void |
AsyncFilterChain.ResponseTrigger.submitResponse(HttpResponse response,
AsyncEntityProducer entityProducer)
Sends a final HTTP response to the client.
|
void |
NHttpMessageWriter.write(T message,
SessionOutputBuffer buffer)
Writes out the HTTP message head.
|
Modifier and Type | Method and Description |
---|---|
void |
DigestingEntityConsumer.streamEnd(List<? extends Header> trailers) |
void |
AbstractCharDataConsumer.streamEnd(List<? extends Header> trailers) |
void |
AbstractBinDataConsumer.streamEnd(List<? extends Header> trailers) |
protected void |
BasicAsyncEntityConsumer.streamStart(ContentType contentType) |
protected void |
StringAsyncEntityConsumer.streamStart(ContentType contentType) |
protected abstract void |
AbstractCharAsyncEntityConsumer.streamStart(ContentType contentType)
Triggered to signal beginning of entity content stream.
|
protected abstract void |
AbstractBinAsyncEntityConsumer.streamStart(ContentType contentType)
Triggered to signal beginning of entity content stream.
|
void |
DigestingEntityConsumer.streamStart(EntityDetails entityDetails,
FutureCallback<T> resultCallback) |
void |
AbstractCharAsyncEntityConsumer.streamStart(EntityDetails entityDetails,
FutureCallback<T> resultCallback) |
void |
AbstractBinAsyncEntityConsumer.streamStart(EntityDetails entityDetails,
FutureCallback<T> resultCallback) |
void |
NoopEntityConsumer.streamStart(EntityDetails entityDetails,
FutureCallback<Void> resultCallback) |
Modifier and Type | Method and Description |
---|---|
void |
BasicClientExchangeHandler.consumeInformation(HttpResponse response,
HttpContext httpContext) |
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) |
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) |
AsyncServerExchangeHandler |
AsyncServerFilterChainExchangeHandlerFactory.create(HttpRequest request,
HttpContext context) |
AsyncServerExchangeHandler |
DefaultAsyncResponseExchangeHandlerFactory.create(HttpRequest request,
HttpContext context) |
protected AsyncEntityProducer |
AsyncServerExpectationFilter.generateResponseContent(HttpResponse expectationFailed) |
AsyncDataConsumer |
AsyncServerFilterChainElement.handle(HttpRequest request,
EntityDetails entityDetails,
HttpContext context,
AsyncFilterChain.ResponseTrigger responseTrigger) |
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) |
AsyncDataConsumer |
AsyncServerExpectationFilter.handle(HttpRequest request,
EntityDetails entityDetails,
HttpContext context,
AsyncFilterChain.ResponseTrigger responseTrigger,
AsyncFilterChain chain) |
protected void |
BasicServerExchangeHandler.handle(T requestMessage,
AsyncServerRequestHandler.ResponseTrigger responseTrigger,
HttpContext context) |
protected abstract void |
AbstractServerExchangeHandler.handle(T requestMessage,
AsyncServerRequestHandler.ResponseTrigger responseTrigger,
HttpContext context)
Triggered to handles the request object produced by the
AsyncRequestConsumer returned
from the AbstractServerExchangeHandler.supplyConsumer(HttpRequest, EntityDetails, HttpContext) method. |
void |
AbstractServerExchangeHandler.handleRequest(HttpRequest request,
EntityDetails entityDetails,
ResponseChannel responseChannel,
HttpContext context) |
void |
ImmediateResponseExchangeHandler.handleRequest(HttpRequest request,
EntityDetails entityDetails,
ResponseChannel responseChannel,
HttpContext context) |
void |
BasicAsyncServerExpectationDecorator.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.
|
void |
BasicResponseConsumer.informationResponse(HttpResponse response,
HttpContext httpContext) |
protected abstract T |
AbstractAsyncServerAuthFilter.parseChallengeResponse(String authorizationValue,
HttpContext context)
Parses authorization header value into an authentication token sent by the client
as a response to an authentication challenge.
|
void |
BasicClientExchangeHandler.produceRequest(RequestChannel requestChannel,
HttpContext httpContext) |
void |
BasicPushProducer.produceResponse(ResponseChannel channel,
HttpContext httpContext) |
void |
BasicRequestProducer.sendRequest(RequestChannel requestChannel,
HttpContext httpContext) |
void |
BasicResponseProducer.sendResponse(ResponseChannel responseChannel,
HttpContext httpContext) |
void |
AbstractAsyncResponseConsumer.streamEnd(List<? extends Header> trailers) |
void |
BasicResponseConsumer.streamEnd(List<? extends Header> trailers) |
void |
AbstractAsyncRequesterConsumer.streamEnd(List<? extends Header> trailers) |
void |
BasicClientExchangeHandler.streamEnd(List<? extends Header> trailers) |
void |
BasicRequestConsumer.streamEnd(List<? extends Header> trailers) |
void |
AbstractAsyncPushHandler.streamEnd(List<? extends Header> trailers) |
void |
AbstractServerExchangeHandler.streamEnd(List<? extends Header> trailers) |
void |
ImmediateResponseExchangeHandler.streamEnd(List<? extends Header> trailers) |
void |
BasicAsyncServerExpectationDecorator.streamEnd(List<? extends Header> trailers) |
protected AsyncRequestConsumer<T> |
BasicServerExchangeHandler.supplyConsumer(HttpRequest request,
EntityDetails entityDetails,
HttpContext context) |
protected abstract AsyncRequestConsumer<T> |
AbstractServerExchangeHandler.supplyConsumer(HttpRequest request,
EntityDetails entityDetails,
HttpContext context)
Triggered to supply a request consumer to process the incoming request.
|
protected AsyncResponseProducer |
BasicAsyncServerExpectationDecorator.verify(HttpRequest request,
HttpContext context) |
protected boolean |
AsyncServerExpectationFilter.verify(HttpRequest request,
HttpContext context) |
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) |
void |
AbstractClassicEntityConsumer.streamEnd(List<? extends Header> trailers) |
void |
AbstractClassicServerExchangeHandler.streamEnd(List<? extends Header> trailers) |
void |
AbstractClassicEntityConsumer.streamStart(EntityDetails entityDetails,
FutureCallback<T> resultCallback) |
Modifier and Type | Method and Description |
---|---|
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 |
RequestExpectContinue.process(HttpRequest request,
EntityDetails entity,
HttpContext context) |
void |
RequestUserAgent.process(HttpRequest request,
EntityDetails entity,
HttpContext context) |
void |
RequestTargetHost.process(HttpRequest request,
EntityDetails entity,
HttpContext context) |
void |
DefaultHttpProcessor.process(HttpRequest request,
EntityDetails entity,
HttpContext context) |
void |
RequestValidateHost.process(HttpRequest request,
EntityDetails entity,
HttpContext context) |
void |
ResponseContent.process(HttpResponse response,
EntityDetails entity,
HttpContext context)
Processes the response (possibly updating or inserting) Content-Length and Transfer-Encoding headers.
|
void |
ResponseDate.process(HttpResponse response,
EntityDetails entity,
HttpContext context) |
void |
ResponseServer.process(HttpResponse response,
EntityDetails entity,
HttpContext context) |
void |
ResponseConnControl.process(HttpResponse response,
EntityDetails entity,
HttpContext context) |
void |
DefaultHttpProcessor.process(HttpResponse response,
EntityDetails entity,
HttpContext context) |
Modifier and Type | Method and Description |
---|---|
T |
H2MessageConverter.convert(List<Header> headers)
Converts given list of HTTP/2 headers to a
HttpMessage . |
List<Header> |
H2MessageConverter.convert(T message)
Converts given
HttpMessage to a list of HTTP/2 headers. |
Modifier and Type | Class and Description |
---|---|
class |
HeaderListConstraintException
Signals a header list constraint violation.
|
class |
HPackException
Signals HPACK protocol violation.
|
Modifier and Type | Method and Description |
---|---|
List<Header> |
DefaultH2RequestConverter.convert(HttpRequest message) |
List<Header> |
DefaultH2ResponseConverter.convert(HttpResponse message) |
HttpResponse |
DefaultH2ResponseConverter.convert(List<Header> headers) |
HttpRequest |
DefaultH2RequestConverter.convert(List<Header> headers) |
Modifier and Type | Method and Description |
---|---|
void |
AsyncPingHandler.consumeResponse(ByteBuffer feedback)
Triggered to signal receipt of a ping response message.
|
Modifier and Type | Method and Description |
---|---|
void |
BasicPingHandler.consumeResponse(ByteBuffer feedback) |
AsyncPushConsumer |
DefaultAsyncPushConsumerFactory.create(HttpRequest request,
HttpContext context) |
Modifier and Type | Method and Description |
---|---|
void |
H2RequestContent.process(HttpRequest request,
EntityDetails entity,
HttpContext context) |
void |
H2RequestConnControl.process(HttpRequest request,
EntityDetails entity,
HttpContext context) |
void |
H2RequestTargetHost.process(HttpRequest request,
EntityDetails entity,
HttpContext context) |
void |
H2RequestValidateHost.process(HttpRequest request,
EntityDetails entity,
HttpContext context) |
void |
H2ResponseConnControl.process(HttpResponse response,
EntityDetails entity,
HttpContext context) |
void |
H2ResponseContent.process(HttpResponse response,
EntityDetails entity,
HttpContext context) |
Modifier and Type | Method and Description |
---|---|
void |
ReactiveServerExchangeHandler.handleRequest(HttpRequest request,
EntityDetails entityDetails,
ResponseChannel responseChannel,
HttpContext context) |
void |
ReactiveRequestProcessor.processRequest(HttpRequest request,
EntityDetails entityDetails,
ResponseChannel responseChannel,
HttpContext context,
org.reactivestreams.Publisher<ByteBuffer> requestBody,
Callback<org.reactivestreams.Publisher<ByteBuffer>> responseBodyCallback)
Processes the actual HTTP request.
|
void |
ReactiveServerExchangeHandler.streamEnd(List<? extends Header> trailers) |
Modifier and Type | Method and Description |
---|---|
ClassicHttpResponse |
ClassicTestClient.execute(HttpHost targetHost,
ClassicHttpRequest request,
HttpContext context) |
Modifier and Type | Method and Description |
---|---|
void |
TestingFrameworkRequestHandler.handle(ClassicHttpRequest request,
ClassicHttpResponse response,
HttpContext context)
Checks the HTTP request against the requestExpectations that it was previously given.
|
Modifier and Type | Method and Description |
---|---|
void |
ReactiveRandomProcessor.processRequest(HttpRequest request,
EntityDetails entityDetails,
ResponseChannel responseChannel,
HttpContext context,
org.reactivestreams.Publisher<ByteBuffer> requestBody,
Callback<org.reactivestreams.Publisher<ByteBuffer>> responseBodyCallback) |
void |
ReactiveEchoProcessor.processRequest(HttpRequest request,
EntityDetails entityDetails,
ResponseChannel responseChannel,
HttpContext context,
org.reactivestreams.Publisher<ByteBuffer> requestBody,
Callback<org.reactivestreams.Publisher<ByteBuffer>> responseBodyFuture) |
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.