class AhcHttpClient extends ReactiveHttpClient

Linear Supertypes
ReactiveHttpClient, HttpClient, AutoCloseable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AhcHttpClient
  2. ReactiveHttpClient
  3. HttpClient
  4. AutoCloseable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AhcHttpClient(config: Config)
  2. new AhcHttpClient(config: AsyncHttpClientConfig)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def buildRequest(request: Request): shaded.ahc.org.asynchttpclient.Request

    Creates and returns an AHC request, running all operations on it.

  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def close(): Unit
    Definition Classes
    AhcHttpClient → HttpClient → AutoCloseable
  8. def download(request: Request, file: File): Future[File]
    Definition Classes
    AhcHttpClient → HttpClient
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. def processFull[A](request: Request, handler: AhcCompletionHandler[A]): Future[A]

    Executes the request.

    Executes the request. Does not error on non-OK response.

  19. def processFull[A](request: Request, lifter: FutureLifter[A])(implicit ec: ExecutionContext): Future[Either[Throwable, A]]

    Executes the request and return a Future of Either a Response or a Throwable.

    Executes the request and return a Future of Either a Response or a Throwable. Does not error on non-OK response.

    Definition Classes
    AhcHttpClient → HttpClient
  20. def processFull[A](request: Request, f: (FullResponse) => A): Future[A]

    Executes the request and return a Future of A.

    Executes the request and return a Future of A. Does not error on non-OK response.

    Definition Classes
    AhcHttpClient → HttpClient
  21. def processFull(request: Request): Future[FullResponse]

    Executes the request and return a Future of FullResponse.

    Executes the request and return a Future of FullResponse. Does not error on non-OK response.

    Definition Classes
    AhcHttpClient → HttpClient
  22. def processStream[A](request: Request, handler: AhcStreamHandler[A]): Future[A]

    Executes the request and return a Future of A.

    Executes the request and return a Future of A. Does not error on non-OK response.

  23. def processStream[A](request: Request, f: (StreamResponse) => Future[A]): Future[A]

    Executes the request and return a Future of A.

    Executes the request and return a Future of A. Does not error on non-OK response.

    Definition Classes
    AhcHttpClient → ReactiveHttpClient
  24. def processStream(request: Request): Future[StreamResponse]

    Executes the request and return a Future of StreamResponse.

    Executes the request and return a Future of StreamResponse. Does not error on non-OK response.

    Definition Classes
    AhcHttpClient → ReactiveHttpClient
  25. def run[A](request: Request, lifter: FutureLifter[A])(implicit ec: ExecutionContext): Future[Either[Throwable, A]]

    Runs the request and return a Future of Either a FullResponse or a Throwable.

    Runs the request and return a Future of Either a FullResponse or a Throwable.

    Definition Classes
    AhcHttpClient → HttpClient
  26. def run[A](request: Request, f: (FullResponse) => A): Future[A]

    Runs the request and return a Future of A.

    Runs the request and return a Future of A.

    Definition Classes
    AhcHttpClient → HttpClient
  27. def run(request: Request): Future[FullResponse]

    Runs the request and return a Future of FullResponse.

    Runs the request and return a Future of FullResponse.

    Definition Classes
    AhcHttpClient → HttpClient
  28. def runStream[A](request: Request, f: (StreamResponse) => Future[A]): Future[A]

    Runs the request and return a Future of A.

    Runs the request and return a Future of A.

    Definition Classes
    AhcHttpClient → ReactiveHttpClient
  29. def runStream(request: Request): Future[StreamResponse]

    Runs the request and return a Future of StreamResponse.

    Runs the request and return a Future of StreamResponse.

    Definition Classes
    AhcHttpClient → ReactiveHttpClient
  30. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  31. def toString(): String
    Definition Classes
    AhcHttpClient → AnyRef → Any
  32. def underlying[A]: A
    Definition Classes
    AhcHttpClient → HttpClient
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  36. def websocket(request: Request)(handler: PartialFunction[WebSocketEvent, Unit]): Future[WebSocket]

    Open a websocket connection.

    Open a websocket connection.

    Definition Classes
    AhcHttpClient → HttpClient

Inherited from ReactiveHttpClient

Inherited from HttpClient

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped