Index

A B C D G O R S V W 
All Classes and Interfaces|All Packages

A

ai.vespa.util.http.hc4 - package ai.vespa.util.http.hc4
 
ai.vespa.util.http.hc4.retry - package ai.vespa.util.http.hc4.retry
 
ai.vespa.util.http.hc5 - package ai.vespa.util.http.hc5
 

B

build() - Method in class ai.vespa.util.http.hc4.retry.DelayedConnectionLevelRetryHandler.Builder
 
build() - Method in class ai.vespa.util.http.hc4.retry.DelayedResponseLevelRetryHandler.Builder
 

C

connectTimeout - Static variable in class ai.vespa.util.http.hc5.DefaultHttpClientBuilder
 
create() - Static method in class ai.vespa.util.http.hc4.VespaHttpClientBuilder
Create a client builder with default connection manager.
create() - Static method in class ai.vespa.util.http.hc5.VespaAsyncHttpClientBuilder
 
create() - Static method in class ai.vespa.util.http.hc5.VespaHttpClientBuilder
 
create(VespaHttpClientBuilder.ConnectionManagerFactory) - Static method in class ai.vespa.util.http.hc4.VespaHttpClientBuilder
Create a client builder with a user specified connection manager.
create(VespaAsyncHttpClientBuilder.AsyncConnectionManagerFactory) - Static method in class ai.vespa.util.http.hc5.VespaAsyncHttpClientBuilder
 
create(VespaAsyncHttpClientBuilder.AsyncConnectionManagerFactory, HostnameVerifier) - Static method in class ai.vespa.util.http.hc5.VespaAsyncHttpClientBuilder
 
create(VespaHttpClientBuilder.HttpClientConnectionManagerFactory) - Static method in class ai.vespa.util.http.hc5.VespaHttpClientBuilder
 
create(VespaHttpClientBuilder.HttpClientConnectionManagerFactory, HostnameVerifier) - Static method in class ai.vespa.util.http.hc5.VespaHttpClientBuilder
 
create(VespaHttpClientBuilder.HttpClientConnectionManagerFactory, HostnameVerifier, boolean) - Static method in class ai.vespa.util.http.hc5.VespaHttpClientBuilder
 
create(Supplier<SSLContext>, String) - Static method in class ai.vespa.util.http.hc5.DefaultHttpClientBuilder
 
create(Supplier<SSLContext>, HostnameVerifier, String) - Static method in class ai.vespa.util.http.hc5.DefaultHttpClientBuilder
Creates an HTTP client builder with the given SSL context, and using the provided timeouts for requests where config is not overridden.
create(Registry<ConnectionSocketFactory>) - Method in interface ai.vespa.util.http.hc5.VespaHttpClientBuilder.HttpClientConnectionManagerFactory
 
create(TlsStrategy) - Method in interface ai.vespa.util.http.hc5.VespaAsyncHttpClientBuilder.AsyncConnectionManagerFactory
 
create(Registry<ConnectionSocketFactory>) - Method in interface ai.vespa.util.http.hc4.VespaHttpClientBuilder.ConnectionManagerFactory
 
createWithBasicConnectionManager() - Static method in class ai.vespa.util.http.hc4.VespaHttpClientBuilder
Creates a client builder with a BasicHttpClientConnectionManager configured.

D

Default() - Constructor for class ai.vespa.util.http.hc4.retry.Sleeper.Default
 
DefaultHttpClientBuilder - Class in ai.vespa.util.http.hc5
Like VespaHttpClientBuilder, but with standard TLS based on provided SSL context.
DelayedConnectionLevelRetryHandler - Class in ai.vespa.util.http.hc4.retry
A HttpRequestRetryHandler that supports delayed retries.
DelayedConnectionLevelRetryHandler.Builder - Class in ai.vespa.util.http.hc4.retry
 
DelayedResponseLevelRetryHandler - Class in ai.vespa.util.http.hc4.retry
A ServiceUnavailableRetryStrategy that supports delayed retries on any response types.
DelayedResponseLevelRetryHandler.Builder - Class in ai.vespa.util.http.hc4.retry
 

G

getRetryInterval() - Method in class ai.vespa.util.http.hc4.retry.DelayedResponseLevelRetryHandler
 

O

onRetry(RetryConsumer<IOException>) - Method in class ai.vespa.util.http.hc4.retry.DelayedConnectionLevelRetryHandler.Builder
 
onRetry(RetryConsumer<HttpResponse>) - Method in class ai.vespa.util.http.hc4.retry.DelayedResponseLevelRetryHandler.Builder
 
onRetry(T, Duration, int, HttpClientContext) - Method in interface ai.vespa.util.http.hc4.retry.RetryConsumer
 
