Class/Object

com.github.vonnagy.service.container.http.routing

RoutedService

Related Docs: object RoutedService | package routing

Permalink

class RoutedService extends Actor with RoutingHandler with HttpServiceBase

Allows you to construct Spray HttpService from a concatenation of routes; and wires in the error handler. It also logs all internal server errors using ActorLoggingAdapter.

Linear Supertypes
RoutingHandler, LoggingAdapter, SLF4JLogging, DefaultMarshallers, BasicMarshallers, MetaMarshallers, LowerPriorityImplicitMetaMarshallers, 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, Actor, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. RoutedService
  2. RoutingHandler
  3. LoggingAdapter
  4. SLF4JLogging
  5. DefaultMarshallers
  6. BasicMarshallers
  7. MetaMarshallers
  8. LowerPriorityImplicitMetaMarshallers
  9. HttpServiceBase
  10. Directives
  11. SecurityDirectives
  12. SchemeDirectives
  13. RouteDirectives
  14. RespondWithDirectives
  15. RangeDirectives
  16. PathDirectives
  17. ImplicitPathMatcherConstruction
  18. PathMatchers
  19. ParameterDirectives
  20. MiscDirectives
  21. MethodDirectives
  22. MarshallingDirectives
  23. HostDirectives
  24. HeaderDirectives
  25. FutureDirectives
  26. FormFieldDirectives
  27. ToNameReceptaclePimps
  28. FileAndResourceDirectives
  29. ExecutionDirectives
  30. EncodingDirectives
  31. DebuggingDirectives
  32. CookieDirectives
  33. ChunkingDirectives
  34. CacheConditionDirectives
  35. BasicDirectives
  36. AnyParamDirectives
  37. RouteConcatenation
  38. Actor
  39. AnyRef
  40. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RoutedService(routeEndpoints: Seq[Class[_ <: RoutedEndpoints]])

    Permalink

    routeEndpoints

    the routes to manage

