cc.spray

RootService

class RootService extends Actor with ToFromRawConverter with Logging with PostStart

The RootService actor is the central entrypoint for HTTP requests entering the spray infrastructure. It is responsible for creating an cc.spray.http.HttpRequest object for the request as well as dispatching this cc.spray.http.HttpRequest object to all attached HttpServices.

Linear Supertypes
PostStart, Logging, ToFromRawConverter, Actor, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. RootService
  2. PostStart
  3. Logging
  4. ToFromRawConverter
  5. Actor
  6. AnyRef
  7. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RootService ()

Type Members

  1. type Receive = PartialFunction[Any, Unit]

    Definition Classes
    Actor

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. lazy val addConnectionCloseResponseHeader : Boolean

    Definition Classes
    RootServiceToFromRawConverter
  7. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  8. def attach (serviceActor: ActorRef): Unit

    Attributes
    protected
  9. def become (behavior: Receive, discardOld: Boolean): Unit

    Definition Classes
    Actor
  10. def buildHeaders (headers: Map[String, String]): (Option[Content-Type], Option[Content-Length], List[HttpHeader])

    Attributes
    protected
    Definition Classes
    ToFromRawConverter
  11. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  12. def detach (serviceActor: ActorRef): Unit

    Attributes
    protected
  13. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  14. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  15. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  16. def fromSprayResponse (response: HttpResponse): (RawResponse) ⇒ Unit

    Attributes
    protected[spray]
    Definition Classes
    ToFromRawConverter
  17. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef
  18. def getRemoteHost (remoteIP: String): Option[HttpIp]

    Attributes
    protected
    Definition Classes
    ToFromRawConverter
  19. def handleException (e: Throwable, rawContext: RawRequestContext): Unit

    Attributes
    protected
  20. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  21. def isDefinedAt (message: Any): Boolean

    Definition Classes
    Actor
  22. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  23. lazy val log : Log

    Definition Classes
    Logging
  24. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  25. def noService (uri: String): HttpResponse

    Attributes
    protected
  26. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  27. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  28. implicit def optionSelf : Option[ActorRef]

    Attributes
    implicit
    Definition Classes
    Actor
  29. def postRestart (reason: Throwable): Unit

    Definition Classes
    RootService → Actor
  30. def postStart (): Unit

    Definition Classes
    RootServicePostStart
  31. def postStop (): Unit

    Definition Classes
    RootService → Actor
  32. def preRestart (reason: Throwable): Unit

    Definition Classes
    RootService → Actor
  33. def preStart (): Unit

    Definition Classes
    RootServicePostStart → Actor
  34. def readContent (request: RawRequest, contentTypeHeader: Option[Content-Type], contentLengthHeader: Option[Content-Length]): Option[HttpContent]

    Attributes
    protected
    Definition Classes
    ToFromRawConverter
  35. def receive : PartialFunction[Any, Unit]

    Attributes
    protected
    Definition Classes
    RootService → Actor
  36. val self : ScalaActorRef

    Definition Classes
    Actor
  37. implicit val someSelf : Some[ActorRef]

    Attributes
    implicit
    Definition Classes
    Actor
  38. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  39. def toSprayRequest (request: RawRequest): HttpRequest

    Attributes
    protected[spray]
    Definition Classes
    ToFromRawConverter
  40. def toString (): String

    Definition Classes
    AnyRef → Any
  41. def unbecome (): Unit

    Definition Classes
    Actor
  42. def unhandled (msg: Any): Unit

    Definition Classes
    Actor
  43. def wait (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  44. def wait (arg0: Long, arg1: Int): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  45. def wait (arg0: Long): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from PostStart

Inherited from Logging

Inherited from ToFromRawConverter

Inherited from Actor

Inherited from AnyRef

Inherited from Any