onRetryFailed(RetryFailedConsumer<IOException>) - Method in class ai.vespa.util.http.hc4.retry.DelayedConnectionLevelRetryHandler.Builder
 
onRetryFailed(RetryFailedConsumer<HttpResponse>) - Method in class ai.vespa.util.http.hc4.retry.DelayedResponseLevelRetryHandler.Builder
 
onRetryFailed(T, int, HttpClientContext) - Method in interface ai.vespa.util.http.hc4.retry.RetryFailedConsumer
 

R

RetryConsumer<T> - Interface in ai.vespa.util.http.hc4.retry
Invoked before performing a delay and retry.
RetryFailedConsumer<T> - Interface in ai.vespa.util.http.hc4.retry
Invoked after the last retry has failed.
retryFor(RetryPredicate<IOException>) - Method in class ai.vespa.util.http.hc4.retry.DelayedConnectionLevelRetryHandler.Builder
 
retryFor(RetryPredicate<HttpResponse>) - Method in class ai.vespa.util.http.hc4.retry.DelayedResponseLevelRetryHandler.Builder
 
retryForExceptions(Predicate<IOException>) - Method in class ai.vespa.util.http.hc4.retry.DelayedConnectionLevelRetryHandler.Builder
 
retryForExceptions(List<Class<? extends IOException>>) - Method in class ai.vespa.util.http.hc4.retry.DelayedConnectionLevelRetryHandler.Builder
 
retryForResponses(Predicate<HttpResponse>) - Method in class ai.vespa.util.http.hc4.retry.DelayedResponseLevelRetryHandler.Builder
 
retryForStatusCodes(List<Integer>) - Method in class ai.vespa.util.http.hc4.retry.DelayedResponseLevelRetryHandler.Builder
 
RetryPredicate<T> - Interface in ai.vespa.util.http.hc4.retry
A predicate that determines whether an operation should be retried.
retryRequest(IOException, int, HttpContext) - Method in class ai.vespa.util.http.hc4.retry.DelayedConnectionLevelRetryHandler
 
retryRequest(HttpResponse, int, HttpContext) - Method in class ai.vespa.util.http.hc4.retry.DelayedResponseLevelRetryHandler
 

S

sleep(Duration) - Method in class ai.vespa.util.http.hc4.retry.Sleeper.Default
 
sleep(Duration) - Method in interface ai.vespa.util.http.hc4.retry.Sleeper
 
Sleeper - Interface in ai.vespa.util.http.hc4.retry
An abstraction used for mocking Thread.sleep(long) in unit tests.
Sleeper.Default - Class in ai.vespa.util.http.hc4.retry
 
socketTimeout - Static variable in class ai.vespa.util.http.hc5.DefaultHttpClientBuilder
 

V

VespaAsyncHttpClientBuilder - Class in ai.vespa.util.http.hc5
Async http client builder for internal Vespa communications over http/https.
VespaAsyncHttpClientBuilder() - Constructor for class ai.vespa.util.http.hc5.VespaAsyncHttpClientBuilder
 
VespaAsyncHttpClientBuilder.AsyncConnectionManagerFactory - Interface in ai.vespa.util.http.hc5
 
VespaHttpClientBuilder - Class in ai.vespa.util.http.hc4
Http client builder for internal Vespa communications over http/https.
VespaHttpClientBuilder - Class in ai.vespa.util.http.hc5
Sync HTTP client builder for internal Vespa communications over http/https. Configures Vespa mTLS and handles TLS mixed mode automatically.
VespaHttpClientBuilder() - Constructor for class ai.vespa.util.http.hc5.VespaHttpClientBuilder
 
VespaHttpClientBuilder.ConnectionManagerFactory - Interface in ai.vespa.util.http.hc4
 
VespaHttpClientBuilder.HttpClientConnectionManagerFactory - Interface in ai.vespa.util.http.hc5
 

W

withExponentialBackoff(Duration, Duration, int) - Static method in class ai.vespa.util.http.hc4.retry.DelayedConnectionLevelRetryHandler.Builder
 
withExponentialBackoff(Duration, Duration, int) - Static method in class ai.vespa.util.http.hc4.retry.DelayedResponseLevelRetryHandler.Builder
 
withFixedDelay(Duration, int) - Static method in class ai.vespa.util.http.hc4.retry.DelayedConnectionLevelRetryHandler.Builder
 
withFixedDelay(Duration, int) - Static method in class ai.vespa.util.http.hc4.retry.DelayedResponseLevelRetryHandler.Builder
 
A B C D G O R S V W 
All Classes and Interfaces|All Packages