Type Members

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

    Permalink
    Definition Classes
    PathMatchers
  2. type Receive = PartialFunction[Any, Unit]

    Permalink
    Definition Classes
    Actor
  3. 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. implicit val ByteArrayMarshaller: Marshaller[Array[Byte]]

    Permalink
    Definition Classes
    BasicMarshallers
  5. implicit val ByteStringMarshaller: Marshaller[ByteString]

    Permalink
    Definition Classes
    BasicMarshallers
  6. implicit val CharArrayMarshaller: Marshaller[Array[Char]]

    Permalink
    Definition Classes
    BasicMarshallers
  7. val DoubleNumber: PathMatcher1[Double]

    Permalink
    Definition Classes
    PathMatchers
  8. implicit val FormDataMarshaller: Marshaller[FormData]

    Permalink
    Definition Classes
    BasicMarshallers
  9. implicit val HttpDataMarshaller: Marshaller[HttpData]

    Permalink
    Definition Classes
    BasicMarshallers
  10. implicit val HttpEntityMarshaller: Marshaller[HttpEntity]

    Permalink
    Definition Classes
    BasicMarshallers
  11. val JavaUUID: PathMatcher1[UUID]

    Permalink
    Definition Classes
    PathMatchers
  12. val Neutral: PathMatcher0

    Permalink
    Definition Classes
    PathMatchers
  13. implicit val NodeSeqMarshaller: Marshaller[NodeSeq]

    Permalink
    Definition Classes
    BasicMarshallers
  14. val Segments: PathMatcher1[List[String]]

    Permalink
    Definition Classes
    PathMatchers
  15. implicit val StringMarshaller: Marshaller[String]

    Permalink
    Definition Classes
    BasicMarshallers
  16. implicit val ThrowableMarshaller: Marshaller[Throwable]

    Permalink
    Definition Classes
    BasicMarshallers
  17. object UUIDSerializer extends CustomSerializer[UUID] with Product with Serializable

    Permalink
    Definition Classes
    DefaultMarshallers
  18. def anyParam(apdm: AnyParamDefMagnet): Out

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

    Permalink
    Definition Classes
    AnyParamDirectives
  20. def aroundPostRestart(reason: Throwable): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
  21. def aroundPostStop(): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
  22. def aroundPreRestart(reason: Throwable, message: Option[Any]): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
  23. def aroundPreStart(): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
  24. def aroundReceive(receive: akka.actor.Actor.Receive, msg: Any): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
  25. def as[T](implicit um: FromRequestUnmarshaller[T]): FromRequestUnmarshaller[T]

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

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

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

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

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

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

    Permalink
    Definition Classes
    ChunkingDirectives
  32. val base: Receive

    Permalink
  33. def byteArrayMarshaller(contentType: ContentType): Marshaller[Array[Byte]]

    Permalink
    Definition Classes
    BasicMarshallers
  34. def byteStringMarshaller(contentType: ContentType): Marshaller[ByteString]

    Permalink
    Definition Classes
    BasicMarshallers
  35. def cancelAllRejections(cancelFilter: (Rejection) ⇒ Boolean): Directive0

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    CacheConditionDirectives
  43. implicit val context: ActorContext

    Permalink
    Definition Classes
    Actor
  44. def cookie(name: String): Directive1[HttpCookie]

    Permalink
    Definition Classes
    CookieDirectives
  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 def eitherMarshaller[A, B](implicit ma: Marshaller[A], mb: Marshaller[B]): Marshaller[Either[A, B]]

    Permalink
    Definition Classes
    MetaMarshallers
  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. implicit val exceptionHandler: ExceptionHandler

    Permalink

    Wrap all Exceptions in the com.github.vonnagy.service.container.http.RejectionResponse class then marshall as json.

    Wrap all Exceptions in the com.github.vonnagy.service.container.http.RejectionResponse class then marshall as json.

    Definition Classes
    RoutingHandler
  60. def extract[T](f: (RequestContext) ⇒ T): Directive1[T]

    Permalink
    Definition Classes
    BasicDirectives
  61. implicit val fact: ActorContext

    Permalink
    Definition Classes
    RoutedServiceRoutingHandler
  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. implicit def futureMarshaller[T](implicit m: Marshaller[T], ec: ExecutionContext): Marshaller[Future[T]]

    Permalink
    Definition Classes
    MetaMarshallers
  67. def get: Directive0

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    ExecutionDirectives
  80. def handleUnhandledRejections: PF

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    HeaderDirectives
  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 httpDataMarshaller(contentType: ContentType): Marshaller[HttpData]

    Permalink
    Definition Classes
    BasicMarshallers
  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. implicit def jsonFormats: Formats

    Permalink
    Definition Classes
    DefaultMarshallers
  99. def jsonMarshaller[T <: AnyRef]: Marshaller[AnyRef]

    Permalink
    Definition Classes
    DefaultMarshallers
  100. def jsonUnmarshaller[T](implicit arg0: Manifest[T]): Unmarshaller[T]

    Permalink
    Definition Classes
    DefaultMarshallers
  101. def jsonpWithParameter(parameterName: String): Directive0

    Permalink
    Definition Classes
    MiscDirectives
  102. def liftJson(implicit fmt: Formats): LiftJsonSupport

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

    Permalink
    Definition Classes
    FileAndResourceDirectives
  104. lazy val log: Logger

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

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

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

    Permalink
    Definition Classes
    DebuggingDirectives
  108. implicit def mMarshaller[M[_], T](implicit mm: MarshallerM[M], mt: Marshaller[T]): Marshaller[M[T]]

    Permalink
    Definition Classes
    LowerPriorityImplicitMetaMarshallers
  109. def mapHttpResponse(f: (HttpResponse) ⇒ HttpResponse): Directive0

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  121. def noop: Directive0

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    FutureDirectives
  131. implicit def optionMarshaller[T](implicit m: Marshaller[T]): Marshaller[Option[T]]

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    HeaderDirectives
  139. def options: Directive0

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

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

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

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

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

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

    Permalink
    Definition Classes
    ParameterDirectives
  146. def pass: Directive0

    Permalink
    Definition Classes
    BasicDirectives
  147. def patch: Directive0

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

    Permalink
    Definition Classes
    PathDirectives
  149. def pathEnd: Directive0

    Permalink
    Definition Classes
    PathDirectives
  150. def pathEndOrSingleSlash: Directive0

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

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

    Permalink
    Definition Classes
    PathDirectives
  153. def pathSingleSlash: Directive0

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

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

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

    Permalink
    Definition Classes
    RouteConcatenation
  157. def plainMarshaller[T]: Marshaller[T]

    Permalink
    Definition Classes
    DefaultMarshallers
  158. def post: Directive0

    Permalink
    Definition Classes
    MethodDirectives
  159. def postRestart(reason: Throwable): Unit

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  160. def postStop(): Unit

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  161. def preRestart(reason: Throwable, message: Option[Any]): Unit

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  162. def preStart(): Unit

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  163. def produce[T](marshaller: ToResponseMarshaller[T]): Directive[::[(T) ⇒ Unit, HNil]]

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

    Permalink
    Definition Classes
    BasicDirectives
  165. def put: Directive0

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

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

    Permalink
    Definition Classes
    PathDirectives
  168. def receive: PartialFunction[Any, Unit]

    Permalink
    Definition Classes
    RoutedService → Actor
  169. def redirect(uri: Uri, redirectionType: Redirection): StandardRoute

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

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

    Permalink
    Definition Classes
    RouteDirectives
  172. def reject: StandardRoute

    Permalink
    Definition Classes
    RouteDirectives
  173. def rejectEmptyResponse: Directive0

    Permalink
    Definition Classes
    MiscDirectives
  174. implicit val rejectionHandler: RejectionHandler

    Permalink

    Wrap all Rejections in the com.github.vonnagy.service.container.http.RejectionResponse class then marshall as json.

    Wrap all Rejections in the com.github.vonnagy.service.container.http.RejectionResponse class then marshall as json.

    Definition Classes
    RoutingHandler
  175. def requestEncodedWith(encoding: HttpEncoding): Directive0

    Permalink
    Definition Classes
    EncodingDirectives
  176. def requestEntityEmpty: Directive0

    Permalink
    Definition Classes
    MiscDirectives
  177. def requestEntityPresent: Directive0

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    MiscDirectives
  191. val routeEndpoints: Seq[Class[_ <: RoutedEndpoints]]

    Permalink

    the routes to manage

  192. def routeRouteResponse(f: PartialFunction[Any, Route]): Directive0

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

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

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

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

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

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

    Permalink
    Definition Classes
    ImplicitPathMatcherConstruction
  199. implicit final val self: ActorRef

    Permalink
    Definition Classes
    Actor
  200. final def sender(): ActorRef

    Permalink
    Definition Classes
    Actor
  201. def separateOnSlashes(string: String): PathMatcher0

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

    Permalink
    Definition Classes
    CookieDirectives
  203. implicit def streamMarshaller[T](implicit marshaller: Marshaller[T], refFactory: ActorRefFactory): Marshaller[Stream[T]]

    Permalink
    Definition Classes
    MetaMarshallers
  204. implicit def string2NR(string: String): NameReceptacle[String]

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

    Permalink
    Definition Classes
    ImplicitPathMatcherConstruction
  206. def stringMarshaller(contentType: ContentType, more: ContentType*): Marshaller[String]

    Permalink
    Definition Classes
    BasicMarshallers
  207. def stringMarshaller(charset: HttpCharset, more: HttpCharset*): Marshaller[String]

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

    Permalink
    Definition Classes
    ImplicitPathMatcherConstruction
  209. def supervisorStrategy: SupervisorStrategy

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

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

    Permalink
    Definition Classes
    AnyRef
  212. def timeoutRoute: Route

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

    Permalink
    Definition Classes
    AnyRef → Any
  214. implicit def tryMarshaller[T](implicit m: Marshaller[T]): Marshaller[Try[T]]

    Permalink
    Definition Classes
    MetaMarshallers
  215. def unhandled(message: Any): Unit

    Permalink
    Definition Classes
    Actor
  216. def unmatchedPath: Directive1[Path]

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

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

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

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

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

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

Inherited from LoggingAdapter

Inherited from SLF4JLogging

Inherited from DefaultMarshallers

Inherited from BasicMarshallers

Inherited from MetaMarshallers

Inherited from LowerPriorityImplicitMetaMarshallers

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 Actor

Inherited from AnyRef

Inherited from Any

Ungrouped