c

play.api.libs.ws.ahc

AhcConfigBuilder

class AhcConfigBuilder extends AnyRef

Builds a valid AsyncHttpClientConfig object from config.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AhcConfigBuilder
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new AhcConfigBuilder(ahcConfig: AhcWSClientConfig = AhcWSClientConfig())

    ahcConfig

    the ahc client configuration.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val addCustomSettings: (Builder) => Builder
    Attributes
    protected
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def build(): AsyncHttpClientConfig

    Configure and build the AsyncHttpClientConfig based on the settings provided

    Configure and build the AsyncHttpClientConfig based on the settings provided

    returns

    the resulting builder

  7. def buildKeyManagerFactory(ssl: SSLConfigSettings): KeyManagerFactoryWrapper
  8. def buildTrustManagerFactory(ssl: SSLConfigSettings): TrustManagerFactoryWrapper
  9. val builder: Builder

    The underlying DefaultAsyncHttpClientConfig.Builder used by this instance.

  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  11. def configure(): Builder

    Configure the underlying builder with values specified by the config, and add any custom settings.

    Configure the underlying builder with values specified by the config, and add any custom settings.

    returns

    the resulting builder

  12. def configureCipherSuites(existingCiphers: Array[String], sslConfig: SSLConfigSettings): Array[String]
  13. def configureProtocols(existingProtocols: Array[String], sslConfig: SSLConfigSettings): Array[String]
  14. def configureSSL(sslConfig: SSLConfigSettings): Unit

    Configures the SSL.

    Configures the SSL. Can use the system SSLContext.getDefault() if "ws.ssl.default" is set.

  15. def configureWS(ahcConfig: AhcWSClientConfig): Unit

    Configures the global settings.

  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def modifyUnderlying(modify: (Builder) => Builder): AhcConfigBuilder

    Modify the underlying DefaultAsyncHttpClientConfig.Builder using the provided function, after defaults are set.

    Modify the underlying DefaultAsyncHttpClientConfig.Builder using the provided function, after defaults are set.

    modify

    function with custom settings to apply to this builder before the client is built

    returns

    the new builder

  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  25. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped