Class/Object

gigahorse.support.asynchttpclient

AhcHttpClient

Related Docs: object AhcHttpClient | package asynchttpclient

Permalink

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)

    Permalink
  2. new AhcHttpClient(config: AsyncHttpClientConfig)

    Permalink

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 buildRequest(request: Request): shaded.ahc.org.asynchttpclient.Request

    Permalink

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

  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def close(): Unit

    Permalink
    Definition Classes
    AhcHttpClient → HttpClient → AutoCloseable
  8. def download(request: Request, file: File): Future[File]

    Permalink
    Definition Classes
    AhcHttpClient → HttpClient
  9. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  18. def processFull[A](request: Request, handler: AhcCompletionHandler[A]): Future[A]

    Permalink

    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]]

    Permalink

    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]

    Permalink

    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]

    Permalink

    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]

    Permalink

    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]

    Permalink

    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]

    Permalink

    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]]

    Permalink

    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]

    Permalink

    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]

    Permalink

    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]

    Permalink

    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]

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef
  31. def toString(): String

    Permalink
    Definition Classes
    AhcHttpClient → AnyRef → Any
  32. def underlying[A]: A

    Permalink
    Definition Classes
    AhcHttpClient → HttpClient
  33. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. def websocket(request: Request)(handler: PartialFunction[WebSocketEvent, Unit]): Future[WebSocket]

    Permalink

    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