Packages

c

pl.newicom.dddd.http

Endpoint

abstract class Endpoint[A] extends (A) ⇒ Route with Directives with JsonMarshalling with EndpointConcatenation

Linear Supertypes
http.EndpointConcatenation, JsonMarshalling, Directives, FramedEntityStreamingDirectives, WebSocketDirectives, SecurityDirectives, SchemeDirectives, RouteDirectives, RespondWithDirectives, RangeDirectives, PathDirectives, ImplicitPathMatcherConstruction, PathMatchers, TimeoutDirectives, ParameterDirectives, MiscDirectives, MethodDirectives, MarshallingDirectives, HostDirectives, HeaderDirectives, FutureDirectives, FormFieldDirectives, ToNameReceptacleEnhancements, FileUploadDirectives, FileAndResourceDirectives, ExecutionDirectives, CodingDirectives, DebuggingDirectives, CookieDirectives, CacheConditionDirectives, BasicDirectives, RouteConcatenation, (A) ⇒ Route, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Endpoint
  2. EndpointConcatenation
  3. JsonMarshalling
  4. Directives
  5. FramedEntityStreamingDirectives
  6. WebSocketDirectives
  7. SecurityDirectives
  8. SchemeDirectives
  9. RouteDirectives
  10. RespondWithDirectives
  11. RangeDirectives
  12. PathDirectives
  13. ImplicitPathMatcherConstruction
  14. PathMatchers
  15. TimeoutDirectives
  16. ParameterDirectives
  17. MiscDirectives
  18. MethodDirectives
  19. MarshallingDirectives
  20. HostDirectives
  21. HeaderDirectives
  22. FutureDirectives
  23. FormFieldDirectives
  24. ToNameReceptacleEnhancements
  25. FileUploadDirectives
  26. FileAndResourceDirectives
  27. ExecutionDirectives
  28. CodingDirectives
  29. DebuggingDirectives
  30. CookieDirectives
  31. CacheConditionDirectives
  32. BasicDirectives
  33. RouteConcatenation
  34. Function1
  35. AnyRef
  36. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Endpoint()(implicit formats: Formats)

Type Members

  1. type AsyncAuthenticator[T] = (Credentials) ⇒ Future[Option[T]]
    Definition Classes
    SecurityDirectives
  2. type AsyncAuthenticatorPF[T] = PartialFunction[Credentials, Future[T]]
    Definition Classes
    SecurityDirectives
  3. type AuthenticationResult[+T] = Either[HttpChallenge, T]
    Definition Classes
    SecurityDirectives
  4. type Authenticator[T] = (Credentials) ⇒ Option[T]
    Definition Classes
    SecurityDirectives
  5. type AuthenticatorPF[T] = PartialFunction[Credentials, T]
    Definition Classes
    SecurityDirectives
  6. abstract class NumberMatcher[T] extends PathMatcher1[T]
    Definition Classes
    PathMatchers
  7. type RequestToSourceUnmarshaller[T] = Unmarshaller[HttpRequest, Source[T, NotUsed]]
    Definition Classes
    FramedEntityStreamingDirectives
  8. class EndpointConcatenation[A] extends AnyRef
    Definition Classes
    EndpointConcatenation

Abstract Value Members

  1. abstract def route(a: A): Route

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val DoubleNumber: PathMatcher1[Double]
    Definition Classes
    PathMatchers
  5. val JavaUUID: PathMatcher1[UUID]
    Definition Classes
    PathMatchers
  6. val Neutral: PathMatcher0
    Definition Classes
    PathMatchers
  7. def Segments(min: Int, max: Int): PathMatcher1[List[String]]
    Definition Classes
    PathMatchers
  8. def Segments(count: Int): PathMatcher1[List[String]]
    Definition Classes
    PathMatchers
  9. val Segments: PathMatcher1[List[String]]
    Definition Classes
    PathMatchers
  10. def _defaultClassLoader: ClassLoader
    Attributes
    protected[akka.http]
    Definition Classes
    FileAndResourceDirectives
  11. implicit def _enhanceRouteWithConcatenation(route: Route): RouteWithConcatenation
    Definition Classes
    RouteConcatenation
  12. implicit def _regex2PathMatcher(regex: Regex): PathMatcher1[String]
    Definition Classes
    ImplicitPathMatcherConstruction
  13. implicit def _segmentStringToPathMatcher(segment: String): PathMatcher0
    Definition Classes
    ImplicitPathMatcherConstruction
  14. implicit def _string2NR(string: String): NameReceptacle[String]
    Definition Classes
    ToNameReceptacleEnhancements
  15. implicit def _stringExtractionPair2PathMatcher[T](tuple: (String, T)): PathMatcher1[T]
    Definition Classes
    ImplicitPathMatcherConstruction
  16. implicit def _stringNameOptionReceptacle2PathMatcher(nr: NameOptionReceptacle[String]): PathMatcher0
    Definition Classes
    ImplicitPathMatcherConstruction
  17. implicit def _symbol2NR(symbol: Symbol): NameReceptacle[String]
    Definition Classes
    ToNameReceptacleEnhancements
  18. implicit def _valueMap2PathMatcher[T](valueMap: Map[String, T]): PathMatcher1[T]
    Definition Classes
    ImplicitPathMatcherConstruction
  19. def andThen[A](g: (Route) ⇒ A): (A) ⇒ A
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  20. def apply(a: A): Route
    Definition Classes
    Endpoint → Function1
  21. def as[T](implicit um: FromRequestUnmarshaller[T]): FromRequestUnmarshaller[T]
    Definition Classes
    MarshallingDirectives
  22. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  23. final def asSourceOf[T](support: EntityStreamingSupport)(implicit um: FromByteStringUnmarshaller[T]): RequestToSourceUnmarshaller[T]
    Definition Classes
    FramedEntityStreamingDirectives
  24. final def asSourceOf[T](implicit um: FromByteStringUnmarshaller[T], support: EntityStreamingSupport): RequestToSourceUnmarshaller[T]
    Definition Classes
    FramedEntityStreamingDirectives
  25. def authenticateBasic[T](realm: String, authenticator: Authenticator[T]): AuthenticationDirective[T]
    Definition Classes
    SecurityDirectives
  26. def authenticateBasicAsync[T](realm: String, authenticator: AsyncAuthenticator[T]): AuthenticationDirective[T]
    Definition Classes
    SecurityDirectives
  27. def authenticateBasicPF[T](realm: String, authenticator: AuthenticatorPF[T]): AuthenticationDirective[T]
    Definition Classes
    SecurityDirectives
  28. def authenticateBasicPFAsync[T](realm: String, authenticator: AsyncAuthenticatorPF[T]): AuthenticationDirective[T]
    Definition Classes
    SecurityDirectives
  29. def authenticateOAuth2[T](realm: String, authenticator: Authenticator[T]): AuthenticationDirective[T]
    Definition Classes
    SecurityDirectives
  30. def authenticateOAuth2Async[T](realm: String, authenticator: AsyncAuthenticator[T]): AuthenticationDirective[T]
    Definition Classes
    SecurityDirectives
  31. def authenticateOAuth2PF[T](realm: String, authenticator: AuthenticatorPF[T]): AuthenticationDirective[T]
    Definition Classes
    SecurityDirectives
  32. def authenticateOAuth2PFAsync[T](realm: String, authenticator: AsyncAuthenticatorPF[T]): AuthenticationDirective[T]
    Definition Classes
    SecurityDirectives
  33. def authenticateOrRejectWithChallenge[C <: HttpCredentials, T](authenticator: (Option[C]) ⇒ Future[AuthenticationResult[T]])(implicit arg0: ClassTag[C]): AuthenticationDirective[T]
    Definition Classes
    SecurityDirectives
  34. def authenticateOrRejectWithChallenge[T](authenticator: (Option[HttpCredentials]) ⇒ Future[AuthenticationResult[T]]): AuthenticationDirective[T]
    Definition Classes
    SecurityDirectives
  35. def authorize(check: (RequestContext) ⇒ Boolean): Directive0
    Definition Classes
    SecurityDirectives
  36. def authorize(check: ⇒ Boolean): Directive0
    Definition Classes
    SecurityDirectives
  37. def authorizeAsync(check: (RequestContext) ⇒ Future[Boolean]): Directive0
    Definition Classes
    SecurityDirectives
  38. def authorizeAsync(check: ⇒ Future[Boolean]): Directive0
    Definition Classes
    SecurityDirectives
  39. def cancelRejection(rejection: Rejection): Directive0
    Definition Classes
    BasicDirectives
  40. def cancelRejections(cancelFilter: (Rejection) ⇒ Boolean): Directive0
    Definition Classes
    BasicDirectives
  41. def cancelRejections(classes: Class[_]*): Directive0
    Definition Classes
    BasicDirectives
  42. def checkSameOrigin(allowed: Default): Directive0
    Definition Classes
    HeaderDirectives
  43. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  44. def complete(m: ⇒ ToResponseMarshallable): StandardRoute
    Definition Classes
    RouteDirectives
  45. def completeOrRecoverWith(magnet: CompleteOrRecoverWithMagnet): Directive1[Throwable]
    Definition Classes
    FutureDirectives
  46. def completeWith[T](marshaller: ToResponseMarshaller[T])(inner: ((T) ⇒ Unit) ⇒ Unit): Route
    Definition Classes
    MarshallingDirectives
  47. def compose[A](g: (A) ⇒ A): (A) ⇒ Route
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  48. def concat(routes: Route*): Route
    Definition Classes
    RouteConcatenation
  49. def conditional(eTag: Option[EntityTag], lastModified: Option[DateTime]): Directive0
    Definition Classes
    CacheConditionDirectives
  50. def conditional(eTag: EntityTag, lastModified: DateTime): Directive0
    Definition Classes
    CacheConditionDirectives
  51. def conditional(lastModified: DateTime): Directive0
    Definition Classes
    CacheConditionDirectives
  52. def conditional(eTag: EntityTag): Directive0
    Definition Classes
    CacheConditionDirectives
  53. def cookie(name: String): Directive1[HttpCookiePair]
    Definition Classes
    CookieDirectives
  54. def decodeRequest: Directive0
    Definition Classes
    CodingDirectives
  55. def decodeRequestWith(decoders: Decoder*): Directive0
    Definition Classes
    CodingDirectives
  56. def decodeRequestWith(decoder: Decoder): Directive0
    Definition Classes
    CodingDirectives
  57. def delete: Directive0
    Definition Classes
    MethodDirectives
  58. def deleteCookie(name: String, domain: String, path: String): Directive0
    Definition Classes
    CookieDirectives
  59. def deleteCookie(first: HttpCookie, more: HttpCookie*): Directive0
    Definition Classes
    CookieDirectives
  60. def encodeResponse: Directive0
    Definition Classes
    CodingDirectives
  61. def encodeResponseWith(first: Encoder, more: Encoder*): Directive0
    Definition Classes
    CodingDirectives
  62. implicit def enhanceEndpointWithConcatenation[A](endpoint: Endpoint[A])(implicit formats: Formats): EndpointConcatenation[A]
    Definition Classes
    EndpointConcatenation
  63. def entity[T](um: FromRequestUnmarshaller[T]): Directive1[T]
    Definition Classes
    MarshallingDirectives
  64. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  65. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  66. def extract[T](f: (RequestContext) ⇒ T): Directive1[T]
    Definition Classes
    BasicDirectives
  67. def extractActorSystem: Directive1[ActorSystem]
    Definition Classes
    BasicDirectives
  68. def extractClientIP: Directive1[RemoteAddress]
    Definition Classes
    MiscDirectives
  69. def extractCredentials: Directive1[Option[HttpCredentials]]
    Definition Classes
    SecurityDirectives
  70. def extractDataBytes: Directive1[Source[ByteString, Any]]
    Definition Classes
    BasicDirectives
  71. def extractExecutionContext: Directive1[ExecutionContextExecutor]
    Definition Classes
    BasicDirectives
  72. def extractHost: Directive1[String]
    Definition Classes
    HostDirectives
  73. def extractLog: Directive1[LoggingAdapter]
    Definition Classes
    BasicDirectives
  74. def extractMatchedPath: Directive1[Path]
    Definition Classes
    BasicDirectives
  75. def extractMaterializer: Directive1[Materializer]
    Definition Classes
    BasicDirectives
  76. def extractMethod: Directive1[HttpMethod]
    Definition Classes
    MethodDirectives
  77. def extractOfferedWsProtocols: Directive1[Seq[String]]
    Definition Classes
    WebSocketDirectives
  78. def extractParserSettings: Directive1[ParserSettings]
    Definition Classes
    BasicDirectives
  79. def extractRequest: Directive1[HttpRequest]
    Definition Classes
    BasicDirectives
  80. def extractRequestContext: Directive1[RequestContext]
    Definition Classes
    BasicDirectives
  81. def extractRequestEntity: Directive1[RequestEntity]
    Definition Classes
    BasicDirectives
  82. def extractRequestTimeout: Directive1[Duration]
    Definition Classes
    TimeoutDirectives
  83. def extractScheme: Directive1[String]
    Definition Classes
    SchemeDirectives
  84. def extractSettings: Directive1[RoutingSettings]
    Definition Classes
    BasicDirectives
  85. def extractStrictEntity(timeout: FiniteDuration): Directive1[Strict]
    Definition Classes
    BasicDirectives
  86. def extractUnmatchedPath: Directive1[Path]
    Definition Classes
    BasicDirectives
  87. def extractUpgradeToWebSocket: Directive1[UpgradeToWebSocket]
    Definition Classes
    WebSocketDirectives
  88. def extractUri: Directive1[Uri]
    Definition Classes
    BasicDirectives
  89. def failWith(error: Throwable): StandardRoute
    Definition Classes
    RouteDirectives
  90. implicit def feum[A](implicit arg0: Manifest[A], formats: Formats, m: Materializer, ec: ExecutionContext): FromEntityUnmarshaller[A]
    Definition Classes
    JsonMarshalling
  91. def fileUpload(fieldName: String): Directive1[(FileInfo, Source[ByteString, Any])]
    Definition Classes
    FileUploadDirectives
  92. def fileUploadAll(fieldName: String): Directive1[Seq[(FileInfo, Source[ByteString, Any])]]
    Definition Classes
    FileUploadDirectives
    Annotations
    @ApiMayChange()
  93. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  94. def formField(pdm: FieldMagnet): Out
    Definition Classes
    FormFieldDirectives
  95. def formFieldMap: Directive1[Map[String, String]]
    Definition Classes
    FormFieldDirectives
  96. def formFieldMultiMap: Directive1[Map[String, List[String]]]
    Definition Classes
    FormFieldDirectives
  97. def formFieldSeq: Directive1[Seq[(String, String)]]
    Definition Classes
    FormFieldDirectives
  98. def formFields(pdm: FieldMagnet): Out
    Definition Classes
    FormFieldDirectives
  99. def get: Directive0
    Definition Classes
    MethodDirectives
  100. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  101. def getFromBrowseableDirectories(directories: String*)(implicit renderer: DirectoryRenderer, resolver: ContentTypeResolver): Route
    Definition Classes
    FileAndResourceDirectives
  102. def getFromBrowseableDirectory(directory: String)(implicit renderer: DirectoryRenderer, resolver: ContentTypeResolver): Route
    Definition Classes
    FileAndResourceDirectives
  103. def getFromDirectory(directoryName: String)(implicit resolver: ContentTypeResolver): Route
    Definition Classes
    FileAndResourceDirectives
  104. def getFromFile(file: File, contentType: ContentType): Route
    Definition Classes
    FileAndResourceDirectives
  105. def getFromFile(file: File)(implicit resolver: ContentTypeResolver): Route
    Definition Classes
    FileAndResourceDirectives
  106. def getFromFile(fileName: String)(implicit resolver: ContentTypeResolver): Route
    Definition Classes
    FileAndResourceDirectives
  107. def getFromResource(resourceName: String, contentType: ContentType, classLoader: ClassLoader): Route
    Definition Classes
    FileAndResourceDirectives
  108. def getFromResource(resourceName: String)(implicit resolver: ContentTypeResolver): Route
    Definition Classes
    FileAndResourceDirectives
  109. def getFromResourceDirectory(directoryName: String, classLoader: ClassLoader)(implicit resolver: ContentTypeResolver): Route
    Definition Classes
    FileAndResourceDirectives
  110. def handleExceptions(handler: ExceptionHandler): Directive0
    Definition Classes
    ExecutionDirectives
  111. def handleRejections(handler: RejectionHandler): Directive0
    Definition Classes
    ExecutionDirectives
  112. def handleWebSocketMessages(handler: Flow[Message, Message, Any]): Route
    Definition Classes
    WebSocketDirectives
  113. def handleWebSocketMessagesForOptionalProtocol(handler: Flow[Message, Message, Any], subprotocol: Option[String]): Route
    Definition Classes
    WebSocketDirectives
  114. def handleWebSocketMessagesForProtocol(handler: Flow[Message, Message, Any], subprotocol: String): Route
    Definition Classes
    WebSocketDirectives
  115. def handleWith[A, B](f: (A) ⇒ B)(implicit um: FromRequestUnmarshaller[A], m: ToResponseMarshaller[B]): Route
    Definition Classes
    MarshallingDirectives
  116. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  117. def head: Directive0
    Definition Classes
    MethodDirectives
  118. def headerValue[T](f: (HttpHeader) ⇒ Option[T]): Directive1[T]
    Definition Classes
    HeaderDirectives
  119. def headerValueByName(headerName: String): Directive1[String]
    Definition Classes
    HeaderDirectives
  120. def headerValueByName(headerName: Symbol): Directive1[String]
    Definition Classes
    HeaderDirectives
  121. def headerValueByType[T](magnet: HeaderMagnet[T]): Directive1[T]
    Definition Classes
    HeaderDirectives
  122. def headerValuePF[T](pf: PartialFunction[HttpHeader, T]): Directive1[T]
    Definition Classes
    HeaderDirectives
  123. def host(regex: Regex): Directive1[String]
    Definition Classes
    HostDirectives
  124. def host(predicate: (String) ⇒ Boolean): Directive0
    Definition Classes
    HostDirectives
  125. def host(hostNames: String*): Directive0
    Definition Classes
    HostDirectives
  126. def ignoreTrailingSlash: Directive0
    Definition Classes
    PathDirectives
  127. def instanceOf[T](implicit m: ToResponseMarshaller[T]): ToResponseMarshaller[T]
    Definition Classes
    MarshallingDirectives
  128. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  129. def listDirectoryContents(directories: String*)(implicit renderer: DirectoryRenderer): Route
    Definition Classes
    FileAndResourceDirectives
  130. def logRequest(magnet: LoggingMagnet[(HttpRequest) ⇒ Unit]): Directive0
    Definition Classes
    DebuggingDirectives
  131. def logRequestResult(magnet: LoggingMagnet[(HttpRequest) ⇒ (RouteResult) ⇒ Unit]): Directive0
    Definition Classes
    DebuggingDirectives
  132. def logResult(magnet: LoggingMagnet[(RouteResult) ⇒ Unit]): Directive0
    Definition Classes
    DebuggingDirectives
  133. def mapInnerRoute(f: (Route) ⇒ Route): Directive0
    Definition Classes
    BasicDirectives
  134. def mapRejections(f: (Seq[Rejection]) ⇒ Seq[Rejection]): Directive0
    Definition Classes
    BasicDirectives
  135. def mapRequest(f: (HttpRequest) ⇒ HttpRequest): Directive0
    Definition Classes
    BasicDirectives
  136. def mapRequestContext(f: (RequestContext) ⇒ RequestContext): Directive0
    Definition Classes
    BasicDirectives
  137. def mapResponse(f: (HttpResponse) ⇒ HttpResponse): Directive0
    Definition Classes
    BasicDirectives
  138. def mapResponseEntity(f: (ResponseEntity) ⇒ ResponseEntity): Directive0
    Definition Classes
    BasicDirectives
  139. def mapResponseHeaders(f: (Seq[HttpHeader]) ⇒ Seq[HttpHeader]): Directive0
    Definition Classes
    BasicDirectives
  140. def mapRouteResult(f: (RouteResult) ⇒ RouteResult): Directive0
    Definition Classes
    BasicDirectives
  141. def mapRouteResultFuture(f: (Future[RouteResult]) ⇒ Future[RouteResult]): Directive0
    Definition Classes
    BasicDirectives
  142. def mapRouteResultPF(f: PartialFunction[RouteResult, RouteResult]): Directive0
    Definition Classes
    BasicDirectives
  143. def mapRouteResultWith(f: (RouteResult) ⇒ Future[RouteResult]): Directive0
    Definition Classes
    BasicDirectives
  144. def mapRouteResultWithPF(f: PartialFunction[RouteResult, Future[RouteResult]]): Directive0
    Definition Classes
    BasicDirectives
  145. def mapSettings(f: (RoutingSettings) ⇒ RoutingSettings): Directive0
    Definition Classes
    BasicDirectives
  146. def mapUnmatchedPath(f: (Path) ⇒ Path): Directive0
    Definition Classes
    BasicDirectives
  147. def method(httpMethod: HttpMethod): Directive0
    Definition Classes
    MethodDirectives
  148. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  149. def nothingMatcher[L](implicit arg0: Tuple[L]): PathMatcher[L]
    Definition Classes
    PathMatchers
  150. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  151. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  152. def onComplete[T](future: ⇒ Future[T]): Directive1[Try[T]]
    Definition Classes
    FutureDirectives
  153. def onCompleteWithBreaker[T](breaker: CircuitBreaker)(future: ⇒ Future[T]): Directive1[Try[T]]
    Definition Classes
    FutureDirectives
  154. def onSuccess(magnet: OnSuccessMagnet): Directive[Out]
    Definition Classes
    FutureDirectives
  155. def optionalCookie(name: String): Directive1[Option[HttpCookiePair]]
    Definition Classes
    CookieDirectives
  156. def optionalHeaderValue[T](f: (HttpHeader) ⇒ Option[T]): Directive1[Option[T]]
    Definition Classes
    HeaderDirectives
  157. def optionalHeaderValueByName(headerName: String): Directive1[Option[String]]
    Definition Classes
    HeaderDirectives
  158. def optionalHeaderValueByName(headerName: Symbol): Directive1[Option[String]]
    Definition Classes
    HeaderDirectives
  159. def optionalHeaderValueByType[T <: HttpHeader](magnet: HeaderMagnet[T]): Directive1[Option[T]]
    Definition Classes
    HeaderDirectives
  160. def optionalHeaderValuePF[T](pf: PartialFunction[HttpHeader, T]): Directive1[Option[T]]
    Definition Classes
    HeaderDirectives
  161. def options: Directive0
    Definition Classes
    MethodDirectives
  162. def overrideMethodWithParameter(paramName: String): Directive0
    Definition Classes
    MethodDirectives
  163. def parameter(pdm: ParamMagnet): Out
    Definition Classes
    ParameterDirectives
  164. def parameterMap: Directive1[Map[String, String]]
    Definition Classes
    ParameterDirectives
  165. def parameterMultiMap: Directive1[Map[String, List[String]]]
    Definition Classes
    ParameterDirectives
  166. def parameterSeq: Directive1[Seq[(String, String)]]
    Definition Classes
    ParameterDirectives
  167. def parameters(pdm: ParamMagnet): Out
    Definition Classes
    ParameterDirectives
  168. def pass: Directive0
    Definition Classes
    BasicDirectives
  169. def patch: Directive0
    Definition Classes
    MethodDirectives
  170. def path[L](pm: PathMatcher[L]): Directive[L]
    Definition Classes
    PathDirectives
  171. def pathEnd: Directive0
    Definition Classes
    PathDirectives
  172. def pathEndOrSingleSlash: Directive0
    Definition Classes
    PathDirectives
  173. def pathPrefix[L](pm: PathMatcher[L]): Directive[L]
    Definition Classes
    PathDirectives
  174. def pathPrefixTest[L](pm: PathMatcher[L]): Directive[L]
    Definition Classes
    PathDirectives
  175. def pathSingleSlash: Directive0
    Definition Classes
    PathDirectives
  176. def pathSuffix[L](pm: PathMatcher[L]): Directive[L]
    Definition Classes
    PathDirectives
  177. def pathSuffixTest[L](pm: PathMatcher[L]): Directive[L]
    Definition Classes
    PathDirectives
  178. def post: Directive0
    Definition Classes
    MethodDirectives
  179. def provide[T](value: T): Directive1[T]
    Definition Classes
    BasicDirectives
  180. def put: Directive0
    Definition Classes
    MethodDirectives
  181. def rawPathPrefix[L](pm: PathMatcher[L]): Directive[L]
    Definition Classes
    PathDirectives
  182. def rawPathPrefixTest[L](pm: PathMatcher[L]): Directive[L]
    Definition Classes
    PathDirectives
  183. def recoverRejections(f: (Seq[Rejection]) ⇒ RouteResult): Directive0
    Definition Classes
    BasicDirectives
  184. def recoverRejectionsWith(f: (Seq[Rejection]) ⇒ Future[RouteResult]): Directive0
    Definition Classes
    BasicDirectives
  185. def redirect(uri: Uri, redirectionType: Redirection): StandardRoute
    Definition Classes
    RouteDirectives
  186. def redirectToNoTrailingSlashIfPresent(redirectionType: Redirection): Directive0
    Definition Classes
    PathDirectives
  187. def redirectToTrailingSlashIfMissing(redirectionType: Redirection): Directive0
    Definition Classes
    PathDirectives
  188. def reject(rejections: Rejection*): StandardRoute
    Definition Classes
    RouteDirectives
  189. def reject: StandardRoute
    Definition Classes
    RouteDirectives
  190. def rejectEmptyResponse: Directive0
    Definition Classes
    MiscDirectives
  191. def requestEncodedWith(encoding: HttpEncoding): Directive0
    Definition Classes
    CodingDirectives
  192. def requestEntityEmpty: Directive0
    Definition Classes
    MiscDirectives
  193. def requestEntityPresent: Directive0
    Definition Classes
    MiscDirectives
  194. def respondWithDefaultHeader(responseHeader: HttpHeader): Directive0
    Definition Classes
    RespondWithDirectives
  195. def respondWithDefaultHeaders(responseHeaders: Seq[HttpHeader]): Directive0
    Definition Classes
    RespondWithDirectives
  196. def respondWithDefaultHeaders(responseHeaders: HttpHeader*): Directive0
    Definition Classes
    RespondWithDirectives
  197. def respondWithHeader(responseHeader: HttpHeader): Directive0
    Definition Classes
    RespondWithDirectives
  198. def respondWithHeaders(responseHeaders: Seq[HttpHeader]): Directive0
    Definition Classes
    RespondWithDirectives
  199. def respondWithHeaders(responseHeaders: HttpHeader*): Directive0
    Definition Classes
    RespondWithDirectives
  200. def responseEncodingAccepted(encoding: HttpEncoding): Directive0
    Definition Classes
    CodingDirectives
  201. def scheme(name: String): Directive0
    Definition Classes
    SchemeDirectives
  202. def selectPreferredLanguage(first: Language, more: Language*): Directive1[Language]
    Definition Classes
    MiscDirectives
  203. def separateOnSlashes(string: String): PathMatcher0
    Definition Classes
    PathMatchers
  204. def setCookie(first: HttpCookie, more: HttpCookie*): Directive0
    Definition Classes
    CookieDirectives
  205. def storeUploadedFile(fieldName: String, destFn: (FileInfo) ⇒ File): Directive[(FileInfo, File)]
    Definition Classes
    FileUploadDirectives
    Annotations
    @ApiMayChange()
  206. def storeUploadedFiles(fieldName: String, destFn: (FileInfo) ⇒ File): Directive1[Seq[(FileInfo, File)]]
    Definition Classes
    FileUploadDirectives
    Annotations
    @ApiMayChange()
  207. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  208. implicit def tem[A <: AnyRef](implicit formats: Formats): ToEntityMarshaller[A]
    Definition Classes
    JsonMarshalling
  209. def textract[L](f: (RequestContext) ⇒ L)(implicit arg0: Tuple[L]): Directive[L]
    Definition Classes
    BasicDirectives
  210. def toStrictEntity(timeout: FiniteDuration): Directive0
    Definition Classes
    BasicDirectives
  211. def toString(): String
    Definition Classes
    Function1 → AnyRef → Any
  212. def tprovide[L](values: L)(implicit arg0: Tuple[L]): Directive[L]
    Definition Classes
    BasicDirectives
  213. def validate(check: ⇒ Boolean, errorMsg: String): Directive0
    Definition Classes
    MiscDirectives
  214. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  215. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  216. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  217. def withExecutionContext(ec: ExecutionContextExecutor): Directive0
    Definition Classes
    BasicDirectives
  218. def withLog(log: LoggingAdapter): Directive0
    Definition Classes
    BasicDirectives
  219. def withMaterializer(materializer: Materializer): Directive0
    Definition Classes
    BasicDirectives
  220. def withPrecompressedMediaTypeSupport: Directive0
    Definition Classes
    CodingDirectives
  221. def withRangeSupport: Directive0
    Definition Classes
    RangeDirectives
  222. def withRequestTimeout(timeout: Duration, handler: Option[(HttpRequest) ⇒ HttpResponse]): Directive0
    Definition Classes
    TimeoutDirectives
  223. def withRequestTimeout(timeout: Duration, handler: (HttpRequest) ⇒ HttpResponse): Directive0
    Definition Classes
    TimeoutDirectives
  224. def withRequestTimeout(timeout: Duration): Directive0
    Definition Classes
    TimeoutDirectives
  225. def withRequestTimeoutResponse(handler: (HttpRequest) ⇒ HttpResponse): Directive0
    Definition Classes
    TimeoutDirectives
  226. def withSettings(settings: RoutingSettings): Directive0
    Definition Classes
    BasicDirectives
  227. def withSizeLimit(maxBytes: Long): Directive0
    Definition Classes
    MiscDirectives
  228. def withoutRequestTimeout: Directive0
    Definition Classes
    TimeoutDirectives
  229. def withoutSizeLimit: Directive0
    Definition Classes
    MiscDirectives

Deprecated Value Members

  1. def uploadedFile(fieldName: String): Directive1[(FileInfo, File)]
    Definition Classes
    FileUploadDirectives
    Annotations
    @deprecated
    Deprecated

    (Since version 10.0.11) Deprecated in favor of storeUploadedFile which allows to specify a file to store the upload in.

Inherited from JsonMarshalling

Inherited from Directives

Inherited from FramedEntityStreamingDirectives

Inherited from WebSocketDirectives

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 TimeoutDirectives

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 ToNameReceptacleEnhancements

Inherited from FileUploadDirectives

Inherited from FileAndResourceDirectives

Inherited from ExecutionDirectives

Inherited from CodingDirectives

Inherited from DebuggingDirectives

Inherited from CookieDirectives

Inherited from CacheConditionDirectives

Inherited from BasicDirectives

Inherited from RouteConcatenation

Inherited from (A) ⇒ Route

Inherited from AnyRef

Inherited from Any

Ungrouped