Object

ooyala.common.akka.web

WebService

Related Doc: package web

Permalink

object WebService extends SimpleRoutingApp

Contains methods for starting an embedded Spray web server.

Linear Supertypes
SimpleRoutingApp, HttpService, HttpServiceBase, Directives, SecurityDirectives, SchemeDirectives, RouteDirectives, RespondWithDirectives, RangeDirectives, PathDirectives, ImplicitPathMatcherConstruction, PathMatchers, ParameterDirectives, MiscDirectives, MethodDirectives, MarshallingDirectives, HostDirectives, HeaderDirectives, FutureDirectives, FormFieldDirectives, ToNameReceptaclePimps, FileAndResourceDirectives, ExecutionDirectives, EncodingDirectives, DebuggingDirectives, CookieDirectives, ChunkingDirectives, CacheConditionDirectives, BasicDirectives, AnyParamDirectives, spray.routing.RouteConcatenation, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WebService
  2. SimpleRoutingApp
  3. HttpService
  4. HttpServiceBase
  5. Directives
  6. SecurityDirectives
  7. SchemeDirectives
  8. RouteDirectives
  9. RespondWithDirectives
  10. RangeDirectives
  11. PathDirectives
  12. ImplicitPathMatcherConstruction
  13. PathMatchers
  14. ParameterDirectives
  15. MiscDirectives
  16. MethodDirectives
  17. MarshallingDirectives
  18. HostDirectives
  19. HeaderDirectives
  20. FutureDirectives
  21. FormFieldDirectives
  22. ToNameReceptaclePimps
  23. FileAndResourceDirectives
  24. ExecutionDirectives
  25. EncodingDirectives
  26. DebuggingDirectives
  27. CookieDirectives
  28. ChunkingDirectives
  29. CacheConditionDirectives
  30. BasicDirectives
  31. AnyParamDirectives
  32. RouteConcatenation
  33. AnyRef
  34. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract class NumberMatcher[T] extends PathMatcher1[T]

    Permalink
    Definition Classes
    PathMatchers
  2. class RouteConcatenation extends AnyRef

    Permalink
    Definition Classes
    RouteConcatenation

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val DoubleNumber: PathMatcher1[Double]

    Permalink
    Definition Classes
    PathMatchers
  5. val JavaUUID: PathMatcher1[UUID]

    Permalink
    Definition Classes
    PathMatchers
  6. val Neutral: PathMatcher0

    Permalink
    Definition Classes
    PathMatchers
  7. object Segment extends PathMatcher1[String]

    Permalink
    Definition Classes
    PathMatchers
  8. val Segments: PathMatcher1[List[String]]

    Permalink
    Definition Classes
    PathMatchers
  9. implicit def actorRefFactory: ActorRefFactory

    Permalink
    Definition Classes
    SimpleRoutingApp → HttpService
  10. def anyParam(apdm: AnyParamDefMagnet): Out

    Permalink
    Definition Classes
    AnyParamDirectives
  11. def anyParams(apdm: AnyParamDefMagnet): Out

    Permalink
    Definition Classes
    AnyParamDirectives
  12. def as[T](implicit um: FromRequestUnmarshaller[T]): FromRequestUnmarshaller[T]

    Permalink
    Definition Classes
    MarshallingDirectives
  13. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  14. def authenticate[T](magnet: AuthMagnet[T]): Directive1[T]

    Permalink
    Definition Classes
    SecurityDirectives
  15. def authorize(check: (RequestContext) ⇒ Boolean): Directive0

    Permalink
    Definition Classes
    SecurityDirectives
  16. def authorize(check: ⇒ Boolean): Directive0

    Permalink
    Definition Classes
    SecurityDirectives
  17. def autoChunk(csm: ChunkSizeMagnet): Directive0

    Permalink
    Definition Classes
    ChunkingDirectives
  18. def autoChunkFileBytes(csm: ChunkSizeMagnet): Directive0

    Permalink
    Definition Classes
    ChunkingDirectives
  19. def cancelAllRejections(cancelFilter: (Rejection) ⇒ Boolean): Directive0

    Permalink
    Definition Classes
    MiscDirectives
  20. def cancelRejection(rejection: Rejection): Directive0

    Permalink
    Definition Classes
    MiscDirectives
  21. def clientIP: Directive1[RemoteAddress]

    Permalink
    Definition Classes
    MiscDirectives
  22. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. def complete: (⇒ ToResponseMarshallable) ⇒ StandardRoute

    Permalink
    Definition Classes
    RouteDirectives
  24. def compressResponse(magnet: CompressResponseMagnet): Directive0

    Permalink
    Definition Classes
    EncodingDirectives
  25. def compressResponseIfRequested(magnet: RefFactoryMagnet): Directive0

    Permalink
    Definition Classes
    EncodingDirectives
  26. def conditional(eTag: EntityTag, lastModified: DateTime): Directive0

    Permalink
    Definition Classes
    CacheConditionDirectives
  27. def cookie(name: String): Directive1[HttpCookie]

    Permalink
    Definition Classes
    CookieDirectives
  28. def decodeRequest(decoder: Decoder): Directive0

    Permalink
    Definition Classes
    EncodingDirectives
  29. def decompressRequest(first: Decoder, more: Decoder*): Directive0

    Permalink
    Definition Classes
    EncodingDirectives
  30. def decompressRequest(): Directive0

    Permalink
    Definition Classes
    EncodingDirectives
  31. def delete: Directive0

    Permalink
    Definition Classes
    MethodDirectives
  32. def deleteCookie(name: String, domain: String, path: String): Directive0

    Permalink
    Definition Classes
    CookieDirectives
  33. def deleteCookie(first: HttpCookie, more: HttpCookie*): Directive0

    Permalink
    Definition Classes
    CookieDirectives
  34. def detach(dm: DetachMagnet): Directive0

    Permalink
    Definition Classes
    ExecutionDirectives
  35. def dynamic: ByNameDirective0

    Permalink
    Definition Classes
    ExecutionDirectives
  36. def dynamicIf(enabled: Boolean): ByNameDirective0

    Permalink
    Definition Classes
    ExecutionDirectives
  37. def encodeResponse(magnet: EncodeResponseMagnet): Directive0

    Permalink
    Definition Classes
    EncodingDirectives
  38. def entity[T](um: FromRequestUnmarshaller[T]): Directive1[T]

    Permalink
    Definition Classes
    MarshallingDirectives
  39. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  40. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  41. def extract[T](f: (RequestContext) ⇒ T): Directive1[T]

    Permalink
    Definition Classes
    BasicDirectives
  42. def failWith(error: Throwable): StandardRoute

    Permalink
    Definition Classes
    RouteDirectives
  43. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  44. def formField(fdm: FieldDefMagnet): Out

    Permalink
    Definition Classes
    FormFieldDirectives
  45. def formFields(fdm: FieldDefMagnet): Out

    Permalink
    Definition Classes
    FormFieldDirectives
  46. def get: Directive0

    Permalink
    Definition Classes
    MethodDirectives
  47. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  48. def getFromBrowseableDirectories(directories: String*)(implicit renderer: Marshaller[DirectoryListing], settings: RoutingSettings, resolver: ContentTypeResolver, refFactory: ActorRefFactory, log: LoggingContext): Route

    Permalink
    Definition Classes
    FileAndResourceDirectives
  49. def getFromBrowseableDirectory(directory: String)(implicit renderer: Marshaller[DirectoryListing], settings: RoutingSettings, resolver: ContentTypeResolver, refFactory: ActorRefFactory, log: LoggingContext): Route

    Permalink
    Definition Classes
    FileAndResourceDirectives
  50. def getFromDirectory(directoryName: String)(implicit settings: RoutingSettings, resolver: ContentTypeResolver, refFactory: ActorRefFactory, log: LoggingContext): Route

    Permalink
    Definition Classes
    FileAndResourceDirectives
  51. def getFromFile(file: File, contentType: ContentType)(implicit settings: RoutingSettings, refFactory: ActorRefFactory): Route

    Permalink
    Definition Classes
    FileAndResourceDirectives
  52. def getFromFile(file: File)(implicit settings: RoutingSettings, resolver: ContentTypeResolver, refFactory: ActorRefFactory): Route

    Permalink
    Definition Classes
    FileAndResourceDirectives
  53. def getFromFile(fileName: String)(implicit settings: RoutingSettings, resolver: ContentTypeResolver, refFactory: ActorRefFactory): Route

    Permalink
    Definition Classes
    FileAndResourceDirectives
  54. def getFromResource(resourceName: String, contentType: ContentType)(implicit refFactory: ActorRefFactory): Route

    Permalink
    Definition Classes
    FileAndResourceDirectives
  55. def getFromResource(resourceName: String)(implicit resolver: ContentTypeResolver, refFactory: ActorRefFactory): Route

    Permalink
    Definition Classes
    FileAndResourceDirectives
  56. def getFromResourceDirectory(directoryName: String)(implicit resolver: ContentTypeResolver, refFactory: ActorRefFactory, log: LoggingContext): Route

    Permalink
    Definition Classes
    FileAndResourceDirectives
  57. def handleExceptions(handler: ExceptionHandler): Directive0

    Permalink
    Definition Classes
    ExecutionDirectives
  58. def handleRejections(handler: RejectionHandler): Directive0

    Permalink
    Definition Classes
    ExecutionDirectives
  59. def handleUnhandledRejections: PF

    Permalink
    Definition Classes
    HttpServiceBase
  60. def handleWith[A, B](f: (A) ⇒ B)(implicit um: FromRequestUnmarshaller[A], m: ToResponseMarshaller[B]): Route

    Permalink
    Definition Classes
    MarshallingDirectives
  61. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  62. def head: Directive0

    Permalink
    Definition Classes
    MethodDirectives
  63. def headerValue[T](f: (HttpHeader) ⇒ Option[T]): Directive1[T]

    Permalink
    Definition Classes
    HeaderDirectives
  64. def headerValueByName(headerName: String): Directive1[String]

    Permalink
    Definition Classes
    HeaderDirectives
  65. def headerValueByName(headerName: Symbol): Directive1[String]

    Permalink
    Definition Classes
    HeaderDirectives
  66. def headerValueByType[T <: HttpHeader](magnet: ClassMagnet[T]): Directive1[T]

    Permalink
    Definition Classes
    HeaderDirectives
  67. def headerValuePF[T](pf: PartialFunction[HttpHeader, T]): Directive1[T]

    Permalink
    Definition Classes
    HeaderDirectives
  68. def hextract[L <: HList](f: (RequestContext) ⇒ L): Directive[L]

    Permalink
    Definition Classes
    BasicDirectives
  69. def host(regex: Regex): Directive1[String]

    Permalink
    Definition Classes
    HostDirectives
  70. def host(predicate: (String) ⇒ Boolean): Directive0

    Permalink
    Definition Classes
    HostDirectives
  71. def host(hostNames: String*): Directive0

    Permalink
    Definition Classes
    HostDirectives
  72. def hostName: Directive1[String]

    Permalink
    Definition Classes
    HostDirectives
  73. def hprovide[L <: HList](values: L): Directive[L]

    Permalink
    Definition Classes
    BasicDirectives
  74. def instanceOf[T](implicit m: ToResponseMarshaller[T]): ToResponseMarshaller[T]

    Permalink
    Definition Classes
    MarshallingDirectives
  75. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  76. def jsonpWithParameter(parameterName: String): Directive0

    Permalink
    Definition Classes
    MiscDirectives
  77. def listDirectoryContents(directories: String*)(implicit renderer: Marshaller[DirectoryListing], refFactory: ActorRefFactory, log: LoggingContext): Route

    Permalink
    Definition Classes
    FileAndResourceDirectives
  78. def logRequest(magnet: LoggingMagnet[(HttpRequest) ⇒ Unit]): Directive0

    Permalink
    Definition Classes
    DebuggingDirectives
  79. def logRequestResponse(magnet: LoggingMagnet[(HttpRequest) ⇒ (Any) ⇒ Unit]): Directive0

    Permalink
    Definition Classes
    DebuggingDirectives
  80. def logResponse(magnet: LoggingMagnet[(Any) ⇒ Unit]): Directive0

    Permalink
    Definition Classes
    DebuggingDirectives
  81. def mapHttpResponse(f: (HttpResponse) ⇒ HttpResponse): Directive0

    Permalink
    Definition Classes
    BasicDirectives
  82. def mapHttpResponseEntity(f: (HttpEntity) ⇒ HttpEntity): Directive0

    Permalink
    Definition Classes
    BasicDirectives
  83. def mapHttpResponseHeaders(f: (List[HttpHeader]) ⇒ List[HttpHeader]): Directive0

    Permalink
    Definition Classes
    BasicDirectives
  84. def mapHttpResponsePart(f: (HttpResponsePart) ⇒ HttpResponsePart): Directive0

    Permalink
    Definition Classes
    BasicDirectives
  85. def mapInnerRoute(f: (Route) ⇒ Route): Directive0

    Permalink
    Definition Classes
    BasicDirectives
  86. def mapRejections(f: (List[Rejection]) ⇒ List[Rejection]): Directive0

    Permalink
    Definition Classes
    BasicDirectives
  87. def mapRequest(f: (HttpRequest) ⇒ HttpRequest): Directive0

    Permalink
    Definition Classes
    BasicDirectives
  88. def mapRequestContext(f: (RequestContext) ⇒ RequestContext): Directive0

    Permalink
    Definition Classes
    BasicDirectives
  89. def mapRouteResponse(f: (Any) ⇒ Any): Directive0

    Permalink
    Definition Classes
    BasicDirectives
  90. def mapRouteResponsePF(f: PartialFunction[Any, Any]): Directive0

    Permalink
    Definition Classes
    BasicDirectives
  91. def method(httpMethod: HttpMethod): Directive0

    Permalink
    Definition Classes
    MethodDirectives
  92. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  93. def noop: Directive0

    Permalink
    Definition Classes
    BasicDirectives
  94. def nothingMatcher[L <: HList]: PathMatcher[L]

    Permalink
    Definition Classes
    PathMatchers
  95. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  96. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  97. def ofType[T <: Rejection](implicit arg0: ClassTag[T]): (Rejection) ⇒ Boolean

    Permalink
    Definition Classes
    MiscDirectives
  98. def ofTypes(classes: Class[_]*): (Rejection) ⇒ Boolean

    Permalink
    Definition Classes
    MiscDirectives
  99. def onComplete[T](magnet: OnCompleteFutureMagnet[T]): Directive1[Try[T]]

    Permalink
    Definition Classes
    FutureDirectives
  100. def onConnectionClosed(ev: ConnectionClosed): Unit

    Permalink
    Definition Classes
    HttpServiceBase
  101. def onFailure(magnet: OnFailureFutureMagnet): Directive1[Throwable]

    Permalink
    Definition Classes
    FutureDirectives
  102. def onSuccess(magnet: OnSuccessFutureMagnet): Directive[Out]

    Permalink
    Definition Classes
    FutureDirectives
  103. def optionalAuthenticate[T](magnet: AuthMagnet[T]): Directive1[Option[T]]

    Permalink
    Definition Classes
    SecurityDirectives
  104. def optionalCookie(name: String): Directive1[Option[HttpCookie]]

    Permalink
    Definition Classes
    CookieDirectives
  105. def optionalHeaderValue[T](f: (HttpHeader) ⇒ Option[T]): Directive1[Option[T]]

    Permalink
    Definition Classes
    HeaderDirectives
  106. def optionalHeaderValueByName(headerName: String): Directive1[Option[String]]

    Permalink
    Definition Classes
    HeaderDirectives
  107. def optionalHeaderValueByName(headerName: Symbol): Directive1[Option[String]]

    Permalink
    Definition Classes
    HeaderDirectives
  108. def optionalHeaderValueByType[T <: HttpHeader](magnet: ClassMagnet[T]): Directive1[Option[T]]

    Permalink
    Definition Classes
    HeaderDirectives
  109. def optionalHeaderValuePF[T](pf: PartialFunction[HttpHeader, T]): Directive1[Option[T]]

    Permalink
    Definition Classes
    HeaderDirectives
  110. def options: Directive0

    Permalink
    Definition Classes
    MethodDirectives
  111. def overrideMethodWithParameter(paramName: String): Directive0

    Permalink
    Definition Classes
    MethodDirectives
  112. def parameter(pdm: ParamDefMagnet): Out

    Permalink
    Definition Classes
    ParameterDirectives
  113. def parameterMap: Directive1[Map[String, String]]

    Permalink
    Definition Classes
    ParameterDirectives
  114. def parameterMultiMap: Directive1[Map[String, List[String]]]

    Permalink
    Definition Classes
    ParameterDirectives
  115. def parameterSeq: Directive1[Seq[(String, String)]]

    Permalink
    Definition Classes
    ParameterDirectives
  116. def parameters(pdm: ParamDefMagnet): Out

    Permalink
    Definition Classes
    ParameterDirectives
  117. def pass: Directive0

    Permalink
    Definition Classes
    BasicDirectives
  118. def patch: Directive0

    Permalink
    Definition Classes
    MethodDirectives
  119. def path[L <: HList](pm: PathMatcher[L]): Directive[L]

    Permalink
    Definition Classes
    PathDirectives
  120. def pathEnd: Directive0

    Permalink
    Definition Classes
    PathDirectives
  121. def pathEndOrSingleSlash: Directive0

    Permalink
    Definition Classes
    PathDirectives
  122. def pathPrefix[L <: HList](pm: PathMatcher[L]): Directive[L]

    Permalink
    Definition Classes
    PathDirectives
  123. def pathPrefixTest[L <: HList](pm: PathMatcher[L]): Directive[L]

    Permalink
    Definition Classes
    PathDirectives
  124. def pathSingleSlash: Directive0

    Permalink
    Definition Classes
    PathDirectives
  125. def pathSuffix[L <: HList](pm: PathMatcher[L]): Directive[L]

    Permalink
    Definition Classes
    PathDirectives
  126. def pathSuffixTest[L <: HList](pm: PathMatcher[L]): Directive[L]

    Permalink
    Definition Classes
    PathDirectives
  127. implicit def pimpRouteWithConcatenation(route: Route): RouteConcatenation

    Permalink
    Definition Classes
    RouteConcatenation
  128. def post: Directive0

    Permalink
    Definition Classes
    MethodDirectives
  129. def produce[T](marshaller: ToResponseMarshaller[T]): Directive[::[(T) ⇒ Unit, HNil]]

    Permalink
    Definition Classes
    MarshallingDirectives
  130. def provide[T](value: T): Directive1[T]

    Permalink
    Definition Classes
    BasicDirectives
  131. def put: Directive0

    Permalink
    Definition Classes
    MethodDirectives
  132. def rawPathPrefix[L <: HList](pm: PathMatcher[L]): Directive[L]

    Permalink
    Definition Classes
    PathDirectives
  133. def rawPathPrefixTest[L <: HList](pm: PathMatcher[L]): Directive[L]

    Permalink
    Definition Classes
    PathDirectives
  134. def redirect(uri: Uri, redirectionType: Redirection): StandardRoute

    Permalink
    Definition Classes
    RouteDirectives
  135. implicit def regex2PathMatcher(regex: Regex): PathMatcher1[String]

    Permalink
    Definition Classes
    ImplicitPathMatcherConstruction
  136. def reject(rejections: Rejection*): StandardRoute

    Permalink
    Definition Classes
    RouteDirectives
  137. def reject: StandardRoute

    Permalink
    Definition Classes
    RouteDirectives
  138. def rejectEmptyResponse: Directive0

    Permalink
    Definition Classes
    MiscDirectives
  139. def requestEncodedWith(encoding: HttpEncoding): Directive0

    Permalink
    Definition Classes
    EncodingDirectives
  140. def requestEntityEmpty: Directive0

    Permalink
    Definition Classes
    MiscDirectives
  141. def requestEntityPresent: Directive0

    Permalink
    Definition Classes
    MiscDirectives
  142. def requestInstance: Directive1[HttpRequest]

    Permalink
    Definition Classes
    MiscDirectives
  143. def requestUri: Directive1[Uri]

    Permalink
    Definition Classes
    MiscDirectives
  144. def respondWithHeader(responseHeader: HttpHeader): Directive0

    Permalink
    Definition Classes
    RespondWithDirectives
  145. def respondWithHeaders(responseHeaders: List[HttpHeader]): Directive0

    Permalink
    Definition Classes
    RespondWithDirectives
  146. def respondWithHeaders(responseHeaders: HttpHeader*): Directive0

    Permalink
    Definition Classes
    RespondWithDirectives
  147. def respondWithLastModifiedHeader(timestamp: Long): Directive0

    Permalink
    Definition Classes
    FileAndResourceDirectives
  148. def respondWithMediaType(mediaType: MediaType): Directive0

    Permalink
    Definition Classes
    RespondWithDirectives
  149. def respondWithSingletonHeader(responseHeader: HttpHeader): Directive0

    Permalink
    Definition Classes
    RespondWithDirectives
  150. def respondWithSingletonHeaders(responseHeaders: List[HttpHeader]): Directive0

    Permalink
    Definition Classes
    RespondWithDirectives
  151. def respondWithSingletonHeaders(responseHeaders: HttpHeader*): Directive0

    Permalink
    Definition Classes
    RespondWithDirectives
  152. def respondWithStatus(responseStatus: StatusCode): Directive0

    Permalink
    Definition Classes
    RespondWithDirectives
  153. def responseEncodingAccepted(encoding: HttpEncoding): Directive0

    Permalink
    Definition Classes
    EncodingDirectives
  154. def rewriteUnmatchedPath(f: (Path) ⇒ Path): Directive0

    Permalink
    Definition Classes
    MiscDirectives
  155. def routeRouteResponse(f: PartialFunction[Any, Route]): Directive0

    Permalink
    Definition Classes
    BasicDirectives
  156. def runRoute(route: Route)(implicit eh: ExceptionHandler, rh: RejectionHandler, ac: ActorContext, rs: RoutingSettings, log: LoggingContext): Receive

    Permalink
    Definition Classes
    HttpServiceBase
  157. def scheme(schm: String): Directive0

    Permalink
    Definition Classes
    SchemeDirectives
  158. def schemeName: Directive1[String]

    Permalink
    Definition Classes
    SchemeDirectives
  159. def sealRejectionHandler(rh: RejectionHandler): RejectionHandler

    Permalink
    Definition Classes
    HttpServiceBase
  160. def sealRoute(route: Route)(implicit eh: ExceptionHandler, rh: RejectionHandler): Route

    Permalink
    Definition Classes
    HttpServiceBase
  161. implicit def segmentStringToPathMatcher(segment: String): PathMatcher0

    Permalink
    Definition Classes
    ImplicitPathMatcherConstruction
  162. def separateOnSlashes(string: String): PathMatcher0

    Permalink
    Definition Classes
    PathMatchers
  163. def setCookie(first: HttpCookie, more: HttpCookie*): Directive0

    Permalink
    Definition Classes
    CookieDirectives
  164. def start(route: Route, system: ActorSystem, host: String = "0.0.0.0", port: Int = 8080)(implicit sslContext: SSLContext, sslEngineProvider: ServerSSLEngineProvider): Unit

    Permalink

    Starts a web server given a Route.

    Starts a web server given a Route. Note that this call is meant to be made from an App or other top level scope, and not within an actor, as system.actorOf may block.

    route

    The spray Route for the service. Multiple routes can be combined like (route1 ~ route2).

    system

    the ActorSystem to use

    host

    The host string to bind to, defaults to "0.0.0.0"

    port

    The port number to bind to

  165. def startServer(interface: String, port: Int, serviceActorName: String, backlog: Int, options: Traversable[SocketOption], settings: Option[ServerSettings])(route: ⇒ Route)(implicit system: ActorSystem, sslEngineProvider: ServerSSLEngineProvider, bindingTimeout: Timeout): Future[Bound]

    Permalink
    Definition Classes
    SimpleRoutingApp
  166. implicit def string2NR(string: String): NameReceptacle[String]

    Permalink
    Definition Classes
    ToNameReceptaclePimps
  167. implicit def stringExtractionPair2PathMatcher[T](tuple: (String, T)): PathMatcher1[T]

    Permalink
    Definition Classes
    ImplicitPathMatcherConstruction
  168. implicit def stringOptionNameReceptacle2PathMatcher(nr: NameReceptacle[Option[String]]): PathMatcher0

    Permalink
    Definition Classes
    ImplicitPathMatcherConstruction
  169. implicit def symbol2NR(symbol: Symbol): NameReceptacle[String]

    Permalink
    Definition Classes
    ToNameReceptaclePimps
  170. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  171. def timeoutRoute: Route

    Permalink
    Definition Classes
    HttpServiceBase
  172. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  173. def unmatchedPath: Directive1[Path]

    Permalink
    Definition Classes
    MiscDirectives
  174. def validate(check: ⇒ Boolean, errorMsg: String): Directive0

    Permalink
    Definition Classes
    MiscDirectives
  175. implicit def valueMap2PathMatcher[T](valueMap: Map[String, T]): PathMatcher1[T]

    Permalink
    Definition Classes
    ImplicitPathMatcherConstruction
  176. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  179. def withRangeSupport(m: WithRangeSupportMagnet): Directive0

    Permalink
    Definition Classes
    RangeDirectives

