Class ConnectionParams
java.lang.Object
com.yahoo.vespa.http.client.config.ConnectionParams
Connection level parameters.
This class is immutable
and has no public constructor - to instantiate one, use a
ConnectionParams.Builder
.- Author:
- Einar M R Rosenvinge
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Builder forConnectionParams
.static interface
A header provider that provides a header value. -
Method Summary
Modifier and TypeMethodDescriptionint
long
int
boolean
int
int
int
boolean
boolean
isDryRun()
boolean
boolean
-
Method Details
-
getSslContext
-
getHostnameVerifier
-
getHeaders
-
getDynamicHeaders
-
getNumPersistentConnectionsPerEndpoint
public int getNumPersistentConnectionsPerEndpoint() -
getProxyHost
-
getProxyPort
public int getProxyPort() -
getUseCompression
public boolean getUseCompression() -
getMaxRetries
public int getMaxRetries() -
getMinTimeBetweenRetriesMs
public long getMinTimeBetweenRetriesMs() -
isDryRun
public boolean isDryRun() -
runThreads
public boolean runThreads() -
getTraceLevel
public int getTraceLevel() -
getTraceEveryXOperation
public int getTraceEveryXOperation() -
getPrintTraceToStdErr
public boolean getPrintTraceToStdErr() -
useTlsConfigFromEnvironment
public boolean useTlsConfigFromEnvironment() -
getConnectionTimeToLive
-
getPrivateKey
-
getCertificate
-
getCaCertificates
-