Package

org.http4s.client

blaze

Permalink

package blaze

Linear Supertypes
AnyRef, Any
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. case class BlazeClientConfig(idleTimeout: Duration, requestTimeout: Duration, userAgent: Option[User-Agent], sslContext: Option[SSLContext], endpointAuthentication: Boolean, maxResponseLineSize: Int, maxHeaderLength: Int, maxChunkSize: Int, lenientParser: Boolean, bufferSize: Int, customExecutor: Option[ExecutorService], group: Option[AsynchronousChannelGroup]) extends Product with Serializable

    Permalink

    Config object for the blaze clients

    Config object for the blaze clients

    idleTimeout

    duration that a connection can wait without traffic before timeout

    requestTimeout

    maximum duration for a request to complete before a timeout

    userAgent

    optional custom user agent header

    sslContext

    optional custom SSLContext to use to replace the default

    endpointAuthentication

    require endpoint authentication for encrypted connections

    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. object BlazeClient

    Permalink

    Blaze client implementation

  2. object BlazeClientConfig extends Serializable

    Permalink
  3. object PooledHttp1Client

    Permalink

    Create a HTTP1 client which will attempt to recycle connections

  4. object SimpleHttp1Client

    Permalink

    Create HTTP1 clients which will disconnect on completion of one request

  5. lazy val defaultClient: Client

    Permalink

    Default blaze client

    Default blaze client

    This client will create a new connection for every request.

Inherited from AnyRef

Inherited from Any

Ungrouped