Instance Constructors
-
new
RootService
()
Type Members
-
type
Receive
= PartialFunction[Any, Unit]
Value Members
-
def
!=
(arg0: AnyRef): Boolean
-
def
!=
(arg0: Any): Boolean
-
def
##
(): Int
-
def
==
(arg0: AnyRef): Boolean
-
def
==
(arg0: Any): Boolean
-
lazy val
addConnectionCloseResponseHeader
: Boolean
-
def
asInstanceOf
[T0]
: T0
-
def
attach
(serviceActor: ActorRef): Unit
-
def
become
(behavior: Receive, discardOld: Boolean): Unit
-
def
buildHeaders
(headers: Map[String, String]): (Option[Content-Type], Option[Content-Length], List[HttpHeader])
-
def
clone
(): AnyRef
-
def
detach
(serviceActor: ActorRef): Unit
-
def
eq
(arg0: AnyRef): Boolean
-
def
equals
(arg0: Any): Boolean
-
def
finalize
(): Unit
-
def
fromSprayResponse
(response: HttpResponse): (RawResponse) ⇒ Unit
-
def
getClass
(): java.lang.Class[_]
-
def
getRemoteHost
(remoteIP: String): Option[HttpIp]
-
def
handleException
(e: Throwable, rawContext: RawRequestContext): Unit
-
def
hashCode
(): Int
-
def
isDefinedAt
(message: Any): Boolean
-
def
isInstanceOf
[T0]
: Boolean
-
lazy val
log
: Log
-
def
ne
(arg0: AnyRef): Boolean
-
def
noService
(uri: String): HttpResponse
-
def
notify
(): Unit
-
def
notifyAll
(): Unit
-
implicit def
optionSelf
: Option[ActorRef]
-
def
postRestart
(reason: Throwable): Unit
-
def
postStart
(): Unit
-
def
postStop
(): Unit
-
def
preRestart
(reason: Throwable): Unit
-
def
preStart
(): Unit
-
def
readContent
(request: RawRequest, contentTypeHeader: Option[Content-Type], contentLengthHeader: Option[Content-Length]): Option[HttpContent]
-
def
receive
: PartialFunction[Any, Unit]
-
val
self
: ScalaActorRef
-
implicit val
someSelf
: Some[ActorRef]
-
def
synchronized
[T0]
(arg0: ⇒ T0): T0
-
def
toSprayRequest
(request: RawRequest): HttpRequest
-
def
toString
(): String
-
def
unbecome
(): Unit
-
def
unhandled
(msg: Any): Unit
-
def
wait
(): Unit
-
def
wait
(arg0: Long, arg1: Int): Unit
-
def
wait
(arg0: Long): Unit
Inherited from Actor
Inherited from AnyRef
Inherited from Any
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.