dispatch.classic.nio

Http

class Http extends HttpExecutor

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Http
  2. HttpExecutor
  3. RequestLogging
  4. AnyRef
  5. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Http ()

Type Members

  1. class ConsumerFuture [T] extends StoppableFuture[T]

  2. class EmptyCallback [T] extends FutureCallback[T]

  3. class ExceptionFuture [T] extends SubstituteFuture[T]

  4. type HttpPackage [T] = StoppableFuture[T]

    Type of value returned from request execution

    Type of value returned from request execution

    Definition Classes
    HttpHttpExecutor
  5. class StoppableConsumer [T] extends HttpAsyncResponseConsumer[T]

    Attributes
    abstract
  6. trait SubstituteFuture [T] extends StoppableFuture[T]

Value Members

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

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

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

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

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

    Attributes
    final
    Definition Classes
    Any
  6. def apply [T] (callback: Callback[T]): HttpPackage[T]

    Apply handler block when response code is 200 - 204

    Apply handler block when response code is 200 - 204

    Attributes
    final
    Definition Classes
    HttpExecutor
  7. def apply [T] (hand: Handler[T]): HttpPackage[T]

    Apply handler block when response code is 200 - 204

    Apply handler block when response code is 200 - 204

    Attributes
    final
    Definition Classes
    HttpExecutor
  8. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  9. lazy val client : DefaultHttpAsyncClient

  10. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. def consumeContent (entity: Option[HttpEntity]): Unit

    Does nothing, NIO executor always consumes entities it creates

    Does nothing, NIO executor always consumes entities it creates

    Definition Classes
    HttpHttpExecutor
  12. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  13. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  14. def execute [T] (host: HttpHost, credsopt: Option[Credentials], req: HttpRequestBase, block: (HttpResponse) ⇒ T, listener: ExceptionListener): HttpPackage[T]

    Execute the request against an HttpClient

    Execute the request against an HttpClient

    Definition Classes
    HttpHttpExecutor
  15. def executeWithCallback [T] (host: HttpHost, credsopt: Option[Credentials], req: HttpRequestBase, callback: Callback[T]): ConsumerFuture[T]

    Definition Classes
    HttpHttpExecutor
  16. def finalize (): Unit

    Call shutdown if not already shutdown, issue warning

    Call shutdown if not already shutdown, issue warning

    Definition Classes
    HttpExecutor → AnyRef
  17. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef
  18. def hashCode (): Int

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

    Attributes
    final
    Definition Classes
    Any
  20. lazy val log : Logger

    Definition Classes
    RequestLogging
  21. def make_client : DefaultHttpAsyncClient

  22. def make_logger : Logger

    Logger for this executor, logs to console.

    Logger for this executor, logs to console.

    Definition Classes
    RequestLogging
  23. def make_message (req: Request): HttpRequestBase

    Definition Classes
    HttpExecutor
  24. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  25. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  26. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  27. def shutdown (): Unit

    Release resources held by the executor.

    Release resources held by the executor.

    Definition Classes
    HttpExecutor
  28. def shutdownClient (): Unit

    Definition Classes
    HttpHttpExecutor
  29. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  30. def toString (): String

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  34. def when [T] (chk: (Int) ⇒ Boolean)(hand: Handler[T]): HttpPackage[T]

    Apply Response Handler if reponse code returns true from chk.

    Apply Response Handler if reponse code returns true from chk.

    Attributes
    final
    Definition Classes
    HttpExecutor
  35. def x [T] (hand: Handler[T]): HttpPackage[T]

    Execute full request-response handler, response in package.

    Execute full request-response handler, response in package.

    Attributes
    final
    Definition Classes
    HttpExecutor
  36. def x [T] (req: Request)(block: F[T]): HttpPackage[T]

    Attributes
    final
    Definition Classes
    HttpExecutor
    Annotations
    @deprecated
    Deprecated

    Use x[T](hand: Handler[T]) instead. Construct a Handler if needed.

Inherited from HttpExecutor

Inherited from RequestLogging

Inherited from AnyRef

Inherited from Any