Class RestClientConfiguration


  • public final class RestClientConfiguration
    extends Object
    A configuration object for RestClients.
    • Method Detail

      • getSslHandlerFactory

        @Nullable
        public SSLHandlerFactory getSslHandlerFactory()
        Returns the SSLEngine that the REST client endpoint should use.
        Returns:
        SSLEngine that the REST client endpoint should use, or null if SSL was disabled
      • getConnectionTimeout

        public long getConnectionTimeout()
        {@see RestOptions#CONNECTION_TIMEOUT}.
      • getIdlenessTimeout

        public long getIdlenessTimeout()
        {@see RestOptions#IDLENESS_TIMEOUT}.
      • getMaxContentLength

        public int getMaxContentLength()
        Returns the max content length that the REST client endpoint could handle.
        Returns:
        max content length that the REST client endpoint could handle