Package | Description |
---|---|
org.eclipse.jetty.client |
Jetty Client : Implementation and Core Classes
This package provides APIs, utility classes and an implementation of an asynchronous HTTP client.
|
org.eclipse.jetty.client.http | |
org.eclipse.jetty.fcgi.client.http | |
org.eclipse.jetty.http2.client.http |
Modifier and Type | Method and Description |
---|---|
protected HttpExchange |
HttpSender.getHttpExchange() |
protected HttpExchange |
HttpReceiver.getHttpExchange() |
HttpExchange |
HttpChannel.getHttpExchange() |
Modifier and Type | Method and Description |
---|---|
Deque<HttpExchange> |
HttpConversation.getExchanges() |
Queue<HttpExchange> |
HttpDestination.getHttpExchanges() |
protected Queue<HttpExchange> |
HttpDestination.newExchangeQueue(HttpClient client) |
Modifier and Type | Method and Description |
---|---|
boolean |
HttpSender.abort(HttpExchange exchange,
Throwable failure) |
boolean |
HttpReceiver.abort(HttpExchange exchange,
Throwable failure) |
boolean |
HttpChannel.abort(HttpExchange exchange,
Throwable requestFailure,
Throwable responseFailure) |
boolean |
HttpChannel.abortResponse(HttpExchange exchange,
Throwable failure) |
boolean |
HttpChannel.associate(HttpExchange exchange)
Associates the given
exchange to this channel in order to be sent over the network. |
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) |
Result |
HttpChannel.exchangeTerminating(HttpExchange exchange,
Result result) |
protected boolean |
HttpSender.headersToCommit(HttpExchange exchange) |
void |
HttpSender.proceed(HttpExchange exchange,
Throwable failure) |
void |
HttpChannel.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.
|
protected abstract SendFailure |
HttpDestination.send(Connection connection,
HttpExchange exchange) |
protected SendFailure |
HttpConnection.send(HttpChannel channel,
HttpExchange exchange) |
void |
HttpSender.send(HttpExchange exchange) |
protected abstract SendFailure |
HttpConnection.send(HttpExchange exchange) |
protected abstract void |
HttpSender.sendContent(HttpExchange exchange,
HttpContent content,
Callback callback)
Implementations should send the content at the
HttpContent cursor position over the wire. |
protected abstract void |
HttpSender.sendHeaders(HttpExchange exchange,
HttpContent content,
Callback callback)
Implementations should send the HTTP headers over the wire, possibly with some content,
in a single write, and notify the given
callback of the result of this operation. |
protected boolean |
HttpSender.someToContent(HttpExchange exchange,
ByteBuffer content) |
protected boolean |
HttpSender.someToSuccess(HttpExchange exchange) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
HttpDestination.enqueue(Queue<HttpExchange> queue,
HttpExchange exchange) |
Modifier and Type | Method and Description |
---|---|
void |
HttpChannelOverHTTP.exchangeTerminated(HttpExchange exchange,
Result result) |
Result |
HttpChannelOverHTTP.exchangeTerminating(HttpExchange exchange,
Result result) |
protected SendFailure |
HttpDestinationOverHTTP.send(Connection connection,
HttpExchange exchange) |
protected SendFailure |
HttpConnectionOverHTTP.send(HttpExchange exchange) |
protected void |
HttpSenderOverHTTP.sendContent(HttpExchange exchange,
HttpContent content,
Callback callback) |
protected void |
HttpSenderOverHTTP.sendHeaders(HttpExchange exchange,
HttpContent content,
Callback callback) |
Modifier and Type | Method and Description |
---|---|
void |
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) |
protected SendFailure |
MultiplexHttpDestinationOverFCGI.send(Connection connection,
HttpExchange exchange) |
protected SendFailure |
HttpDestinationOverFCGI.send(Connection connection,
HttpExchange exchange) |
protected SendFailure |
HttpConnectionOverFCGI.send(HttpExchange exchange) |
protected void |
HttpSenderOverFCGI.sendContent(HttpExchange exchange,
HttpContent content,
Callback callback) |
protected void |
HttpSenderOverFCGI.sendHeaders(HttpExchange exchange,
HttpContent content,
Callback callback) |
Modifier and Type | Method and Description |
---|---|
boolean |
HttpChannelOverHTTP2.abort(HttpExchange exchange,
Throwable requestFailure,
Throwable responseFailure) |
void |
HttpChannelOverHTTP2.exchangeTerminated(HttpExchange exchange,
Result result) |
protected SendFailure |
HttpDestinationOverHTTP2.send(Connection connection,
HttpExchange exchange) |
protected SendFailure |
HttpConnectionOverHTTP2.send(HttpExchange exchange) |
protected void |
HttpSenderOverHTTP2.sendContent(HttpExchange exchange,
HttpContent content,
Callback callback) |
protected void |
HttpSenderOverHTTP2.sendHeaders(HttpExchange exchange,
HttpContent content,
Callback callback) |
Copyright © 1995–2017 Webtide. All rights reserved.