Class ConnectionParams


  • public final class ConnectionParams
    extends java.lang.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 Detail

      • getSslContext

        public javax.net.ssl.SSLContext getSslContext()
      • getHostnameVerifier

        public javax.net.ssl.HostnameVerifier getHostnameVerifier()
      • getHeaders

        public java.util.Collection<java.util.Map.Entry<java.lang.String,​java.lang.String>> getHeaders()
      • getNumPersistentConnectionsPerEndpoint

        public int getNumPersistentConnectionsPerEndpoint()
      • getProxyHost

        public java.lang.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 java.time.Duration getConnectionTimeToLive()
      • getPrivateKey

        public java.nio.file.Path getPrivateKey()
      • getCertificate

        public java.nio.file.Path getCertificate()
      • getCaCertificates

        public java.nio.file.Path getCaCertificates()