Uses of Class
org.eclipse.jetty.client.HttpExchange
Package
Description
Jetty Client : Implementation and Core Classes
This package provides APIs, utility classes and an implementation of an asynchronous HTTP client.
-
Uses of HttpExchange in org.eclipse.jetty.client
Modifier and TypeMethodDescriptionHttpChannel.getHttpExchange()
protected HttpExchange
HttpReceiver.getHttpExchange()
protected HttpExchange
HttpSender.getHttpExchange()
Modifier and TypeMethodDescriptionHttpConversation.getExchanges()
HttpDestination.getHttpExchanges()
protected Queue<HttpExchange>
HttpDestination.newExchangeQueue
(HttpClient client) Modifier and TypeMethodDescriptionboolean
HttpChannel.abort
(HttpExchange exchange, Throwable requestFailure, Throwable responseFailure) boolean
HttpReceiver.abort
(HttpExchange exchange, Throwable failure) boolean
HttpSender.abort
(HttpExchange exchange, Throwable failure) boolean
HttpChannel.abortResponse
(HttpExchange exchange, Throwable failure) default void
ContentDecoder.afterDecoding
(HttpExchange exchange) Processes the exchange after the response content has been decoded.void
GZIPContentDecoder.afterDecoding
(HttpExchange exchange) boolean
HttpChannel.associate
(HttpExchange exchange) Associates the givenexchange
to this channel in order to be sent over the network.default void
ContentDecoder.beforeDecoding
(HttpExchange exchange) Processes the exchange just before the decoding of the response content.void
GZIPContentDecoder.beforeDecoding
(HttpExchange exchange) protected boolean
HttpSender.beginToHeaders
(HttpExchange exchange) boolean
HttpChannel.disassociate
(HttpExchange exchange) protected boolean
HttpDestination.enqueue
(Queue<HttpExchange> queue, HttpExchange exchange) void
HttpChannel.exchangeTerminated
(HttpExchange exchange, Result result) HttpChannel.exchangeTerminating
(HttpExchange exchange, Result result) protected boolean
HttpSender.headersToCommit
(HttpExchange exchange) void
HttpChannel.proceed
(HttpExchange exchange, Throwable failure) void
HttpSender.proceed
(HttpExchange exchange, Throwable failure) protected boolean
HttpSender.queuedToBegin
(HttpExchange exchange) boolean
HttpDestination.remove
(HttpExchange exchange) protected boolean
HttpReceiver.responseBegin
(HttpExchange exchange) Method to be invoked when the response status code is available.protected boolean
HttpReceiver.responseContent
(HttpExchange exchange, ByteBuffer buffer, Callback callback) Method to be invoked when response HTTP content is available.protected boolean
HttpReceiver.responseHeader
(HttpExchange exchange, HttpField field) Method to be invoked when a response HTTP header is available.protected boolean
HttpReceiver.responseHeaders
(HttpExchange exchange) Method to be invoked after all response HTTP headers are available.protected boolean
HttpReceiver.responseSuccess
(HttpExchange exchange) Method to be invoked when the response is successful.abstract void
HttpChannel.send
(HttpExchange exchange) protected SendFailure
HttpConnection.send
(HttpChannel channel, HttpExchange exchange) void
HttpDestination.send
(HttpExchange exchange) protected SendFailure
HttpDestination.send
(IConnection connection, HttpExchange exchange) void
HttpSender.send
(HttpExchange exchange) IConnection.send
(HttpExchange exchange) protected abstract void
HttpSender.sendContent
(HttpExchange exchange, ByteBuffer contentBuffer, boolean lastContent, Callback callback) Implementations should send the given HTTP content over the wire.protected abstract void
HttpSender.sendHeaders
(HttpExchange exchange, ByteBuffer contentBuffer, boolean lastContent, Callback callback) Implementations should send the HTTP headers over the wire, possibly with some content, in a single write, and notify the givencallback
of the result of this operation.protected boolean
HttpSender.someToContent
(HttpExchange exchange, ByteBuffer content) protected boolean
HttpSender.someToSuccess
(HttpExchange exchange) Modifier and TypeMethodDescriptionprotected boolean
HttpDestination.enqueue
(Queue<HttpExchange> queue, HttpExchange exchange) -
Uses of HttpExchange in org.eclipse.jetty.client.http
Modifier and TypeMethodDescriptionvoid
HttpChannelOverHTTP.exchangeTerminated
(HttpExchange exchange, Result result) void
HttpChannelOverHTTP.send
(HttpExchange exchange) HttpConnectionOverHTTP.send
(HttpExchange exchange) protected void
HttpSenderOverHTTP.sendContent
(HttpExchange exchange, ByteBuffer contentBuffer, boolean lastContent, Callback callback) protected void
HttpSenderOverHTTP.sendHeaders
(HttpExchange exchange, ByteBuffer contentBuffer, boolean lastContent, Callback callback) -
Uses of HttpExchange in org.eclipse.jetty.fcgi.client.http
Modifier and TypeMethodDescriptionvoid
HttpChannelOverFCGI.exchangeTerminated
(HttpExchange exchange, Result result) protected boolean
HttpReceiverOverFCGI.responseBegin
(HttpExchange exchange) protected boolean
HttpReceiverOverFCGI.responseContent
(HttpExchange exchange, ByteBuffer buffer, Callback callback) protected boolean
HttpReceiverOverFCGI.responseHeader
(HttpExchange exchange, HttpField field) protected boolean
HttpReceiverOverFCGI.responseHeaders
(HttpExchange exchange) protected boolean
HttpReceiverOverFCGI.responseSuccess
(HttpExchange exchange) void
HttpChannelOverFCGI.send
(HttpExchange exchange) HttpConnectionOverFCGI.send
(HttpExchange exchange) protected void
HttpSenderOverFCGI.sendContent
(HttpExchange exchange, ByteBuffer contentBuffer, boolean lastContent, Callback callback) protected void
HttpSenderOverFCGI.sendHeaders
(HttpExchange exchange, ByteBuffer contentBuffer, boolean lastContent, Callback callback) -
Uses of HttpExchange in org.eclipse.jetty.http2.client.http
Modifier and TypeMethodDescriptionvoid
HttpChannelOverHTTP2.exchangeTerminated
(HttpExchange exchange, Result result) void
HttpChannelOverHTTP2.send
(HttpExchange exchange) HttpConnectionOverHTTP2.send
(HttpExchange exchange) protected void
HttpSenderOverHTTP2.sendContent
(HttpExchange exchange, ByteBuffer contentBuffer, boolean lastContent, Callback callback) protected void
HttpSenderOverHTTP2.sendHeaders
(HttpExchange exchange, ByteBuffer contentBuffer, boolean lastContent, Callback callback)