Class EurekaClientFactoryBuilder<F,​B extends EurekaClientFactoryBuilder<F,​B>>


  • public abstract class EurekaClientFactoryBuilder<F,​B extends EurekaClientFactoryBuilder<F,​B>>
    extends java.lang.Object
    • Field Detail

      • allowRedirect

        protected boolean allowRedirect
      • systemSSL

        protected boolean systemSSL
      • clientName

        protected java.lang.String clientName
      • maxConnectionsPerHost

        protected int maxConnectionsPerHost
      • maxTotalConnections

        protected int maxTotalConnections
      • sslContext

        protected javax.net.ssl.SSLContext sslContext
      • trustStoreFileName

        protected java.lang.String trustStoreFileName
      • trustStorePassword

        protected java.lang.String trustStorePassword
      • userAgent

        protected java.lang.String userAgent
      • proxyUserName

        protected java.lang.String proxyUserName
      • proxyPassword

        protected java.lang.String proxyPassword
      • proxyHost

        protected java.lang.String proxyHost
      • proxyPort

        protected int proxyPort
      • connectionTimeout

        protected int connectionTimeout
      • readTimeout

        protected int readTimeout
      • connectionIdleTimeout

        protected long connectionIdleTimeout
      • hostnameVerifier

        protected javax.net.ssl.HostnameVerifier hostnameVerifier
    • Constructor Detail

      • EurekaClientFactoryBuilder

        public EurekaClientFactoryBuilder()
    • Method Detail

      • withMyInstanceInfo

        public B withMyInstanceInfo​(InstanceInfo myInstanceInfo)
      • withClientName

        public B withClientName​(java.lang.String clientName)
      • withClientAccept

        public B withClientAccept​(EurekaAccept eurekaAccept)
      • withUserAgent

        public B withUserAgent​(java.lang.String userAgent)
      • withAllowRedirect

        public B withAllowRedirect​(boolean allowRedirect)
      • withConnectionTimeout

        public B withConnectionTimeout​(int connectionTimeout)
      • withReadTimeout

        public B withReadTimeout​(int readTimeout)
      • withConnectionIdleTimeout

        public B withConnectionIdleTimeout​(long connectionIdleTimeout)
      • withMaxConnectionsPerHost

        public B withMaxConnectionsPerHost​(int maxConnectionsPerHost)
      • withMaxTotalConnections

        public B withMaxTotalConnections​(int maxTotalConnections)
      • withProxy

        public B withProxy​(java.lang.String proxyHost,
                           int proxyPort,
                           java.lang.String user,
                           java.lang.String password)
      • withSSLContext

        public B withSSLContext​(javax.net.ssl.SSLContext sslContext)
      • withHostnameVerifier

        public B withHostnameVerifier​(javax.net.ssl.HostnameVerifier hostnameVerifier)
      • withTrustStoreFile

        @Deprecated
        public B withTrustStoreFile​(java.lang.String trustStoreFileName,
                                    java.lang.String trustStorePassword)
        Deprecated.
      • withEncoder

        public B withEncoder​(java.lang.String encoderName)
      • withEncoderWrapper

        public B withEncoderWrapper​(EncoderWrapper encoderWrapper)
      • withDecoder

        public B withDecoder​(java.lang.String decoderName,
                             java.lang.String clientDataAccept)
      • withDecoderWrapper

        public B withDecoderWrapper​(DecoderWrapper decoderWrapper)
      • build

        public abstract F build()
      • self

        protected B self()