Packages

package blaze

Source
package.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. blaze
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final case class BlazeClientConfig(responseHeaderTimeout: Duration, idleTimeout: Duration, requestTimeout: Duration, userAgent: Option[User-Agent], sslContext: Option[SSLContext], checkEndpointIdentification: Boolean, maxResponseLineSize: Int, maxHeaderLength: Int, maxChunkSize: Int, lenientParser: Boolean, bufferSize: Int, customExecutor: Option[ExecutorService], group: Option[AsynchronousChannelGroup]) extends Product with Serializable

    Config object for the blaze clients

    Config object for the blaze clients

    responseHeaderTimeout

    duration between the completion of a request and the completion of the response header. Does not include time to acquire the connection or the time to read the response.

    idleTimeout

    duration that a connection can wait without traffic being read or written before timeout

    requestTimeout

    maximum duration for a request to complete before a timeout. Does not include time to acquire the the connection, but does include time to read the response

    userAgent

    optional custom user agent header

    sslContext

    optional custom SSLContext to use to replace the default, SSLContext.getDefault.

    checkEndpointIdentification

    require endpoint identification for secure requests according to RFC 2818, Section 3.1. If the certificate presented does not match the hostname of the request, the request fails with a CertificateException. This setting does not affect checking the validity of the cert via the sslContext's trust managers.

    maxResponseLineSize

    maximum length of the request line

    maxHeaderLength

    maximum length of headers

    maxChunkSize

    maximum size of chunked content chunks

    lenientParser

    a lenient parser will accept illegal chars but replaces them with � (0xFFFD)

    bufferSize

    internal buffer size of the blaze client

    customExecutor

    custom executor to run async computations. Will not be shutdown with client.

    group

    custom AsynchronousChannelGroup to use other than the system default

Value Members

  1. lazy val defaultClient: Client

    Default blaze client

    Default blaze client

    This client will create a new connection for every request.

  2. object BlazeClient

    Blaze client implementation

  3. object BlazeClientConfig extends Serializable
  4. object PooledHttp1Client

    Create a HTTP1 client which will attempt to recycle connections

  5. object SimpleHttp1Client

    Create HTTP1 clients which will disconnect on completion of one request

Inherited from AnyRef

Inherited from Any

Ungrouped