dispatch

package dispatch

Visibility
  1. Public
  2. All

Type Members

  1. trait BlockingCallback extends AnyRef

  2. trait BlockingHttp extends HttpExecutor with BlockingCallback

  3. trait Builder [T] extends AnyRef

    Used by client APIs to build Handler or other objects via chaining, completed implicitly.

  4. case class Callback [T] (request: Request, function: Function, finish: Finish[T], listener: ExceptionListener) extends Product with Serializable

  5. class CallbackVerbs extends AnyRef

  6. class ConfiguredHttpClient extends DefaultHttpClient

    Basic extension of DefaultHttpClient defaulting to Http 1.

  7. case class Credentials (username: String, password: String) extends Product with Serializable

  8. trait Encoders extends AnyRef

  9. type ExceptionListener = PartialFunction[Throwable, Unit]

    Exception listener is called in addition to an HttpExecutor's regular exception handling (throwing/logging/ignoring it).

    Exception listener is called in addition to an HttpExecutor's regular exception handling (throwing/logging/ignoring it).

    Definition Classes
    package
  10. trait FormEntity extends HttpEntity

    Used within dispatch for entites that have "form" name value pairs, whether form-urlencoded or multipart mime.

  11. case class Handler [T] (request: Request, block: F[T], listener: ExceptionListener) extends Product with Serializable

    Request handler, contains request descriptor and a function to transform the result.

  12. class HandlerVerbs extends AnyRef

  13. class Http extends BlockingHttp

    Http access point.

  14. trait HttpExecutor extends RequestLogging

    Defines request execution and response status code behaviors.

  15. trait HttpsLeniency extends AnyRef

    Trust all TLS certs

  16. trait ImplicitCallbackVerbs extends AnyRef

  17. trait ImplicitHandlerVerbs extends AnyRef

  18. trait ImplicitRequestVerbs extends AnyRef

  19. trait ImplicitXhtmlHandlerVerbs extends AnyRef

  20. trait JdkLogging extends HttpExecutor

    Mix in to Http if you want JDK logging

  21. trait Logger extends AnyRef

    Simple info and warn logger

  22. trait NoLogging extends HttpExecutor

    Mix in to Http if you want no logging from Dispatch.

  23. class RefStringEntity extends StringEntity

    Extension of StringEntity that keeps a reference to the string

  24. class Request extends Encoders

    Request descriptor, possibly contains a host, credentials, and a list of transformation functions.

  25. trait RequestLogging extends AnyRef

  26. class RequestVerbs extends AnyRef

    These functions create new request descriptors based off of the current one.

  27. case class StatusCode (code: Int, contents: String) extends Exception with Product with Serializable

  28. class XhtmlHandlerVerbs extends AnyRef

Value Members

  1. object / extends ImplicitRequestVerbs

    Creates requests from a directory, prepends '/'.

  2. object /\ extends Request

    Empty request, useful for request a descriptors that do not define a host or base path.

  3. object :/ extends AnyRef

  4. object Builder extends AnyRef

  5. object Callback extends Serializable

  6. object Handler extends Serializable

  7. object Http extends Http with Safety

    May be used directly from any thread.

  8. object Request extends Encoders with ImplicitRequestVerbs with ImplicitHandlerVerbs with ImplicitCallbackVerbs

  9. object XhtmlParsing extends ImplicitXhtmlHandlerVerbs

    Import this object's methods to get the </> verb, or see the jsoup and tagsoup modules.

  10. package futures

  11. package gae

  12. package json

  13. package jsoup

  14. package mime

  15. package nio

  16. package oauth

  17. package tagsoup

  18. package thread

  19. package twitter

  20. object url extends (String) ⇒ Request

    An explicit function to create Requests from URL strings, the same as Request.