Modifier and Type | Class and Description |
---|---|
pack-priv static class | |
private static class | |
pack-priv static class |
Modifier and Type | Field and Description |
---|---|
pack-priv final AccessControlContext | acc
References Deprecated
AccessControlContext is deprecated or references (maybe indirectly) at least one deprecated element.
|
pack-priv final AtomicInteger | |
pack-priv volatile boolean | |
pack-priv final HttpClientImpl | |
private final MultiExchange. | |
pack-priv HttpRequestImpl | |
pack-priv static final Logger | |
pack-priv static final int | |
pack-priv Exchange | |
pack-priv final HttpClientImpl. | |
pack-priv volatile boolean | |
private final List | |
pack-priv AtomicReference | |
pack-priv static final int | |
pack-priv volatile int | |
pack-priv Exchange | |
pack-priv HttpRequestImpl | |
pack-priv volatile AuthenticationFilter. | proxyauth
Filter fields. |
pack-priv final PushGroup | |
private final HttpRequestImpl | |
pack-priv volatile HttpResponse | |
pack-priv final HttpResponse. | |
pack-priv volatile ResponseTimerEvent | |
private static final boolean | RETRY_ALWAYS
True if ALL ( even non-idempotent ) requests can be automatic retried. |
pack-priv static final boolean | RETRY_CONNECT
True if ConnectException should cause a retry. |
pack-priv volatile Throwable | |
pack-priv volatile AuthenticationFilter. | serverauth
Filter fields. |
private final HttpRequest |
Access | Constructor and Description |
---|---|
pack-priv | MultiExchange(HttpRequest userRequest, HttpRequestImpl requestImpl, HttpClientImpl client, HttpResponse.
References Deprecated
AccessControlContext is deprecated or references (maybe indirectly) at least one deprecated element.
MultiExchange with one final response. |
Modifier and Type | Method and Description |
---|---|
private boolean | |
private static boolean | |
public void | |
public boolean | Returns: true if the exchange was cancelled, false otherwise.if true, and this exchange is not already
cancelled, this method will attempt to interrupt and cancel the
exchange. Otherwise, the exchange is allowed to proceed and this
method does nothing. mayInterruptIfRunning)Implements jdk. Used to relay a call from |
private void | |
private static boolean | |
pack-priv HttpClientImpl | |
private static boolean | |
private CompletableFuture | getExceptionalCF(Throwable t)
Takes a Throwable and returns a suitable CompletableFuture that is completed exceptionally, or null. |
pack-priv synchronized Exchange | |
private CompletableFuture | |
private static boolean | |
public <U> MinimalFuture | |
public Optional | |
pack-priv boolean | |
private void | |
public CompletableFuture | |
private CompletableFuture | |
private CompletableFuture | |
private HttpRequestImpl | |
private Throwable | |
private boolean | |
private static boolean | |
private void | |
private HttpTimeoutException | |
pack-priv HttpClient. | |
private CompletableFuture | |
private Throwable |
acc | back to summary |
---|---|
pack-priv final AccessControlContext acc
References Deprecated
See corresponding docs for further information.
|
attempts | back to summary |
---|---|
pack-priv final AtomicInteger attempts |
cancelled | back to summary |
---|---|
pack-priv volatile boolean cancelled |
client | back to summary |
---|---|
pack-priv final HttpClientImpl client |
connectTimeout | back to summary |
---|---|
private final MultiExchange. |
currentreq | back to summary |
---|---|
pack-priv HttpRequestImpl currentreq |
debug | back to summary |
---|---|
pack-priv static final Logger debug |
DEFAULT_MAX_ATTEMPTS | back to summary |
---|---|
pack-priv static final int DEFAULT_MAX_ATTEMPTS |
exchange | back to summary |
---|---|
pack-priv Exchange<T> exchange |
executor | back to summary |
---|---|
pack-priv final HttpClientImpl. |
expiredOnce | back to summary |
---|---|
pack-priv volatile boolean expiredOnce |
filters | back to summary |
---|---|
private final List<HeaderFilter> filters |
interrupted | back to summary |
---|---|
pack-priv AtomicReference<CancellationException> interrupted |
max_attempts | back to summary |
---|---|
pack-priv static final int max_attempts |
numberOfRedirects | back to summary |
---|---|
pack-priv volatile int numberOfRedirects |
previous | back to summary |
---|---|
pack-priv Exchange<T> previous |
previousreq | back to summary |
---|---|
pack-priv HttpRequestImpl previousreq |
proxyauth | back to summary |
---|---|
pack-priv volatile AuthenticationFilter. Filter fields. These are attached as required by filters and only used by the filter implementations. This could be generalised into Objects that are passed explicitly to the filters (one per MultiExchange object, and one per Exchange object possibly) |
pushGroup | back to summary |
---|---|
pack-priv final PushGroup<T> pushGroup |
request | back to summary |
---|---|
private final HttpRequestImpl request |
response | back to summary |
---|---|
pack-priv volatile HttpResponse<T> response |
responseHandler | back to summary |
---|---|
pack-priv final HttpResponse. |
responseTimerEvent | back to summary |
---|---|
pack-priv volatile ResponseTimerEvent responseTimerEvent |
RETRY_ALWAYS | back to summary |
---|---|
private static final boolean RETRY_ALWAYS True if ALL ( even non-idempotent ) requests can be automatic retried. |
RETRY_CONNECT | back to summary |
---|---|
pack-priv static final boolean RETRY_CONNECT True if ConnectException should cause a retry. Enabled by default |
retryCause | back to summary |
---|---|
pack-priv volatile Throwable retryCause |
serverauth | back to summary |
---|---|
pack-priv volatile AuthenticationFilter. Filter fields. These are attached as required by filters and only used by the filter implementations. This could be generalised into Objects that are passed explicitly to the filters (one per MultiExchange object, and one per Exchange object possibly) |
userRequest | back to summary |
---|---|
private final HttpRequest userRequest |
MultiExchange | back to summary |
---|---|
pack-priv MultiExchange(HttpRequest userRequest, HttpRequestImpl requestImpl, HttpClientImpl client, HttpResponse. References Deprecated
See corresponding docs for further information. MultiExchange with one final response. |
bodyIsPresent | back to summary |
---|---|
private boolean bodyIsPresent(Response r) |
bodyNotPermitted | back to summary |
---|---|
private static boolean bodyNotPermitted(Response r) |
cancel | back to summary |
---|---|
public void cancel(IOException cause) |
cancel | back to summary |
---|---|
public boolean cancel(boolean mayInterruptIfRunning) Implements jdk. Used to relay a call from
|
cancelTimer | back to summary |
---|---|
private void cancelTimer() |
canRetryRequest | back to summary |
---|---|
private static boolean canRetryRequest(HttpRequest request) Returns true if the given request can be automatically retried. |
client | back to summary |
---|---|
pack-priv HttpClientImpl client() |
disableRetryConnect | back to summary |
---|---|
private static boolean disableRetryConnect() |
getExceptionalCF | back to summary |
---|---|
private CompletableFuture Takes a Throwable and returns a suitable CompletableFuture that is completed exceptionally, or null. |
getExchange | back to summary |
---|---|
pack-priv synchronized Exchange |
handleNoBody | back to summary |
---|---|
private CompletableFuture |
isIdempotentRequest | back to summary |
---|---|
private static boolean isIdempotentRequest(HttpRequest request) Returns true is given request has an idempotent method. |
newMinimalFuture | back to summary |
---|---|
public <U> MinimalFuture |
remainingConnectTimeout | back to summary |
---|---|
public Optional |
requestCancelled | back to summary |
---|---|
pack-priv boolean requestCancelled() |
requestFilters | back to summary |
---|---|
private void requestFilters(HttpRequestImpl r) throws IOException |
responseAsync | back to summary |
---|---|
public CompletableFuture |
responseAsync0 | back to summary |
---|---|
private CompletableFuture |
responseAsyncImpl | back to summary |
---|---|
private CompletableFuture |
responseFilters | back to summary |
---|---|
private HttpRequestImpl responseFilters(Response response) throws IOException |
retryCause | back to summary |
---|---|
private Throwable retryCause(Throwable t) |
retryOnFailure | back to summary |
---|---|
private boolean retryOnFailure(Throwable t) |
retryPostValue | back to summary |
---|---|
private static boolean retryPostValue() |
setExchange | back to summary |
---|---|
private void setExchange(Exchange<T> exchange) |
toTimeoutException | back to summary |
---|---|
private HttpTimeoutException toTimeoutException(IOException ioe) |
version | back to summary |
---|---|
pack-priv HttpClient. |
whenCancelled | back to summary |
---|---|
private CompletableFuture |
wrapIfCancelled | back to summary |
---|---|
private Throwable wrapIfCancelled(Throwable cause) |
Modifier and Type | Field and Description |
---|---|
private final WeakReference |
Access | Constructor and Description |
---|---|
pack-priv |
Modifier and Type | Method and Description |
---|---|
public boolean | cancel(boolean
true if an attempt to stop the
task should be made even if the task has already started; otherwise,
in-progress tasks are allowed to complete.Implements jdk. Attempts to cancel execution of a task. |
cancelableRef | back to summary |
---|---|
private final WeakReference<Cancelable> cancelableRef |
CancelableRef | back to summary |
---|---|
pack-priv CancelableRef(Cancelable cancelable) |
cancel | back to summary |
---|---|
public boolean cancel(boolean mayInterruptIfRunning) Implements jdk. Doc from jdk. Attempts to cancel execution of a task. This attempt may not succeed if the task has already completed, has already been cancelled, or could not be cancelled for some other reason.
|
Modifier and Type | Field and Description |
---|---|
pack-priv final Duration | |
pack-priv final AtomicLong |
Access | Constructor and Description |
---|---|
pack-priv |
Modifier and Type | Method and Description |
---|---|
pack-priv Duration | |
pack-priv void |
max | back to summary |
---|---|
pack-priv final Duration max |
startTime | back to summary |
---|---|
pack-priv final AtomicLong startTime |
ConnectTimeoutTracker | back to summary |
---|---|
pack-priv ConnectTimeoutTracker(Duration connectTimeout) |
getRemaining | back to summary |
---|---|
pack-priv Duration getRemaining() |
reset | back to summary |
---|---|
pack-priv void reset() |
Access | Constructor and Description |
---|---|
pack-priv |
Modifier and Type | Method and Description |
---|---|
public void | cancel()
Implements java. Causes the Subscriber to (eventually) stop receiving messages. |
public void | request(long
the increment of demand; a value of n)Long.MAX_VALUE may be considered as effectively unboundedImplements java. Adds the given number |
NullSubscription | back to summary |
---|---|
pack-priv NullSubscription() |
cancel | back to summary |
---|---|
public void cancel() Implements java. Doc from java. Causes the Subscriber to (eventually) stop receiving
messages. Implementation is best-effort -- additional
messages may be received after invoking this method.
A cancelled subscription need not ever receive an
|
request | back to summary |
---|---|
public void request(long n) Implements java. Doc from java. Adds the given number
|