Package

dispatch

Permalink

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

    Permalink
  2. class EnrichedFuture[A] extends AnyRef

    Permalink
  3. class FunctionHandler[T] extends AsyncCompletionHandler[T]

    Permalink
  4. type Future[+T] = scala.concurrent.Future[T]

    Permalink

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

  5. trait HeaderVerbs extends RequestVerbs

    Permalink
  6. trait HostVerbs extends AnyRef

    Permalink
  7. case class Http(clientBuilder: Builder) extends HttpExecutor with Product with Serializable

    Permalink

    Http executor with defaults

  8. trait HttpExecutor extends AnyRef

    Permalink
  9. case class InternationalDomainConversionException(message: String, cause: IllegalArgumentException) extends Exception with Product with Serializable

    Permalink
  10. trait MethodVerbs extends RequestVerbs

    Permalink
  11. class OkFunctionHandler[T] extends FunctionHandler[T] with OkHandler[T]

    Permalink
  12. trait OkHandler[T] extends AsyncHandler[T]

    Permalink
  13. trait ParamVerbs extends RequestVerbs

    Permalink
  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

    Permalink

    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

    Permalink

    This wrapper provides referential transparency for the underlying RequestBuilder.

  16. trait RequestBuilderVerbs extends RequestVerbs

    Permalink
  17. class RequestHandlerTupleBuilder extends AnyRef

    Permalink

    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

    Permalink
  19. type Res = Response

    Permalink

    Type alias for Response, avoid need to import

  20. case class StatusCode(code: Int) extends Exception with Product with Serializable

    Permalink
  21. type Uri = URI

    Permalink

    Type alias for URI, avoid need to import

  22. trait UrlVerbs extends RequestVerbs

    Permalink

Value Members

  1. object :/ extends HostVerbs

    Permalink
  2. object BuildInfo extends Product with Serializable

    Permalink
  3. object Defaults

    Permalink
  4. object EnrichedFuture

    Permalink
  5. val Future: scala.concurrent.Future.type

    Permalink
  6. object FutureEither

    Permalink
  7. object FutureIterable

    Permalink
  8. object FutureRightIterable

    Permalink
  9. object Http extends Serializable

    Permalink

    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)
  10. object IDNDomainHelpers

    Permalink
  11. object RawUri extends Serializable

    Permalink
  12. object Req extends Serializable

    Permalink
  13. object SleepFuture

    Permalink
  14. object UriEncode

    Permalink
  15. package as

    Permalink
  16. implicit def enrichFuture[T](future: Future[T]): EnrichedFuture[T]

    Permalink
  17. object host extends HostVerbs

    Permalink
  18. implicit def implyRequestHandlerTuple(builder: Req): RequestHandlerTupleBuilder

    Permalink
  19. implicit def implyRunnable[U](f: () ⇒ U): Runnable

    Permalink
  20. package oauth

    Permalink
  21. package retry

    Permalink
  22. package stream

    Permalink
  23. object url extends (String) ⇒ Req

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped