package
spray
Type Members
-
case class
Attach
(serviceActorRef: ActorRef) extends Product with Serializable
-
case class
AuthenticationFailedRejection
(realm: String) extends Rejection with Product with Serializable
-
case class
AuthenticationRequiredRejection
(scheme: String, realm: String, params: Map[String, String]) extends Rejection with Product with Serializable
-
-
case class
BasicUserContext
(username: String) extends Product with Serializable
-
type
CacheKeyer
= (RequestContext) ⇒ Option[Any]
-
type
ContentTypeResolver
= (String, Option[HttpCharset]) ⇒ ContentType
-
case class
CorruptRequestEncodingRejection
(msg: String) extends Rejection with Product with Serializable
-
case class
Detach
(serviceActorRef: ActorRef) extends Product with Serializable
-
trait
Directives
extends BasicDirectives with CacheDirectives with CodecDirectives with DetachDirectives with FileAndResourceDirectives with MarshallingDirectives with MiscDirectives with ParameterDirectives with CaseClassExtractionDirectives with PathDirectives with SecurityDirectives with SimpleDirectives with SimpleParsers
-
-
trait
FilterResult
[+T <: Product]
extends AnyRef
-
type
GeneralAuthenticator
[U]
= (RequestContext) ⇒ Either[Rejection, U]
-
trait
HttpAuthenticator
[U]
extends GeneralAuthenticator[U]
-
class
HttpService
extends HttpServiceActor with HttpServiceLogic
-
trait
HttpServiceActor
extends Actor with ErrorHandling with Logging with PostStart
-
-
case class
MalformedQueryParamRejection
(errorMsg: String, parameterName: Option[String]) extends Rejection with Product with Serializable
-
case class
MalformedRequestContentRejection
(message: String) extends Rejection with Product with Serializable
-
type
Marshaller
[A]
= ((ContentType) ⇒ Option[ContentType]) ⇒ Marshalling[A]
-
case class
MethodRejection
(supported: HttpMethod) extends Rejection with Product with Serializable
-
case class
MissingQueryParamRejection
(parameterName: String) extends Rejection with Product with Serializable
-
class
Pass
[+T <: Product]
extends FilterResult[T]
-
trait
RawRequest
extends AnyRef
-
case class
RawRequestContext
(request: RawRequest, complete: ((RawResponse) ⇒ Unit) ⇒ Unit) extends Product with Serializable
-
-
case class
Reject
(rejections: Set[Rejection]) extends RoutingResult with FilterResult[Nothing] with Product with Serializable
-
trait
Rejection
extends AnyRef
-
case class
RejectionRejection
(reject: (Rejection) ⇒ Boolean) extends Rejection with Product with Serializable
-
case class
RequestContext
(request: HttpRequest, responder: (RoutingResult) ⇒ Unit, unmatchedPath: String) extends Product with Serializable
-
type
RequiredParameterMatcher
= (Map[String, String]) ⇒ Boolean
-
case class
Respond
(response: HttpResponse) extends RoutingResult with Product with Serializable
-
class
RootService
extends Actor with ToFromRawConverter with Logging with PostStart
-
-
-
-
trait
SimpleConverter
[A, B]
extends (A) ⇒ Either[String, B]
-
trait
SimpleParser
[A]
extends SimpleConverter[String, A]
-
-
-
case class
UnacceptedResponseContentTypeRejection
(supported: Seq[ContentType]) extends Rejection with Product with Serializable
-
case class
UnacceptedResponseEncodingRejection
(supported: HttpEncoding) extends Rejection with Product with Serializable
-
type
Unmarshaller
[A]
= (ContentType) ⇒ Unmarshalling[A]
-
case class
UnsupportedRequestContentTypeRejection
(supported: Seq[ContentTypeRange]) extends Rejection with Product with Serializable
-
case class
UnsupportedRequestEncodingRejection
(supported: HttpEncoding) extends Rejection with Product with Serializable
-
type
UserPassAuthenticator
[U]
= (Option[(String, String)]) ⇒ Option[U]
-
case class
ValidationRejection
(message: String) extends Rejection with Product with Serializable
Value Members
-
object
Attach
extends Serializable
-
-
object
Directives
extends Directives
-
-
-
object
Pass
extends AnyRef
-
object
Reject
extends Serializable
-
object
Rejections
extends AnyRef
-
-
-
object
SimpleParsers
extends SimpleParsers
-
-
-
-
-
-
def
make
[A, U]
(a: A)(f: (A) ⇒ U): A
-
def
marshaller
[T]
(implicit m: Marshaller[T]): Marshaller[T]
-
-
implicit def
pimpClass
[A]
(clazz: Class[A]): PimpedClass[A]
-
implicit def
pimpFuture
[F <: akka.dispatch.Future[_]]
(future: F): PimpedFuture[F]
-
implicit def
pimpLinearSeq
[A]
(seq: LinearSeq[A]): PimpedLinearSeq[A]
-
implicit def
pimpProduct
(product: Product): PimpedProduct
-
implicit def
pimpRegex
(regex: Regex): PimpedRegex
-
-
-
def
unmarshaller
[T]
(implicit um: Unmarshaller[T]): Unmarshaller[T]
-