Class/Object

fm.http.client

HttpClient

Related Docs: object HttpClient | package client

Permalink

abstract class HttpClient extends Closeable

Linear Supertypes
Closeable, AutoCloseable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. HttpClient
  2. Closeable
  3. AutoCloseable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new HttpClient()

    Permalink

Abstract Value Members

  1. abstract def close(): Unit

    Permalink
    Definition Classes
    HttpClient → Closeable → AutoCloseable
  2. abstract def defaultCharset: Charset

    Permalink
  3. abstract def defaultHeaders: Headers

    Permalink
  4. abstract def defaultMaxLength: Long

    Permalink
  5. abstract def defaultResponseTimeout: Duration

    Permalink
  6. abstract def execute(r: Request, timeout: Duration): Future[AsyncResponse]

    Permalink

    Execute a Request returning the AsyncResponse

Concrete 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. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. implicit final def executionContext: ExecutionContext

    Permalink
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. 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

  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. 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

  13. 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

  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. 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

  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  20. 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

  21. 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

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

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

    Permalink
  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit

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

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

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

    Permalink

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

  29. final def withDigestAuth(user: String, pass: String): HttpClient

    Permalink

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

Inherited from Closeable

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped