Class/Object

spark.jobserver

WebApi

Related Docs: object WebApi | package jobserver

Permalink

class WebApi extends HttpService with CommonRoutes with DataRoutes with SJSAuthenticator with CORSSupport with ChunkEncodedStreamingSupport

Linear Supertypes
ChunkEncodedStreamingSupport, CORSSupport, SJSAuthenticator, DataRoutes, CommonRoutes, 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. WebApi
  2. ChunkEncodedStreamingSupport
  3. CORSSupport
  4. SJSAuthenticator
  5. DataRoutes
  6. CommonRoutes
  7. HttpService
  8. HttpServiceBase
  9. Directives
  10. SecurityDirectives
  11. SchemeDirectives
  12. RouteDirectives
  13. RespondWithDirectives
  14. RangeDirectives
  15. PathDirectives
  16. ImplicitPathMatcherConstruction
  17. PathMatchers
  18. ParameterDirectives
  19. MiscDirectives
  20. MethodDirectives
  21. MarshallingDirectives
  22. HostDirectives
  23. HeaderDirectives
  24. FutureDirectives
  25. FormFieldDirectives
  26. ToNameReceptaclePimps
  27. FileAndResourceDirectives
  28. ExecutionDirectives
  29. EncodingDirectives
  30. DebuggingDirectives
  31. CookieDirectives
  32. ChunkingDirectives
  33. CacheConditionDirectives
  34. BasicDirectives
  35. AnyParamDirectives
  36. RouteConcatenation
  37. AnyRef
  38. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new WebApi(system: ActorSystem, config: Config, port: Int, jarManager: ActorRef, dataManager: ActorRef, supervisor: ActorRef, jobInfo: ActorRef)

    Permalink

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 DefaultJobLimit: Int

    Permalink
  5. val DefaultSyncTimeout: Timeout

    Permalink
  6. val DoubleNumber: PathMatcher1[Double]

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

    Permalink
    Definition Classes
    PathMatchers
  8. val Neutral: PathMatcher0

    Permalink
    Definition Classes
    PathMatchers
  9. val ResultChunkSize: Int

    Permalink
  10. val ResultKey: String

    Permalink
  11. object Segment extends PathMatcher1[String]

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

    Permalink
    Definition Classes
    PathMatchers
  13. implicit val ShortTimeout: Timeout

    Permalink
  14. val StatusKey: String

    Permalink
  15. def actorRefFactory: ActorSystem

    Permalink
    Definition Classes
    WebApi → HttpService
  16. def anyParam(apdm: AnyParamDefMagnet): Out

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

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

    Permalink
    Definition Classes
    MarshallingDirectives
  19. def asAllUserAuthenticator(implicit ec: ExecutionContext): AuthMagnet[AuthInfo]

    Permalink

    default authenticator that accepts all users based on example provided by Mario Camou at http://www.tecnoguru.com/blog/2014/07/07/implementing-http-basic-authentication-with-spray/

    default authenticator that accepts all users based on example provided by Mario Camou at http://www.tecnoguru.com/blog/2014/07/07/implementing-http-basic-authentication-with-spray/

    Definition Classes
    SJSAuthenticator
  20. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  21. def asShiroAuthenticator(authTimeout: Int)(implicit ec: ExecutionContext): AuthMagnet[AuthInfo]

    Permalink
    Definition Classes
    SJSAuthenticator
  22. val asyncEvents: Set[Class[_]]

    Permalink
  23. def authenticate[T](magnet: AuthMagnet[T]): Directive1[T]

    Permalink
    Definition Classes
    SecurityDirectives
  24. lazy val authenticator: AuthMagnet[AuthInfo]

    Permalink
  25. def authorize(check: (RequestContext) ⇒ Boolean): Directive0

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

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

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

    Permalink
    Definition Classes
    ChunkingDirectives
  29. val bindAddress: String

    Permalink
  30. def cancelAllRejections(cancelFilter: (Rejection) ⇒ Boolean): Directive0

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. val commonRoutes: Route

    Permalink
    Definition Classes
    CommonRoutes
  35. def complete: (⇒ ToResponseMarshallable) ⇒ StandardRoute

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

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

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

    Permalink
    Definition Classes
    CacheConditionDirectives
  39. def contextRoutes: Route

    Permalink

    Routes for listing, adding, and stopping contexts GET /contexts - lists all current contexts POST /contexts/<contextName> - creates a new context DELETE /contexts/<contextName> - stops a context and all jobs running in it

  40. val contextTimeout: Int

    Permalink
  41. def cookie(name: String): Directive1[HttpCookie]

    Permalink
    Definition Classes
    CookieDirectives
  42. def cors[T]: Directive0

    Permalink
    Definition Classes
    CORSSupport
  43. def dataRoutes: Route

    Permalink

    Routes for listing, deletion of and storing data files GET /data - lists all currently stored files DELETE /data/<filename> - deletes given file, no-op if file does not exist POST /data/<filename-prefix> - upload a new data file, using the given prefix, a time stamp is appended to ensure uniqueness

  44. def dataRoutes(dataManager: ActorRef)(implicit ec: ExecutionContext, ShortTimeout: Timeout): Route

    Permalink
    Definition Classes
    DataRoutes
  45. def decodeRequest(decoder: Decoder): Directive0

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

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

    Permalink
    Definition Classes
    EncodingDirectives
  48. def delete: Directive0

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

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

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

    Permalink
    Definition Classes
    ExecutionDirectives
  52. def dynamic: ByNameDirective0

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

    Permalink
    Definition Classes
    ExecutionDirectives
  54. implicit val ec: ExecutionContext

    Permalink
  55. def encodeResponse(magnet: EncodeResponseMagnet): Directive0

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  59. val errorEvents: Set[Class[_]]

    Permalink
  60. def explicitValidation(userPass: UserPass, logger: Logger): Option[AuthInfo]

    Permalink

    do not call directly - only for unit testing!

    do not call directly - only for unit testing!

    Definition Classes
    SJSAuthenticator
  61. def extract[T](f: (RequestContext) ⇒ T): Directive1[T]

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

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

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

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

    Permalink
    Definition Classes
    FormFieldDirectives
  66. def get: Directive0

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    ExecutionDirectives
  79. def handleUnhandledRejections: PF

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    HeaderDirectives
  88. def healthzRoutes: Route

    Permalink

    Routes for getting health status of job server GET /healthz - return OK or error message

  89. def hextract[L <: HList](f: (RequestContext) ⇒ L): Directive[L]

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

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

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

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

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

    Permalink
    Definition Classes
    BasicDirectives
  95. def initSecurityManager(): Unit

    Permalink

    possibly overwritten by test

  96. def instanceOf[T](implicit m: ToResponseMarshaller[T]): ToResponseMarshaller[T]

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

    Permalink
    Definition Classes
    Any
  98. def jarRoutes: Route

    Permalink

    Routes for listing and uploading jars GET /jars - lists all current jars POST /jars/<appName> - upload a new jar file

  99. def jobRoutes: Route

    Permalink

    Main routes for starting a job, listing existing jobs, getting job results

  100. def jsonpWithParameter(parameterName: String): Directive0

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

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

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

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

    Permalink
    Definition Classes
    DebuggingDirectives
  105. val logger: Logger

    Permalink
  106. def mapHttpResponse(f: (HttpResponse) ⇒ HttpResponse): Directive0

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    MethodDirectives
  117. val myRoutes: Route

    Permalink
  118. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  119. def noop: Directive0

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    HeaderDirectives
  136. def options: Directive0

    Permalink
    Definition Classes
    MethodDirectives
  137. def otherRoutes: Route

    Permalink
  138. def overrideMethodWithParameter(paramName: String): Directive0

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

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

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

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

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

    Permalink
    Definition Classes
    ParameterDirectives
  144. def pass: Directive0

    Permalink
    Definition Classes
    BasicDirectives
  145. def patch: Directive0

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

    Permalink
    Definition Classes
    PathDirectives
  147. def pathEnd: Directive0

    Permalink
    Definition Classes
    PathDirectives
  148. def pathEndOrSingleSlash: Directive0

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

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

    Permalink
    Definition Classes
    PathDirectives
  151. def pathSingleSlash: Directive0

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

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

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

    Permalink
    Definition Classes
    RouteConcatenation
  155. def post: Directive0

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

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

    Permalink
    Definition Classes
    BasicDirectives
  158. def put: Directive0

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

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

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

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

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

    Permalink
    Definition Classes
    RouteDirectives
  164. def reject: StandardRoute

    Permalink
    Definition Classes
    RouteDirectives
  165. def rejectEmptyResponse: Directive0

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

    Permalink
    Definition Classes
    EncodingDirectives
  167. def requestEntityEmpty: Directive0

    Permalink
    Definition Classes
    MiscDirectives
  168. def requestEntityPresent: Directive0

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    ImplicitPathMatcherConstruction
  189. def sendStreamingResponse(ctx: RequestContext, chunkSize: Int, byteIterator: Iterator[_]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ChunkEncodedStreamingSupport
  190. def separateOnSlashes(string: String): PathMatcher0

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

    Permalink
    Definition Classes
    CookieDirectives
  192. def snappyUserAuthenticator(implicit ec: ExecutionContext): AuthMagnet[AuthInfo]

    Permalink
    Definition Classes
    SJSAuthenticator
  193. def start(): Unit

    Permalink
  194. implicit def string2NR(string: String): NameReceptacle[String]

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

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

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

    Permalink
    Definition Classes
    ToNameReceptaclePimps
  198. val syncEvents: Set[Class[_]]

    Permalink
  199. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  200. def timeoutRoute: Route

    Permalink
    Definition Classes
    WebApi → HttpServiceBase
  201. def toString(): String

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  208. 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 CORSSupport

Inherited from SJSAuthenticator

Inherited from DataRoutes

Inherited from CommonRoutes

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