Deprecated Value Members

  1. def PathElement: Segment.type

    Permalink
    Definition Classes
    PathMatchers
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0-M8/1.1-M8) Use Segment instead

Inherited from SimpleRoutingApp

Inherited from HttpService

Inherited from HttpServiceBase

Inherited from Directives

Inherited from SecurityDirectives

Inherited from SchemeDirectives

Inherited from RouteDirectives

Inherited from RespondWithDirectives

Inherited from RangeDirectives

Inherited from PathDirectives

Inherited from ImplicitPathMatcherConstruction

Inherited from PathMatchers

Inherited from ParameterDirectives

Inherited from MiscDirectives

Inherited from MethodDirectives

Inherited from MarshallingDirectives

Inherited from HostDirectives

Inherited from HeaderDirectives

Inherited from FutureDirectives

Inherited from FormFieldDirectives

Inherited from ToNameReceptaclePimps

Inherited from FileAndResourceDirectives

Inherited from ExecutionDirectives

Inherited from EncodingDirectives

Inherited from DebuggingDirectives

Inherited from CookieDirectives

Inherited from ChunkingDirectives

Inherited from CacheConditionDirectives

Inherited from BasicDirectives

Inherited from AnyParamDirectives

Inherited from spray.routing.RouteConcatenation

Inherited from AnyRef

Inherited from Any

Ungrouped