Class

fm.http.client

AuthHttpClient

Related Doc: package client

Permalink

abstract class AuthHttpClient extends HttpClientProxy

Linear Supertypes
HttpClientProxy, HttpClient, Closeable, AutoCloseable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AuthHttpClient
  2. HttpClientProxy
  3. HttpClient
  4. Closeable
  5. AutoCloseable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AuthHttpClient()

    Permalink

Abstract Value Members

  1. abstract def client: HttpClient

    Permalink
    Attributes
    protected
    Definition Classes
    HttpClientProxy
  2. abstract def makeAuthorization(request: Request, response: Response): Option[String]

    Permalink

    The Authorization header line for a request and 401 response

    The Authorization header line for a request and 401 response

    If a Some is returned then we will re-make the HTTP request with the given Authorization header

    Attributes
    protected
  3. abstract def makeAuthorization(request: Request): Option[String]

    Permalink

    The Authorization header line for a request (if any)

    The Authorization header line for a request (if any)

    This is added to the request before making the HTTP call

    Attributes
    protected

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. def close(): Unit

    Permalink
    Definition Classes
    HttpClientProxyHttpClient → Closeable → AutoCloseable
  7. def defaultCharset: Charset

    Permalink
    Definition Classes
    HttpClientProxyHttpClient
  8. def defaultHeaders: Headers

    Permalink
    Definition Classes
    HttpClientProxyHttpClient
  9. def defaultMaxLength: Long

    Permalink
    Definition Classes
    HttpClientProxyHttpClient
  10. def defaultResponseTimeout: Duration

    Permalink
    Definition Classes
    HttpClientProxyHttpClient
  11. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def execute(request: Request, timeout: Duration): Future[AsyncResponse]

    Permalink

    Execute a Request returning the AsyncResponse

    Execute a Request returning the AsyncResponse

    Definition Classes
    AuthHttpClientHttpClientProxyHttpClient
  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, timeout: Duration): 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 getAsync(url: String, timeout: Duration): 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
  18. final def getAsync(url: String, headers: Headers): 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
  19. final def getAsync(url: String): 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
  20. final def getClass(): Class[_]

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

    Permalink

    Perform a GET request returning the FullResponse

    Perform a GET request returning the FullResponse

    Definition Classes
    HttpClient
  22. final def getFull(url: String, maxLength: Long, timeout: Duration): Future[FullResponse]

    Permalink

    Perform a GET request returning the FullResponse

    Perform a GET request returning the FullResponse

    Definition Classes
    HttpClient
  23. final def getFull(url: String, headers: Headers, timeout: Duration): Future[FullResponse]

    Permalink

    Perform a GET request returning the FullResponse

    Perform a GET request returning the FullResponse

    Definition Classes
    HttpClient
  24. final def getFull(url: String, headers: Headers, maxLength: Long): Future[FullResponse]

    Permalink

    Perform a GET request returning the FullResponse

    Perform a GET request returning the FullResponse

    Definition Classes
    HttpClient
  25. final def getFull(url: String, timeout: Duration): Future[FullResponse]

    Permalink

    Perform a GET request returning the FullResponse

    Perform a GET request returning the FullResponse

    Definition Classes
    HttpClient
  26. final def getFull(url: String, maxLength: Long): Future[FullResponse]

    Permalink

    Perform a GET request returning the FullResponse

    Perform a GET request returning the FullResponse

    Definition Classes
    HttpClient
  27. final def getFull(url: String, headers: Headers): Future[FullResponse]

    Permalink

    Perform a GET request returning the FullResponse

    Perform a GET request returning the FullResponse

    Definition Classes
    HttpClient
  28. final def getFull(url: String): Future[FullResponse]

    Permalink

    Perform a GET request returning the FullResponse

    Perform a GET request returning the FullResponse

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

    Permalink

    Perform a GET request returning the FullStringResponse

    Perform a GET request returning the FullStringResponse

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

    Permalink

    Perform a GET request returning the FullStringResponse

    Perform a GET request returning the FullStringResponse

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

    Permalink

    Perform a GET request returning the FullStringResponse

    Perform a GET request returning the FullStringResponse

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

    Permalink

    Perform a GET request returning the FullStringResponse

    Perform a GET request returning the FullStringResponse

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

    Permalink

    Perform a GET request returning the FullStringResponse

    Perform a GET request returning the FullStringResponse

    Definition Classes
    HttpClient
  34. final def getFullString(url: String, timeout: Duration, defaultCharset: Charset): Future[FullStringResponse]

    Permalink

    Perform a GET request returning the FullStringResponse

    Perform a GET request returning the FullStringResponse

    Definition Classes
    HttpClient
  35. final def getFullString(url: String, maxLength: Long, defaultCharset: Charset): Future[FullStringResponse]

    Permalink

    Perform a GET request returning the FullStringResponse

    Perform a GET request returning the FullStringResponse

    Definition Classes
    HttpClient
  36. final def getFullString(url: String, maxLength: Long, timeout: Duration): Future[FullStringResponse]

    Permalink

    Perform a GET request returning the FullStringResponse

    Perform a GET request returning the FullStringResponse

    Definition Classes
    HttpClient
  37. final def getFullString(url: String, headers: Headers, defaultCharset: Charset): Future[FullStringResponse]

    Permalink

    Perform a GET request returning the FullStringResponse

    Perform a GET request returning the FullStringResponse

    Definition Classes
    HttpClient
  38. final def getFullString(url: String, headers: Headers, timeout: Duration): Future[FullStringResponse]

    Permalink

    Perform a GET request returning the FullStringResponse

    Perform a GET request returning the FullStringResponse

    Definition Classes
    HttpClient
  39. final def getFullString(url: String, headers: Headers, maxLength: Long): Future[FullStringResponse]

    Permalink

    Perform a GET request returning the FullStringResponse

    Perform a GET request returning the FullStringResponse

    Definition Classes
    HttpClient
  40. final def getFullString(url: String, defaultCharset: Charset): Future[FullStringResponse]

    Permalink

    Perform a GET request returning the FullStringResponse

    Perform a GET request returning the FullStringResponse

    Definition Classes
    HttpClient
  41. final def getFullString(url: String, timeout: Duration): Future[FullStringResponse]

    Permalink

    Perform a GET request returning the FullStringResponse

    Perform a GET request returning the FullStringResponse

    Definition Classes
    HttpClient
  42. final def getFullString(url: String, maxLength: Long): Future[FullStringResponse]

    Permalink

    Perform a GET request returning the FullStringResponse

    Perform a GET request returning the FullStringResponse

    Definition Classes
    HttpClient
  43. final def getFullString(url: String, headers: Headers): Future[FullStringResponse]

    Permalink

    Perform a GET request returning the FullStringResponse

    Perform a GET request returning the FullStringResponse

    Definition Classes
    HttpClient
  44. final def getFullString(url: String): Future[FullStringResponse]

    Permalink

    Perform a GET request returning the FullStringResponse

    Perform a GET request returning the FullStringResponse

    Definition Classes
    HttpClient
  45. def hashCode(): Int

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

    Definition Classes
    HttpClient
  47. 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

    Definition Classes
    HttpClient
  48. 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

    Definition Classes
    HttpClient
  49. 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

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

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

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

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

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

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

    Definition Classes
    HttpClient
  55. 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

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

    Definition Classes
    HttpClient
  56. 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

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

    Definition Classes
    HttpClient
  57. final def postAsync(url: String, body: File): 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
  58. 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

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

    Definition Classes
    HttpClient
  59. 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

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

    Definition Classes
    HttpClient
  60. 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

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

    Definition Classes
    HttpClient
  61. final def postAsync(url: String, body: String): 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
  62. 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

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

    Definition Classes
    HttpClient
  63. 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

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

    Definition Classes
    HttpClient
  64. 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

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

    Definition Classes
    HttpClient
  65. final def postAsync(url: String, body: Array[Byte]): 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
  66. final def postFull(url: String, body: String, headers: Headers, maxLength: Long, timeout: Duration): Future[FullResponse]

    Permalink

    Perform a POST request returning the FullResponse

    Perform a POST request returning the FullResponse

    Definition Classes
    HttpClient
  67. final def postFull(url: String, body: String, maxLength: Long, timeout: Duration): Future[FullResponse]

    Permalink

    Perform a POST request returning the FullResponse

    Perform a POST request returning the FullResponse

    Definition Classes
    HttpClient
  68. final def postFull(url: String, body: String, headers: Headers, timeout: Duration): Future[FullResponse]

    Permalink

    Perform a POST request returning the FullResponse

    Perform a POST request returning the FullResponse

    Definition Classes
    HttpClient
  69. final def postFull(url: String, body: String, headers: Headers, maxLength: Long): Future[FullResponse]

    Permalink

    Perform a POST request returning the FullResponse

    Perform a POST request returning the FullResponse

    Definition Classes
    HttpClient
  70. final def postFull(url: String, body: String, timeout: Duration): Future[FullResponse]

    Permalink

    Perform a POST request returning the FullResponse

    Perform a POST request returning the FullResponse

    Definition Classes
    HttpClient
  71. final def postFull(url: String, body: String, maxLength: Long): Future[FullResponse]

    Permalink

    Perform a POST request returning the FullResponse

    Perform a POST request returning the FullResponse

    Definition Classes
    HttpClient
  72. final def postFull(url: String, body: String, headers: Headers): Future[FullResponse]

    Permalink

    Perform a POST request returning the FullResponse

    Perform a POST request returning the FullResponse

    Definition Classes
    HttpClient
  73. final def postFull(url: String, body: String): Future[FullResponse]

    Permalink

    Perform a POST request returning the FullResponse

    Perform a POST request returning the FullResponse

    Definition Classes
    HttpClient
  74. 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

    Perform a POST request returning the FullStringResponse

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

    Permalink

    Perform a POST request returning the FullStringResponse

    Perform a POST request returning the FullStringResponse

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

    Permalink

    Perform a POST request returning the FullStringResponse

    Perform a POST request returning the FullStringResponse

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

    Permalink

    Perform a POST request returning the FullStringResponse

    Perform a POST request returning the FullStringResponse

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

    Permalink

    Perform a POST request returning the FullStringResponse

    Perform a POST request returning the FullStringResponse

    Definition Classes
    HttpClient
  79. final def postFullString(url: String, body: String, timeout: Duration, defaultCharset: Charset): Future[FullStringResponse]

    Permalink

    Perform a POST request returning the FullStringResponse

    Perform a POST request returning the FullStringResponse

    Definition Classes
    HttpClient
  80. final def postFullString(url: String, body: String, maxLength: Long, defaultCharset: Charset): Future[FullStringResponse]

    Permalink

    Perform a POST request returning the FullStringResponse

    Perform a POST request returning the FullStringResponse

    Definition Classes
    HttpClient
  81. final def postFullString(url: String, body: String, maxLength: Long, timeout: Duration): Future[FullStringResponse]

    Permalink

    Perform a POST request returning the FullStringResponse

    Perform a POST request returning the FullStringResponse

    Definition Classes
    HttpClient
  82. final def postFullString(url: String, body: String, headers: Headers, defaultCharset: Charset): Future[FullStringResponse]

    Permalink

    Perform a POST request returning the FullStringResponse

    Perform a POST request returning the FullStringResponse

    Definition Classes
    HttpClient
  83. final def postFullString(url: String, body: String, headers: Headers, timeout: Duration): Future[FullStringResponse]

    Permalink

    Perform a POST request returning the FullStringResponse

    Perform a POST request returning the FullStringResponse

    Definition Classes
    HttpClient
  84. final def postFullString(url: String, body: String, headers: Headers, maxLength: Long): Future[FullStringResponse]

    Permalink

    Perform a POST request returning the FullStringResponse

    Perform a POST request returning the FullStringResponse

    Definition Classes
    HttpClient
  85. final def postFullString(url: String, body: String, defaultCharset: Charset): Future[FullStringResponse]

    Permalink

    Perform a POST request returning the FullStringResponse

    Perform a POST request returning the FullStringResponse

    Definition Classes
    HttpClient
  86. final def postFullString(url: String, body: String, timeout: Duration): Future[FullStringResponse]

    Permalink

    Perform a POST request returning the FullStringResponse

    Perform a POST request returning the FullStringResponse

    Definition Classes
    HttpClient
  87. final def postFullString(url: String, body: String, maxLength: Long): Future[FullStringResponse]

    Permalink

    Perform a POST request returning the FullStringResponse

    Perform a POST request returning the FullStringResponse

    Definition Classes
    HttpClient
  88. final def postFullString(url: String, body: String, headers: Headers): Future[FullStringResponse]

    Permalink

    Perform a POST request returning the FullStringResponse

    Perform a POST request returning the FullStringResponse

    Definition Classes
    HttpClient
  89. final def postFullString(url: String, body: String): Future[FullStringResponse]

    Permalink

    Perform a POST request returning the FullStringResponse

    Perform a POST request returning the FullStringResponse

    Definition Classes
    HttpClient
  90. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    HttpClient
  92. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  96. 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
  97. 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 HttpClientProxy

Inherited from HttpClient

Inherited from Closeable

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped