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, timeout: Duration): Future[AsyncResponse]

    Permalink

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

  11. final def getAsync(url: String, timeout: Duration): Future[AsyncResponse]

    Permalink

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

  12. final def getAsync(url: String, headers: Headers): Future[AsyncResponse]

    Permalink

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

  13. final def getAsync(url: String): Future[AsyncResponse]

    Permalink

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def getFull(url: String, headers: Headers, maxLength: Long, timeout: Duration): Future[FullResponse]

    Permalink

    Perform a GET request returning the FullResponse

  16. final def getFull(url: String, maxLength: Long, timeout: Duration): Future[FullResponse]

    Permalink

    Perform a GET request returning the FullResponse

  17. final def getFull(url: String, headers: Headers, timeout: Duration): Future[FullResponse]

    Permalink

    Perform a GET request returning the FullResponse

  18. final def getFull(url: String, headers: Headers, maxLength: Long): Future[FullResponse]

    Permalink

    Perform a GET request returning the FullResponse

  19. final def getFull(url: String, timeout: Duration): Future[FullResponse]

    Permalink

    Perform a GET request returning the FullResponse

  20. final def getFull(url: String, maxLength: Long): Future[FullResponse]

    Permalink

    Perform a GET request returning the FullResponse

  21. final def getFull(url: String, headers: Headers): Future[FullResponse]

    Permalink

    Perform a GET request returning the FullResponse

  22. final def getFull(url: String): Future[FullResponse]

    Permalink

    Perform a GET request returning the FullResponse

  23. final def getFullString(url: String, headers: Headers, maxLength: Long, timeout: Duration, defaultCharset: Charset): Future[FullStringResponse]

    Permalink

    Perform a GET request returning the FullStringResponse

  24. final def getFullString(url: String, maxLength: Long, timeout: Duration, defaultCharset: Charset): Future[FullStringResponse]

    Permalink

    Perform a GET request returning the FullStringResponse

  25. final def getFullString(url: String, headers: Headers, timeout: Duration, defaultCharset: Charset): Future[FullStringResponse]

    Permalink

    Perform a GET request returning the FullStringResponse

  26. final def getFullString(url: String, headers: Headers, maxLength: Long, defaultCharset: Charset): Future[FullStringResponse]

    Permalink

    Perform a GET request returning the FullStringResponse

  27. final def getFullString(url: String, headers: Headers, maxLength: Long, timeout: Duration): Future[FullStringResponse]

    Permalink

    Perform a GET request returning the FullStringResponse

  28. final def getFullString(url: String, timeout: Duration, defaultCharset: Charset): Future[FullStringResponse]

    Permalink

    Perform a GET request returning the FullStringResponse

  29. final def getFullString(url: String, maxLength: Long, defaultCharset: Charset): Future[FullStringResponse]

    Permalink

    Perform a GET request returning the FullStringResponse

  30. final def getFullString(url: String, maxLength: Long, timeout: Duration): Future[FullStringResponse]

    Permalink

    Perform a GET request returning the FullStringResponse

  31. final def getFullString(url: String, headers: Headers, defaultCharset: Charset): Future[FullStringResponse]

    Permalink

    Perform a GET request returning the FullStringResponse

  32. final def getFullString(url: String, headers: Headers, timeout: Duration): Future[FullStringResponse]

    Permalink

    Perform a GET request returning the FullStringResponse

  33. final def getFullString(url: String, headers: Headers, maxLength: Long): Future[FullStringResponse]

    Permalink

    Perform a GET request returning the FullStringResponse

  34. final def getFullString(url: String, defaultCharset: Charset): Future[FullStringResponse]

    Permalink

    Perform a GET request returning the FullStringResponse

  35. final def getFullString(url: String, timeout: Duration): Future[FullStringResponse]

    Permalink

    Perform a GET request returning the FullStringResponse

  36. final def getFullString(url: String, maxLength: Long): Future[FullStringResponse]

    Permalink

    Perform a GET request returning the FullStringResponse

  37. final def getFullString(url: String, headers: Headers): Future[FullStringResponse]

    Permalink

    Perform a GET request returning the FullStringResponse

  38. final def getFullString(url: String): Future[FullStringResponse]

    Permalink

    Perform a GET request returning the FullStringResponse

  39. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  40. final def head(url: String, headers: Headers, timeout: Duration): Future[FullResponse]

    Permalink

    Perform a HEAD request.

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

  41. final def head(url: String, timeout: Duration): Future[FullResponse]

    Permalink

    Perform a HEAD request.

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

  42. final def head(url: String, headers: Headers): Future[FullResponse]

    Permalink

    Perform a HEAD request.

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

  43. final def head(url: String): Future[FullResponse]

    Permalink

    Perform a HEAD request.

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

  44. final def isInstanceOf[T0]: Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  48. final def postAsync(url: String, body: File, headers: Headers, timeout: Duration): Future[AsyncResponse]

    Permalink

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

  49. final def postAsync(url: String, body: File, timeout: Duration): Future[AsyncResponse]

    Permalink

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

  50. final def postAsync(url: String, body: File, headers: Headers): Future[AsyncResponse]

    Permalink

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

  51. final def postAsync(url: String, body: File): Future[AsyncResponse]

    Permalink

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

  52. final def postAsync(url: String, body: String, headers: Headers, timeout: Duration): Future[AsyncResponse]

    Permalink

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

  53. final def postAsync(url: String, body: String, timeout: Duration): Future[AsyncResponse]

    Permalink

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

  54. final def postAsync(url: String, body: String, headers: Headers): Future[AsyncResponse]

    Permalink

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

  55. final def postAsync(url: String, body: String): Future[AsyncResponse]

    Permalink

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

  56. final def postAsync(url: String, body: Array[Byte], headers: Headers, timeout: Duration): Future[AsyncResponse]

    Permalink

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

  57. final def postAsync(url: String, body: Array[Byte], timeout: Duration): Future[AsyncResponse]

    Permalink

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

  58. final def postAsync(url: String, body: Array[Byte], headers: Headers): Future[AsyncResponse]

    Permalink

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

  59. final def postAsync(url: String, body: Array[Byte]): Future[AsyncResponse]

    Permalink

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

  60. final def postFull(url: String, body: String, headers: Headers, maxLength: Long, timeout: Duration): Future[FullResponse]

    Permalink

    Perform a POST request returning the FullResponse

  61. final def postFull(url: String, body: String, maxLength: Long, timeout: Duration): Future[FullResponse]

    Permalink

    Perform a POST request returning the FullResponse

  62. final def postFull(url: String, body: String, headers: Headers, timeout: Duration): Future[FullResponse]

    Permalink

    Perform a POST request returning the FullResponse

  63. final def postFull(url: String, body: String, headers: Headers, maxLength: Long): Future[FullResponse]

    Permalink

    Perform a POST request returning the FullResponse

  64. final def postFull(url: String, body: String, timeout: Duration): Future[FullResponse]

    Permalink

    Perform a POST request returning the FullResponse

  65. final def postFull(url: String, body: String, maxLength: Long): Future[FullResponse]

    Permalink

    Perform a POST request returning the FullResponse

  66. final def postFull(url: String, body: String, headers: Headers): Future[FullResponse]

    Permalink

    Perform a POST request returning the FullResponse

  67. final def postFull(url: String, body: String): Future[FullResponse]

    Permalink

    Perform a POST request returning the FullResponse

  68. final def postFullString(url: String, body: String, headers: Headers, maxLength: Long, timeout: Duration, defaultCharset: Charset): Future[FullStringResponse]

    Permalink

    Perform a POST request returning the FullStringResponse

  69. final def postFullString(url: String, body: String, maxLength: Long, timeout: Duration, defaultCharset: Charset): Future[FullStringResponse]

    Permalink

    Perform a POST request returning the FullStringResponse

  70. final def postFullString(url: String, body: String, headers: Headers, timeout: Duration, defaultCharset: Charset): Future[FullStringResponse]

    Permalink

    Perform a POST request returning the FullStringResponse

  71. final def postFullString(url: String, body: String, headers: Headers, maxLength: Long, defaultCharset: Charset): Future[FullStringResponse]

    Permalink

    Perform a POST request returning the FullStringResponse

  72. final def postFullString(url: String, body: String, headers: Headers, maxLength: Long, timeout: Duration): Future[FullStringResponse]

    Permalink

    Perform a POST request returning the FullStringResponse

  73. final def postFullString(url: String, body: String, timeout: Duration, defaultCharset: Charset): Future[FullStringResponse]

    Permalink

    Perform a POST request returning the FullStringResponse

  74. final def postFullString(url: String, body: String, maxLength: Long, defaultCharset: Charset): Future[FullStringResponse]

    Permalink

    Perform a POST request returning the FullStringResponse

  75. final def postFullString(url: String, body: String, maxLength: Long, timeout: Duration): Future[FullStringResponse]

    Permalink

    Perform a POST request returning the FullStringResponse

  76. final def postFullString(url: String, body: String, headers: Headers, defaultCharset: Charset): Future[FullStringResponse]

    Permalink

    Perform a POST request returning the FullStringResponse

  77. final def postFullString(url: String, body: String, headers: Headers, timeout: Duration): Future[FullStringResponse]

    Permalink

    Perform a POST request returning the FullStringResponse

  78. final def postFullString(url: String, body: String, headers: Headers, maxLength: Long): Future[FullStringResponse]

    Permalink

    Perform a POST request returning the FullStringResponse

  79. final def postFullString(url: String, body: String, defaultCharset: Charset): Future[FullStringResponse]

    Permalink

    Perform a POST request returning the FullStringResponse

  80. final def postFullString(url: String, body: String, timeout: Duration): Future[FullStringResponse]

    Permalink

    Perform a POST request returning the FullStringResponse

  81. final def postFullString(url: String, body: String, maxLength: Long): Future[FullStringResponse]

    Permalink

    Perform a POST request returning the FullStringResponse

  82. final def postFullString(url: String, body: String, headers: Headers): Future[FullStringResponse]

    Permalink

    Perform a POST request returning the FullStringResponse

  83. final def postFullString(url: String, body: String): Future[FullStringResponse]

    Permalink

    Perform a POST request returning the FullStringResponse

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

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

    Permalink
  86. def toString(): String

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

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

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

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

    Permalink

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

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