p

dispatch

package dispatch

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. dispatch
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait AuthVerbs extends RequestVerbs
  2. class EnrichedFuture [A] extends AnyRef
  3. class FunctionHandler [T] extends AsyncCompletionHandler[T]
  4. type Future[+T] = scala.concurrent.Future[T]

    Type alias to scala.concurrent.Future so you don't have to import

  5. trait HeaderVerbs extends RequestVerbs
  6. trait HostVerbs extends AnyRef
  7. case class Http (clientBuilder: Builder) extends HttpExecutor with Product with Serializable

    Http executor with defaults

  8. trait HttpExecutor extends AnyRef
  9. case class InternationalDomainConversionException (message: String, cause: IllegalArgumentException) extends Exception with Product with Serializable
  10. trait MethodVerbs extends RequestVerbs
  11. class OkFunctionHandler [T] extends FunctionHandler[T] with OkHandler[T]
  12. trait OkHandler [T] extends AsyncHandler[T]
  13. trait ParamVerbs extends RequestVerbs
  14. case class RawUri (scheme: Option[String], userInfo: Option[String], host: Option[String], port: Option[Int], path: Option[String], query: Option[String], fragment: Option[String]) extends Product with Serializable

    URI representation with raw parts, so

  15. case class Req (run: (RequestBuilder) ⇒ RequestBuilder, props: Properties = Req.Properties()) extends MethodVerbs with UrlVerbs with ParamVerbs with AuthVerbs with HeaderVerbs with RequestBuilderVerbs with Product with Serializable

    This wrapper provides referential transparency for the underlying RequestBuilder.

  16. trait RequestBuilderVerbs extends RequestVerbs
  17. class RequestHandlerTupleBuilder extends AnyRef

    Builds tuples of (Request, AsyncHandler) for passing to Http#apply.

    Builds tuples of (Request, AsyncHandler) for passing to Http#apply. Implied in dispatch package object

  18. trait RequestVerbs extends AnyRef
  19. type Res = Response

    Type alias for Response, avoid need to import

  20. case class StatusCode (code: Int) extends Exception with Product with Serializable
  21. type Uri = URI

    Type alias for URI, avoid need to import

  22. trait UrlVerbs extends RequestVerbs

Value Members

  1. val Future: scala.concurrent.Future.type
  2. implicit def enrichFuture[T](future: Future[T]): EnrichedFuture[T]
  3. implicit def implyRequestHandlerTuple(builder: Req): RequestHandlerTupleBuilder
  4. implicit def implyRunnable[U](f: () ⇒ U): Runnable
  5. object :/ extends HostVerbs
  6. object BuildInfo extends Product with Serializable
  7. object Defaults
  8. object EnrichedFuture
  9. object FutureEither
  10. object FutureIterable
  11. object FutureRightIterable
  12. object Http extends Serializable

    Singleton helper for vending Http instances.

    Singleton helper for vending Http instances.

    In past versions of Dispatch, this singleon was, itself, an Http executor. That could lead to a few code traps were it was possible to unintentionally allocate additional Http pools without realizing it because Http.xxxx and Http().xxxx both look very similar - yet do very different things.

    In the interest of avoiding such code traps in future releases of Dispatch, Http was changed to a helper in 0.13.x that is capable of vending a default Http executor instance or of configuring a custom one with its withConfiguration method.

    If you relied on the default Http instance in your code you can easily port your code to 0.13.x by simply invoking the Http.default method. Such as...

    Http.default(localhost / "split" << Seq("str" -> str) > as.String)
  13. object IDNDomainHelpers
  14. object RawUri extends Serializable
  15. object Req extends Serializable
  16. object SleepFuture
  17. object UriEncode
  18. object host extends HostVerbs
  19. object url extends (String) ⇒ Req

Inherited from AnyRef

Inherited from Any

Ungrouped