dispatch

classic

package classic

Visibility
  1. Public
  2. All

Type Members

  1. trait BlockingCallback extends AnyRef

  2. trait Builder[T] extends AnyRef

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

  3. class Callback[T](request: Request, function: (HttpResponse, Array[Byte], Int) ⇒ Unit, finish: (HttpResponse) ⇒ T, listener: PartialFunction[Throwable, Unit]) extends Product

  4. class CallbackVerbs extends AnyRef

  5. class Credentials(username: String, password: String) extends Product

  6. trait Encoders extends AnyRef

  7. 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: root
  8. trait FormEntity extends HttpEntity

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

  9. class Handler[T](request: Request, block: (Int, HttpResponse, Option[HttpEntity]) ⇒ T, listener: PartialFunction[Throwable, Unit]) extends Product

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

  10. class HandlerVerbs extends AnyRef

  11. trait HttpExecutor extends RequestLogging

    Defines request execution and response status code behaviors.

  12. trait ImplicitCallbackVerbs extends AnyRef

  13. trait ImplicitHandlerVerbs extends AnyRef

  14. trait ImplicitRequestVerbs extends AnyRef

  15. trait ImplicitXhtmlHandlerVerbs extends AnyRef

  16. trait JdkLogging extends HttpExecutor

    Mix in to Http if you want JDK logging

  17. trait Logger extends AnyRef

    Simple info and warn logger

  18. trait NoLogging extends HttpExecutor

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

  19. class RefStringEntity extends StringEntity

    Extension of StringEntity that keeps a reference to the string

  20. class Request extends Encoders

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

  21. trait RequestLogging extends AnyRef

  22. class RequestVerbs extends AnyRef

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

  23. class StatusCode(code: Int, contents: String) extends Exception with Product

  24. 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 AnyRef

  6. object Handler extends AnyRef

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

  8. object XhtmlParsing extends ImplicitXhtmlHandlerVerbs

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

  9. object url extends (String) ⇒ Request

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