dispatch.classic

BlockingHttp

trait BlockingHttp extends HttpExecutor with BlockingCallback

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. BlockingHttp
  2. BlockingCallback
  3. HttpExecutor
  4. RequestLogging
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. abstract type HttpPackage[T]

    Type of value returned from request execution

    Type of value returned from request execution

    Definition Classes
    HttpExecutor

Abstract Value Members

  1. abstract def pack[T](req: AnyRef { def abort(): Unit }, result: ⇒ T): HttpPackage[T]

    Potentially wraps payload, e.

    Potentially wraps payload, e.g. in a Future

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

    Definition Classes
    HttpExecutor
  5. final 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

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

    Definition Classes
    Any
  7. final val client: HttpClient

    Reference to the underlying client.

    Reference to the underlying client. Override make_client define your own.

  8. def clone(): AnyRef

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

    Make sure the entity is consumed.

    Make sure the entity is consumed.

    Definition Classes
    BlockingHttpHttpExecutor
  10. val credentials: DynamicVariable[Option[(AuthScope, Credentials)]]

    This reference's underlying value is updated for the current thread when a request specifies credentials.

    This reference's underlying value is updated for the current thread when a request specifies credentials. Typically passed to ConfiguredHttpClient.

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

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

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

    Execute for given optional parameters, with logging.

    Execute for given optional parameters, with logging. Creates local scope for credentials.

    Definition Classes
    BlockingHttpHttpExecutor
  14. def executeWithCallback[T](host: HttpHost, credsopt: Option[Credentials], req: HttpRequestBase, callback: Callback[T]): HttpPackage[T]

    Definition Classes
    BlockingCallback
  15. def finalize(): Unit

    Call shutdown if not already shutdown, issue warning

    Call shutdown if not already shutdown, issue warning

    Definition Classes
    HttpExecutor → AnyRef
  16. final def getClass(): Class[_]

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

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

    Definition Classes
    Any
  19. lazy val log: Logger

    Definition Classes
    RequestLogging
  20. def make_client: HttpClient

    Defaults to dispatch.

    Defaults to dispatch.ConfiguredHttpClient(credentials), override to customize.

  21. def make_logger: Logger

    Logger for this executor, logs to console.

    Logger for this executor, logs to console.

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

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

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

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

    Definition Classes
    AnyRef
  26. def shutdown(): Unit

    Release resources held by the executor.

    Release resources held by the executor.

    Definition Classes
    HttpExecutor
  27. def shutdownClient(): Unit

    Shutdown connection manager, threads.

    Shutdown connection manager, threads.

    Definition Classes
    BlockingHttpHttpExecutor
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  29. def toString(): String

    Definition Classes
    AnyRef → Any
  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( ... )
  33. final 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.

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

    Execute full request-response handler, response in package.

    Execute full request-response handler, response in package.

    Definition Classes
    HttpExecutor

Deprecated Value Members

  1. final def x[T](req: Request)(block: F[T]): HttpPackage[T]

    Definition Classes
    HttpExecutor
    Annotations
    @deprecated
    Deprecated

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

Inherited from BlockingCallback

Inherited from HttpExecutor

Inherited from RequestLogging

Inherited from AnyRef

Inherited from Any

Ungrouped