Packages

case class HttpClientConfig(maxResponseLineLength: Int = 2 * 1048, maxHeadersLength: Int = 8 * 1024, lenientParser: Boolean = false, channelGroup: Option[AsynchronousChannelGroup] = None, sslContext: Option[SSLContext] = None) extends Product with Serializable

Configuration object for creating a HttpClient

maxResponseLineLength

maximum permissible length of the initial response line

maxHeadersLength

maximum combined length of the headers

lenientParser

whether to be lenient in HTTP/1.x parsing

channelGroup

the AsynchronousChannelGroup used to multiplex connections on

sslContext

SSLContext to use for secure connections

Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HttpClientConfig
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new HttpClientConfig(maxResponseLineLength: Int = 2 * 1048, maxHeadersLength: Int = 8 * 1024, lenientParser: Boolean = false, channelGroup: Option[AsynchronousChannelGroup] = None, sslContext: Option[SSLContext] = None)

    maxResponseLineLength

    maximum permissible length of the initial response line

    maxHeadersLength

    maximum combined length of the headers

    lenientParser

    whether to be lenient in HTTP/1.x parsing

    channelGroup

    the AsynchronousChannelGroup used to multiplex connections on

    sslContext

    SSLContext to use for secure connections

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val channelGroup: Option[AsynchronousChannelGroup]
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def getClientSslEngine(): SSLEngine

    Get a new SSlEngine set to ClientMode.

    Get a new SSlEngine set to ClientMode.

    If the SslContext of this config is not defined, the default will be used.

  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. val lenientParser: Boolean
  13. val maxHeadersLength: Int
  14. val maxResponseLineLength: Int
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. def productElementNames: Iterator[String]
    Definition Classes
    Product
  19. val sslContext: Option[SSLContext]
  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped