gigahorse

AhcHttpClient

class AhcHttpClient extends HttpClient

Linear Supertypes
HttpClient, AutoCloseable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. AhcHttpClient
  2. HttpClient
  3. AutoCloseable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AhcHttpClient(config: Config)

  2. new AhcHttpClient(config: AsyncHttpClientConfig)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def buildRequest(request: Request): com.ning.http.client.Request

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

  8. def clone(): AnyRef

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

    Closes this client, and releases underlying resources.

    Closes this client, and releases underlying resources.

    Definition Classes
    AhcHttpClientHttpClient → AutoCloseable
  10. def download(request: Request, file: File): Future[File]

    Downloads the request to the file.

    Downloads the request to the file. Errors on non-OK response.

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  20. def process[A](request: Request, handler: CompletionHandler[A]): Future[A]

    Executes the request.

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

    Definition Classes
    AhcHttpClientHttpClient
  21. def process[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
    AhcHttpClientHttpClient
  22. def process[A](request: Request, f: (Response) ⇒ 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
    AhcHttpClientHttpClient
  23. def process(request: Request): Future[Response]

    Executes the request and return a Future of Response.

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

    Definition Classes
    AhcHttpClientHttpClient
  24. 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 Response or a Throwable.

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

    Definition Classes
    AhcHttpClientHttpClient
  25. def run[A](request: Request, f: (Response) ⇒ A): Future[A]

    Runs the request and return a Future of A.

    Runs the request and return a Future of A.

    Definition Classes
    AhcHttpClientHttpClient
  26. def run(request: Request): Future[Response]

    Runs the request and return a Future of Response.

    Runs the request and return a Future of Response.

    Definition Classes
    AhcHttpClientHttpClient
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  28. def toString(): String

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

    Definition Classes
    AhcHttpClientHttpClient
  30. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from HttpClient

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped