Class/Object

fm.http.client

DefaultHttpClient

Related Docs: object DefaultHttpClient | package client

Permalink

final case class DefaultHttpClient(socksProxy: Option[(String, Int)] = None, defaultMaxLength: Long, defaultHeaders: Headers, useConnectionPool: Boolean, maxConnectionsPerHost: Int, maxRequestQueuePerHost: Int, maxConnectionIdleDuration: FiniteDuration, defaultResponseTimeout: Duration, defaultConnectTimeout: Duration, defaultCharset: Charset) extends HttpClient with Logging with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, Logging, HttpClient, Closeable, AutoCloseable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DefaultHttpClient
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Logging
  7. HttpClient
  8. Closeable
  9. AutoCloseable
  10. AnyRef
  11. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DefaultHttpClient(socksProxy: Option[(String, Int)] = None, defaultMaxLength: Long, defaultHeaders: Headers, useConnectionPool: Boolean, maxConnectionsPerHost: Int, maxRequestQueuePerHost: Int, maxConnectionIdleDuration: FiniteDuration, defaultResponseTimeout: Duration, defaultConnectTimeout: Duration, defaultCharset: Charset)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def close(): Unit

    Permalink
    Definition Classes
    DefaultHttpClientHttpClient → Closeable → AutoCloseable
  7. val defaultCharset: Charset

    Permalink
    Definition Classes
    DefaultHttpClientHttpClient
  8. val defaultConnectTimeout: Duration

    Permalink
  9. val defaultHeaders: Headers

    Permalink
    Definition Classes
    DefaultHttpClientHttpClient
  10. val defaultMaxLength: Long

    Permalink
    Definition Classes
    DefaultHttpClientHttpClient
  11. val defaultResponseTimeout: Duration

    Permalink
    Definition Classes
    DefaultHttpClientHttpClient
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def execute(r: Request, timeout: Duration): Future[AsyncResponse]

    Permalink

    Execute a Request returning the AsyncResponse

    Execute a Request returning the AsyncResponse

    Definition Classes
    DefaultHttpClientHttpClient
  14. implicit final def executionContext: ExecutionContext

    Permalink
    Definition Classes
    HttpClient
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getAsync(url: String, headers: Headers = defaultHeaders, timeout: Duration = defaultResponseTimeout): Future[AsyncResponse]

    Permalink

    Perform a GET request returning an AsyncResponse for reading arbitrarily long response bodies

    Perform a GET request returning an AsyncResponse for reading arbitrarily long response bodies

    Definition Classes
    HttpClient
  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def getFull(url: String, headers: Headers = defaultHeaders, maxLength: Long = defaultMaxLength, timeout: Duration = defaultResponseTimeout, defaultCharset: Charset = defaultCharset): Future[FullResponse]

    Permalink

    Perform a GET request returning the FullResponse with a max length for the body

    Perform a GET request returning the FullResponse with a max length for the body

    Definition Classes
    HttpClient
  19. final def getFullBytes(url: String, headers: Headers = defaultHeaders, maxLength: Long = defaultMaxLength, timeout: Duration = defaultResponseTimeout): Future[FullBytesResponse]

    Permalink

    Perform a GET request returning the FullBytesResponse with a max length for the bytes

    Perform a GET request returning the FullBytesResponse with a max length for the bytes

    Definition Classes
    HttpClient
  20. final def head(url: String, headers: Headers = defaultHeaders, timeout: Duration = defaultResponseTimeout): Future[FullResponse]

    Permalink

    Perform a HEAD request.

    Perform a HEAD request. Always returns a FullResponse because the body will be empty

    Definition Classes
    HttpClient
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. lazy val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  23. val maxConnectionIdleDuration: FiniteDuration

    Permalink
  24. val maxConnectionsPerHost: Int

    Permalink
  25. val maxRequestQueuePerHost: Int

    Permalink
  26. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  27. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. final def postAsync(url: String, body: String, headers: Headers = defaultHeaders, timeout: Duration = defaultResponseTimeout): Future[AsyncResponse]

    Permalink

    Perform a POST request returning an AsyncResponse for reading arbitrarily long response bodies

    Perform a POST request returning an AsyncResponse for reading arbitrarily long response bodies

    Definition Classes
    HttpClient
  30. final def postFull(url: String, body: String, headers: Headers = defaultHeaders, maxLength: Long = defaultMaxLength, timeout: Duration = defaultResponseTimeout, defaultCharset: Charset = defaultCharset): Future[FullResponse]

    Permalink

    Perform a POST request returning the FullResponse with a max length for the body

    Perform a POST request returning the FullResponse with a max length for the body

    Definition Classes
    HttpClient
  31. val socksProxy: Option[(String, Int)]

    Permalink
  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  33. implicit final def timer: ScheduledTaskRunner

    Permalink
    Definition Classes
    HttpClient
  34. val useConnectionPool: Boolean

    Permalink
  35. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def withBasicAuth(user: String, pass: String): HttpClient

    Permalink

    Return an HttpClient that will use Basic auth for any calls made by it

    Return an HttpClient that will use Basic auth for any calls made by it

    Definition Classes
    HttpClient
  39. final def withDigestAuth(user: String, pass: String): HttpClient

    Permalink

    Return an HttpClient that will use Digest auth for any calls made by it

    Return an HttpClient that will use Digest auth for any calls made by it

    Definition Classes
    HttpClient

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Logging

Inherited from HttpClient

Inherited from Closeable

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped