Class ConnectionParams

java.lang.Object
com.yahoo.vespa.http.client.config.ConnectionParams

public final class ConnectionParams extends Object
Connection level parameters. This class is immutable and has no public constructor - to instantiate one, use a ConnectionParams.Builder.
Author:
Einar M R Rosenvinge
  • Method Details

    • getSslContext

      public SSLContext getSslContext()
    • getHostnameVerifier

      public HostnameVerifier getHostnameVerifier()
    • getHeaders

      public Collection<Map.Entry<String,String>> getHeaders()
    • getDynamicHeaders

      public Map<String,ConnectionParams.HeaderProvider> getDynamicHeaders()
    • getNumPersistentConnectionsPerEndpoint

      public int getNumPersistentConnectionsPerEndpoint()
    • getProxyHost

      public String 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

      public Duration getConnectionTimeToLive()
    • getPrivateKey

      public Path getPrivateKey()
    • getCertificate

      public Path getCertificate()
    • getCaCertificates

      public Path getCaCertificates()