cc

spray

package spray

Visibility
  1. Public
  2. All
Impl.
  1. Concrete
  2. Abstract

Type Members

  1. case class Attach (serviceActorRef: ActorRef) extends Product

  2. type ContentTypeResolver = (File, Option[Charset]) ⇒ ContentType

    definition classes: root
  3. case class Detach (serviceActorRef: ActorRef) extends Product

  4. trait FilterResult [+T <: Product] extends AnyRef

    The FilterResult represents the two different filtering outcomes of RouteFilters: Pass or Reject

  5. class HttpService extends HttpServiceActor with HttpServiceLogic

    The default implementation of an HttpService.

  6. trait HttpServiceActor extends Actor with Logging

    The actor path of the HttpService.

  7. trait HttpServiceLogic extends AnyRef

    The logic part of the HttpService.

  8. case class MalformedRequestContentRejection (message: String) extends Rejection with Product

    Rejection created by unmarshallers.

  9. type Marshaller [A] = ((ContentType) ⇒ Boolean) ⇒ Marshalling[A]

    definition classes: root
  10. case class MethodRejection (supported: HttpMethod) extends Rejection with Product

    Rejection created by method filters.

  11. case class MissingQueryParamRejection (parameterName: String) extends Rejection with Product

    Rejection created by parameter filters.

  12. class Pass [+T <: Product] extends FilterResult[T]

  13. case class Reject (rejections: Set[Rejection]) extends RoutingResult with FilterResult[Nothing] with Product

  14. trait Rejection extends AnyRef

    A rejection encapsulates a specific reason why a Route was not able to handle a request.

  15. case class RequestContext (request: HttpRequest, responder: (RoutingResult) ⇒ Unit, unmatchedPath: String) extends Product

    Immutable object encapsulating the context of an HttpRequestas it flows through a spray Route structure.

  16. case class Respond (response: HttpResponse) extends RoutingResult with Product

  17. class RootService extends Actor with ServletConverter with Logging

    The RootService actor is the central entrypoint for HTTP requests entering the spray infrastructure.

  18. type Route = (RequestContext) ⇒ Unit

    definition classes: root
  19. type RouteFilter [T <: Product] = (RequestContext) ⇒ FilterResult[T]

    definition classes: root
  20. trait RoutingResult extends AnyRef

    The RoutingResult represents the two different options for the way Routes can act upon a request Respond or Reject

  21. trait ServiceBuilder extends CachingBuilders with DetachedBuilders with FileResourceDirectoryBuilders with FilterBuilders with MiscBuilders with ParameterBuilders with PathBuilders with SimpleFilterBuilders with UnMarshallingBuilders

    The ServiceBuilder is the central trait you should mix in to get access to sprays Route building directives.

  22. trait ServletConverter extends AnyRef

    The logic for converting HttpServletRequests to HttpRequests and HttpServletResponses to HttpResponses.

  23. case class UnacceptedResponseContentTypeRejection (supported: List[ContentType]) extends Rejection with Product

    Rejection created by marshallers.

  24. type Unmarshaller [A] = (ContentType) ⇒ Unmarshalling[A]

    definition classes: root
  25. case class UnsupportedRequestContentTypeRejection (supported: List[ContentTypeRange]) extends Rejection with Product

    Rejection created by unmarshallers.

Value Members

  1. object Attach extends AnyRef

  2. object Pass extends AnyRef

  3. object Reject extends AnyRef

  4. object RequestContext extends AnyRef

  5. object RequestEntityExpectedRejection extends Rejection with Product

    Rejection created by unmarshallers.

  6. package builders

  7. package http

  8. def make [A, U] (a: A)(f: (A) ⇒ U) : A

    definition classes: root
  9. def marshaller [T] (implicit m: Marshaller[T]) : Marshaller[T]

    definition classes: root
  10. package marshalling

  11. implicit def pimpClass [A] (clazz: Class[A]) : PimpedClass[A]

    attributes: implicit
    definition classes: root
  12. implicit def pimpFile (file: File) : AnyRef {...}

    attributes: implicit
    definition classes: root
  13. implicit def pimpLinearSeq [A] (seq: LinearSeq[A]) : PimpedLinearSeq[A]

    attributes: implicit
    definition classes: root
  14. implicit def pimpProduct (product: Product) : PimpedProduct

    attributes: implicit
    definition classes: root
  15. implicit def pimpRegex (regex: Regex) : AnyRef {...}

    attributes: implicit
    definition classes: root
  16. package test

  17. def unmangle (name: String) : String

    definition classes: root
  18. def unmarshaller [T] (implicit um: Unmarshaller[T]) : Unmarshaller[T]

    definition classes: root
  19. package utils