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 = 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. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  21. 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
  22. final def isInstanceOf[T0]: Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  26. 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
  27. 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
  28. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. 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
  35. 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