p
dispatch
package dispatch
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- dispatch
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- trait AuthVerbs extends RequestVerbs
- class EnrichedFuture [A] extends AnyRef
- class FunctionHandler [T] extends AsyncCompletionHandler[T]
-
type
Future[+T] = scala.concurrent.Future[T]
Type alias to scala.concurrent.Future so you don't have to import
- trait HeaderVerbs extends RequestVerbs
- trait HostVerbs extends AnyRef
-
case class
Http
(client: AsyncHttpClient = InternalDefaults.client) extends HttpExecutor with Product with Serializable
Http executor with defaults
- trait HttpExecutor extends AnyRef
- case class InternationalDomainConversionException (message: String, cause: IllegalArgumentException) extends Exception with Product with Serializable
- trait MethodVerbs extends RequestVerbs
- class OkFunctionHandler [T] extends FunctionHandler[T] with OkHandler[T]
- trait OkHandler [T] extends AsyncHandler[T]
- trait ParamVerbs extends RequestVerbs
-
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
-
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.
- trait RequestBuilderVerbs extends RequestVerbs
-
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
- trait RequestVerbs extends AnyRef
-
type
Res = Response
Type alias for Response, avoid need to import
- case class StatusCode (code: Int) extends Exception with Product with Serializable
-
type
Uri = URI
Type alias for URI, avoid need to import
- trait UrlVerbs extends RequestVerbs
Value Members
- val Future: scala.concurrent.Future.type
- implicit def enrichFuture[T](future: Future[T]): EnrichedFuture[T]
- implicit def implyRequestHandlerTuple(builder: Req): RequestHandlerTupleBuilder
- implicit def implyRunnable[U](f: () ⇒ U): Runnable
- object :/ extends HostVerbs
- object BuildInfo extends Product with Serializable
- object DaemonThreads
- object Defaults
- object EnrichedFuture
- object FutureEither
- object FutureIterable
- object FutureRightIterable
-
object
Http
extends Http
Singleton default Http executor, can be used directly or altered with its case-class
copy
- object IDNDomainHelpers
- object RawUri extends Serializable
- object Req extends Serializable
- object SleepFuture
- object UriEncode
- object host extends HostVerbs
- object url extends (String) ⇒ Req