dispatch

Http

case class Http(client: AsyncHttpClient, timeout: Duration, promiseExecutor: Executor, timer: Timer) extends HttpExecutor with Product with Serializable

Http executor with defaults

Linear Supertypes
Serializable, Serializable, Product, Equals, HttpExecutor, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Http
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. HttpExecutor
  7. AnyRef
  8. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Http(client: AsyncHttpClient = Defaults.client, timeout: Duration = Defaults.timeout, promiseExecutor: Executor = Defaults.promiseExecutor, timer: Timer = Defaults.timer)

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. def apply[T](request: Request, handler: AsyncHandler[T]): Promise[T]

    Definition Classes
    HttpExecutor
  7. def apply[T](pair: (Request, AsyncHandler[T])): Promise[T]

    Definition Classes
    HttpExecutor
  8. def apply(builder: RequestBuilder): Promise[Response]

    Definition Classes
    HttpExecutor
  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def canEqual(arg0: Any): Boolean

    Definition Classes
    Http → Equals
  11. val client: AsyncHttpClient

    Definition Classes
    HttpHttpExecutor
  12. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  13. def configure(withBuilder: (Builder) ⇒ Builder): Http

    Replaces client with a new instance configured using the withBuilder function.

    Replaces client with a new instance configured using the withBuilder function. The current client config is the builder's prototype.

  14. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    Http → Equals → AnyRef → Any
  16. def finalize(): Unit

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

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

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

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

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

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

    Definition Classes
    AnyRef
  23. def productArity: Int

    Definition Classes
    Http → Product
  24. def productElement(arg0: Int): Any

    Definition Classes
    Http → Product
  25. def productIterator: Iterator[Any]

    Definition Classes
    Product
  26. def productPrefix: String

    Definition Classes
    Http → Product
  27. lazy val promise: Factory

    Definition Classes
    HttpExecutor
  28. val promiseExecutor: Executor

    Definition Classes
    HttpHttpExecutor
  29. def shutdown(): Unit

    Definition Classes
    HttpExecutor
  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  31. def threads(promiseThreadPoolSize: Int): Http

    Convenience method for an executor with a fixed thread pool of the given size

  32. val timeout: Duration

    Timeout for promises made by this HTTP Executor

    Timeout for promises made by this HTTP Executor

    Definition Classes
    HttpHttpExecutor
  33. val timer: Timer

    Definition Classes
    HttpHttpExecutor
  34. def toString(): String

    Definition Classes
    Http → AnyRef → Any
  35. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  38. def waiting(t: Duration): Http

    Convenience method for an Executor with the given timeout

Deprecated Value Members

  1. def productElements: Iterator[Any]

    Definition Classes
    Product
    Annotations
    @deprecated
    Deprecated

    (Since version 2.8.0) use productIterator instead

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from HttpExecutor

Inherited from AnyRef

Inherited from Any