| Modifier and Type | Class and Description |
|---|---|
| private class | HttpConnection.
Enforces the total timeout for requests that have been sent. |
| Modifier and Type | Field and Description |
|---|---|
| private Object | |
| private final HttpDestination | |
| private int | |
| private long | |
| private final AutoLock | |
| private static final Logger | |
| private final HttpConnection. |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| private StringBuilder | |
| public void | |
| public Object | |
| protected abstract Iterator | |
| public HttpClient | |
| public HttpDestination | |
| protected void | |
| public boolean | |
| public void | send(Request
the request to send request, Response.the response listener listenerImplements org. Sends a request with an associated response listener. |
| protected SendFailure | |
| public void | setAttachment(Object
the object to attach to this instance obj)Implements org. Attaches the given object to this stream for later retrieval. |
| public String |
| attachment | back to summary |
|---|---|
| private Object attachment | |
| destination | back to summary |
|---|---|
| private final HttpDestination destination | |
| idleTimeoutGuard | back to summary |
|---|---|
| private int idleTimeoutGuard | |
| idleTimeoutNanoTime | back to summary |
|---|---|
| private long idleTimeoutNanoTime | |
| lock | back to summary |
|---|---|
| private final AutoLock lock | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| requestTimeouts | back to summary |
|---|---|
| private final HttpConnection. | |
| HttpConnection | back to summary |
|---|---|
| protected HttpConnection(HttpDestination destination) | |
| applyProxyAuthentication | back to summary |
|---|---|
| private void applyProxyAuthentication(Request request, ProxyConfiguration. | |
| applyRequestAuthentication | back to summary |
|---|---|
| private void applyRequestAuthentication(Request request) | |
| convertCookies | back to summary |
|---|---|
| private StringBuilder convertCookies(List<HttpCookie> cookies, StringBuilder builder) | |
| destroy | back to summary |
|---|---|
| public void destroy() | |
| getAttachment | back to summary |
|---|---|
| public Object getAttachment() Implements org.
| |
| getHttpChannels | back to summary |
|---|---|
| protected abstract Iterator | |
| getHttpClient | back to summary |
|---|---|
| public HttpClient getHttpClient() | |
| getHttpDestination | back to summary |
|---|---|
| public HttpDestination getHttpDestination() | |
| normalizeRequest | back to summary |
|---|---|
| protected void normalizeRequest(HttpRequest request) | |
| onIdleTimeout | back to summary |
|---|---|
| public boolean onIdleTimeout(long idleTimeout, Throwable failure) | |
| send | back to summary |
|---|---|
| public void send(Request request, Response. Implements org. Doc from org. Sends a request with an associated response listener.
| |
| send | back to summary |
|---|---|
| protected SendFailure send(HttpChannel channel, HttpExchange exchange) | |
| setAttachment | back to summary |
|---|---|
| public void setAttachment(Object obj) Implements org. Doc from org. Attaches the given object to this stream for later retrieval. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
Enforces the total timeout for requests that have been sent.
The total timeout for exchanges that are in the destination queue
is enforced in HttpDestination.
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| protected Iterator | |
| protected boolean | onExpired(HttpChannel
the entity that is expired channel)Implements abstract org. Invoked during the iteration when the given entity is expired. |
| RequestTimeouts | back to summary |
|---|---|
| private RequestTimeouts(Scheduler scheduler) | |
| iterator | back to summary |
|---|---|
| protected Iterator Implements abstract org.
| |
| onExpired | back to summary |
|---|---|
| protected boolean onExpired(HttpChannel channel) Implements abstract org. Doc from org. Invoked during the iteration when the given entity is expired. This method may be invoked multiple times, and even concurrently, for the same expirable entity and therefore the expiration of the entity, if any, should be an idempotent action. When
| |