Packages

class DemoApp extends AllDirectives

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DemoApp
  2. AllDirectives
  3. TlsDirectives
  4. CorsDirectives
  5. FramedEntityStreamingDirectives
  6. TimeoutDirectives
  7. WebSocketDirectives
  8. SecurityDirectives
  9. SchemeDirectives
  10. RouteDirectives
  11. RespondWithDirectives
  12. RangeDirectives
  13. PathDirectives
  14. ParameterDirectives
  15. MiscDirectives
  16. MethodDirectives
  17. MarshallingDirectives
  18. HostDirectives
  19. AttributeDirectives
  20. HeaderDirectives
  21. FutureDirectives
  22. FormFieldDirectives
  23. FileUploadDirectives
  24. FileAndResourceDirectives
  25. ExecutionDirectives
  26. DebuggingDirectives
  27. CookieDirectives
  28. CodingDirectives
  29. CacheConditionDirectives
  30. BasicDirectives
  31. AnyRef
  32. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def attribute[T](key: AttributeKey[T], inner: Function[T, Route]): RouteAdapter
    Definition Classes
    AttributeDirectives
  6. def authenticateBasic[T](realm: String, authenticator: Function[Optional[ProvidedCredentials], Optional[T]], inner: Function[T, Route]): Route
    Definition Classes
    SecurityDirectives
  7. def authenticateBasicAsync[T](realm: String, authenticator: Function[Optional[ProvidedCredentials], CompletionStage[Optional[T]]], inner: Function[T, Route]): Route
    Definition Classes
    SecurityDirectives
  8. def authenticateBasicAsyncOptional[T](realm: String, authenticator: Function[Optional[ProvidedCredentials], CompletionStage[Optional[T]]], inner: Function[Optional[T], Route]): Route
    Definition Classes
    SecurityDirectives
    Annotations
    @CorrespondsTo()
  9. def authenticateBasicOptional[T](realm: String, authenticator: Function[Optional[ProvidedCredentials], Optional[T]], inner: Function[Optional[T], Route]): Route
    Definition Classes
    SecurityDirectives
    Annotations
    @CorrespondsTo()
  10. def authenticateBasicPF[T](realm: String, authenticator: PartialFunction[Optional[ProvidedCredentials], T], inner: Function[T, Route]): Route
    Definition Classes
    SecurityDirectives
  11. def authenticateBasicPFAsync[T](realm: String, authenticator: PartialFunction[Optional[ProvidedCredentials], CompletionStage[T]], inner: Function[T, Route]): Route
    Definition Classes
    SecurityDirectives
  12. def authenticateOAuth2[T](realm: String, authenticator: Function[Optional[ProvidedCredentials], Optional[T]], inner: Function[T, Route]): Route
    Definition Classes
    SecurityDirectives
  13. def authenticateOAuth2Async[T](realm: String, authenticator: Function[Optional[ProvidedCredentials], CompletionStage[Optional[T]]], inner: Function[T, Route]): Route
    Definition Classes
    SecurityDirectives
  14. def authenticateOAuth2AsyncOptional[T](realm: String, authenticator: Function[Optional[ProvidedCredentials], CompletionStage[Optional[T]]], inner: Function[Optional[T], Route]): Route
    Definition Classes
    SecurityDirectives
    Annotations
    @CorrespondsTo()
  15. def authenticateOAuth2Optional[T](realm: String, authenticator: Function[Optional[ProvidedCredentials], Optional[T]], inner: Function[Optional[T], Route]): Route
    Definition Classes
    SecurityDirectives
    Annotations
    @CorrespondsTo()
  16. def authenticateOrRejectWithChallenge[C <: HttpCredentials, T](c: Class[C], authenticator: Function[Optional[C], CompletionStage[Either[HttpChallenge, T]]], inner: Function[T, Route]): Route
    Definition Classes
    SecurityDirectives
  17. def authenticateOrRejectWithChallenge[T](authenticator: Function[Optional[HttpCredentials], CompletionStage[Either[HttpChallenge, T]]], inner: Function[T, Route]): Route
    Definition Classes
    SecurityDirectives
  18. def authorize(check: Supplier[Boolean], inner: Supplier[Route]): Route
    Definition Classes
    SecurityDirectives
  19. def authorizeAsync(check: Supplier[CompletionStage[Boolean]], inner: Supplier[Route]): Route
    Definition Classes
    SecurityDirectives
  20. def authorizeAsyncWithRequestContext(check: Function[RequestContext, CompletionStage[Boolean]], inner: Supplier[Route]): Route
    Definition Classes
    SecurityDirectives
    Annotations
    @CorrespondsTo()
  21. def authorizeWithRequestContext(check: Function[RequestContext, Boolean], inner: Supplier[Route]): Route
    Definition Classes
    SecurityDirectives
    Annotations
    @CorrespondsTo()
  22. def cancelRejection(rejection: Rejection, inner: Supplier[Route]): Route
    Definition Classes
    BasicDirectives
  23. def cancelRejections(filter: Predicate[Rejection], inner: Supplier[Route]): Route
    Definition Classes
    BasicDirectives
  24. def cancelRejections(classes: Iterable[Class[_]], inner: Supplier[Route]): Route
    Definition Classes
    BasicDirectives
  25. def checkSameOrigin(allowed: HttpOriginRange, inner: Supplier[Route]): Route
    Definition Classes
    HeaderDirectives
  26. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  27. def complete(entity: RequestEntity): RouteAdapter
    Definition Classes
    RouteDirectives
  28. def complete(entity: ResponseEntity): RouteAdapter
    Definition Classes
    RouteDirectives
  29. def complete(headers: Iterable[HttpHeader], entity: RequestEntity): RouteAdapter
    Definition Classes
    RouteDirectives
  30. def complete(headers: Iterable[HttpHeader], entity: ResponseEntity): RouteAdapter
    Definition Classes
    RouteDirectives
  31. def complete[T](headers: Iterable[HttpHeader], value: T, marshaller: Marshaller[T, RequestEntity]): RouteAdapter
    Definition Classes
    RouteDirectives
  32. def complete(status: StatusCode, entity: String): RouteAdapter
    Definition Classes
    RouteDirectives
  33. def complete(status: StatusCode, entity: RequestEntity): RouteAdapter
    Definition Classes
    RouteDirectives
  34. def complete(status: StatusCode, entity: ResponseEntity): RouteAdapter
    Definition Classes
    RouteDirectives
  35. def complete[T](status: StatusCode, value: T, marshaller: Marshaller[T, RequestEntity]): RouteAdapter
    Definition Classes
    RouteDirectives
  36. def complete(status: StatusCode, headers: Iterable[HttpHeader], entity: RequestEntity): RouteAdapter
    Definition Classes
    RouteDirectives
  37. def complete(status: StatusCode, headers: Iterable[HttpHeader], entity: ResponseEntity): RouteAdapter
    Definition Classes
    RouteDirectives
  38. def complete[T](status: StatusCode, headers: Iterable[HttpHeader], value: T, marshaller: Marshaller[T, RequestEntity]): RouteAdapter
    Definition Classes
    RouteDirectives
  39. def complete[T](value: T, marshaller: Marshaller[T, HttpResponse]): RouteAdapter
    Definition Classes
    RouteDirectives
  40. def complete(status: StatusCode): Route
    Definition Classes
    RouteDirectives
  41. def complete(response: HttpResponse): Route
    Definition Classes
    RouteDirectives
  42. def complete(body: String): Route
    Definition Classes
    RouteDirectives
  43. def completeOK[T](value: T, marshaller: Marshaller[T, RequestEntity]): RouteAdapter
    Definition Classes
    RouteDirectives
    Annotations
    @CorrespondsTo()
  44. def completeOKWithFuture[T](value: CompletionStage[T], marshaller: Marshaller[T, RequestEntity]): RouteAdapter
    Definition Classes
    RouteDirectives
    Annotations
    @CorrespondsTo()
  45. def completeOKWithFuture(value: CompletionStage[RequestEntity]): RouteAdapter
    Definition Classes
    RouteDirectives
    Annotations
    @CorrespondsTo()
  46. def completeOKWithFuture[T](value: Future[T], marshaller: Marshaller[T, RequestEntity]): RouteAdapter
    Definition Classes
    RouteDirectives
    Annotations
    @CorrespondsTo()
  47. def completeOKWithFutureString(value: CompletionStage[String]): RouteAdapter
    Definition Classes
    RouteDirectives
    Annotations
    @CorrespondsTo()
  48. def completeOKWithFutureString(value: Future[String]): RouteAdapter
    Definition Classes
    RouteDirectives
    Annotations
    @CorrespondsTo()
  49. def completeOKWithSource[T, M](source: Source[T, M])(implicit m: Marshaller[T, RequestEntity], support: EntityStreamingSupport): Route
    Definition Classes
    FramedEntityStreamingDirectives
    Annotations
    @CorrespondsTo()
  50. def completeOrRecoverWith[T](f: Supplier[CompletionStage[T]], marshaller: Marshaller[T, RequestEntity], inner: Function[Throwable, Route]): Route
    Definition Classes
    FutureDirectives
  51. def completeWith[T](marshaller: Marshaller[T, _ <: HttpResponse], inner: Consumer[Consumer[T]]): Route
    Definition Classes
    MarshallingDirectives
  52. def completeWithFuture[T](value: CompletionStage[T], marshaller: Marshaller[T, HttpResponse]): RouteAdapter
    Definition Classes
    RouteDirectives
    Annotations
    @CorrespondsTo()
  53. def completeWithFuture(value: CompletionStage[HttpResponse]): RouteAdapter
    Definition Classes
    RouteDirectives
    Annotations
    @CorrespondsTo()
  54. def completeWithFuture[T](value: Future[T], marshaller: Marshaller[T, HttpResponse]): RouteAdapter
    Definition Classes
    RouteDirectives
    Annotations
    @CorrespondsTo()
  55. def completeWithFutureResponse(value: Future[HttpResponse]): RouteAdapter
    Definition Classes
    RouteDirectives
    Annotations
    @CorrespondsTo()
  56. def completeWithFutureStatus(status: CompletionStage[StatusCode]): Route
    Definition Classes
    RouteDirectives
    Annotations
    @CorrespondsTo()
  57. def completeWithFutureStatus(status: Future[StatusCode]): Route
    Definition Classes
    RouteDirectives
    Annotations
    @CorrespondsTo()
  58. def completeWithSource[T, M](source: Source[T, M])(implicit m: Marshaller[T, ByteString], support: EntityStreamingSupport): Route
    Definition Classes
    FramedEntityStreamingDirectives
    Annotations
    @CorrespondsTo()
  59. def concat(first: Route, alternatives: Route*): Route
    Definition Classes
    RouteDirectives
    Annotations
    @varargs()
  60. def conditional(eTag: Optional[EntityTag], lastModified: Optional[DateTime], inner: Supplier[Route]): Route
    Definition Classes
    CacheConditionDirectives
  61. def conditional(eTag: EntityTag, lastModified: DateTime, inner: Supplier[Route]): Route
    Definition Classes
    CacheConditionDirectives
  62. def conditional(lastModified: DateTime, inner: Supplier[Route]): Route
    Definition Classes
    CacheConditionDirectives
  63. def conditional(eTag: EntityTag, inner: Supplier[Route]): Route
    Definition Classes
    CacheConditionDirectives
  64. def cookie(name: String, inner: Function[HttpCookiePair, Route]): Route
    Definition Classes
    CookieDirectives
  65. def cors(settings: CorsSettings, inner: Supplier[Route]): Route
    Definition Classes
    CorsDirectives
  66. def cors(inner: Supplier[Route]): Route
    Definition Classes
    CorsDirectives
  67. def decodeRequest(inner: Supplier[Route]): Route
    Definition Classes
    CodingDirectives
  68. def decodeRequestWith(coders: Iterable[Coder], inner: Supplier[Route]): Route
    Definition Classes
    CodingDirectives
  69. def decodeRequestWith(coder: Coder, inner: Supplier[Route]): Route
    Definition Classes
    CodingDirectives
  70. def defaultContentTypeResolver: ContentTypeResolver
    Definition Classes
    FileAndResourceDirectives
  71. def defaultDirectoryRenderer: DirectoryRenderer
    Definition Classes
    FileAndResourceDirectives
  72. def delete(inner: Supplier[Route]): Route
    Definition Classes
    MethodDirectives
  73. def deleteCookie(name: String, domain: String, path: String, inner: Supplier[Route]): Route
    Definition Classes
    CookieDirectives
  74. def deleteCookie(name: String, domain: String, inner: Supplier[Route]): Route
    Definition Classes
    CookieDirectives
  75. def deleteCookie(name: String, inner: Supplier[Route]): Route
    Definition Classes
    CookieDirectives
  76. def deleteCookie(cookies: Iterable[HttpCookie], inner: Supplier[Route]): Route
    Definition Classes
    CookieDirectives
  77. def deleteCookie(cookie: HttpCookie, inner: Supplier[Route]): Route
    Definition Classes
    CookieDirectives
  78. def encodeResponse(inner: Supplier[Route]): Route
    Definition Classes
    CodingDirectives
  79. def encodeResponseWith(coders: Iterable[Coder], inner: Supplier[Route]): Route
    Definition Classes
    CodingDirectives
  80. def entity[T](unmarshaller: Unmarshaller[_ >: HttpEntity, T], inner: Function[T, Route]): Route
    Definition Classes
    MarshallingDirectives
  81. def entityAsSourceOf[T](um: Unmarshaller[ByteString, T], support: EntityStreamingSupport, inner: Function[Source[T, NotUsed], Route]): Route
    Definition Classes
    FramedEntityStreamingDirectives
    Annotations
    @CorrespondsTo()
  82. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  83. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  84. def extract[T](extract: Function[RequestContext, T], inner: Function[T, Route]): Route
    Definition Classes
    BasicDirectives
  85. def extractActorSystem(inner: Function[ActorSystem, Route]): Route
    Definition Classes
    BasicDirectives
  86. def extractClientCertificate(inner: Function[X509Certificate, Route]): Route
    Definition Classes
    TlsDirectives
  87. def extractClientIP(inner: Function[RemoteAddress, Route]): Route
    Definition Classes
    MiscDirectives
  88. def extractCredentials(inner: Function[Optional[HttpCredentials], Route]): Route
    Definition Classes
    SecurityDirectives
  89. def extractDataBytes(inner: Function[Source[ByteString, Any], Route]): RouteAdapter
    Definition Classes
    BasicDirectives
  90. def extractEntity(inner: Function[RequestEntity, Route]): Route
    Definition Classes
    BasicDirectives
    Annotations
    @CorrespondsTo()
  91. def extractExecutionContext(inner: Function[ExecutionContextExecutor, Route]): Route
    Definition Classes
    BasicDirectives
  92. def extractHost(inner: Function[String, Route]): Route
    Definition Classes
    HostDirectives
  93. def extractLog(inner: Function[LoggingAdapter, Route]): Route
    Definition Classes
    BasicDirectives
  94. def extractMatchedPath(inner: Function[String, Route]): RouteAdapter
    Definition Classes
    BasicDirectives
  95. def extractMaterializer(inner: Function[Materializer, Route]): Route
    Definition Classes
    BasicDirectives
  96. def extractMethod(inner: Function[HttpMethod, Route]): RouteAdapter
    Definition Classes
    MethodDirectives
  97. def extractOfferedWsProtocols(inner: Function[List[String], Route]): Route
    Definition Classes
    WebSocketDirectives
  98. def extractParserSettings(inner: Function[ParserSettings, Route]): RouteAdapter
    Definition Classes
    BasicDirectives
  99. def extractRequest(inner: Function[HttpRequest, Route]): RouteAdapter
    Definition Classes
    BasicDirectives
  100. def extractRequestContext(inner: Function[RequestContext, Route]): RouteAdapter
    Definition Classes
    BasicDirectives
  101. def extractRequestEntity(inner: Function[RequestEntity, Route]): Route
    Definition Classes
    BasicDirectives
  102. def extractRequestTimeout(inner: Function[Duration, Route]): RouteAdapter
    Definition Classes
    TimeoutDirectives
  103. def extractScheme(inner: Function[String, Route]): Route
    Definition Classes
    SchemeDirectives
  104. def extractSettings(inner: Function[RoutingSettings, Route]): RouteAdapter
    Definition Classes
    BasicDirectives
  105. def extractSslSession(inner: Function[SSLSession, Route]): Route
    Definition Classes
    TlsDirectives
  106. def extractStrictEntity(timeout: FiniteDuration, maxBytes: Long, inner: Function[Strict, Route]): Route
    Definition Classes
    BasicDirectives
  107. def extractStrictEntity(timeout: FiniteDuration, inner: Function[Strict, Route]): Route
    Definition Classes
    BasicDirectives
  108. def extractUnmatchedPath(inner: Function[String, Route]): RouteAdapter
    Definition Classes
    BasicDirectives
  109. def extractUri(inner: Function[Uri, Route]): RouteAdapter
    Definition Classes
    BasicDirectives
  110. def extractWebSocketUpgrade(inner: Function[WebSocketUpgrade, Route]): Route
    Definition Classes
    WebSocketDirectives
  111. def failWith(error: Throwable): Route
    Definition Classes
    RouteDirectives
  112. def fileUpload(fieldName: String, inner: BiFunction[FileInfo, Source[ByteString, Any], Route]): Route
    Definition Classes
    FileUploadDirectives
  113. def fileUploadAll(fieldName: String, inner: Function[List[Entry[FileInfo, Source[ByteString, Any]]], Route]): Route
    Definition Classes
    FileUploadDirectives
  114. def formField[T](t: Unmarshaller[String, T], name: String, inner: Function[T, Route]): Route
    Definition Classes
    FormFieldDirectives
  115. def formField(name: String, inner: Function[String, Route]): Route
    Definition Classes
    FormFieldDirectives
  116. def formFieldList(inner: Function[List[Entry[String, String]], Route]): Route
    Definition Classes
    FormFieldDirectives
    Annotations
    @CorrespondsTo()
  117. def formFieldList[T](t: Unmarshaller[String, T], name: String, inner: Function[List[T], Route]): Route
    Definition Classes
    FormFieldDirectives
    Annotations
    @CorrespondsTo()
  118. def formFieldList(name: String, inner: Function[List[String], Route]): Route
    Definition Classes
    FormFieldDirectives
    Annotations
    @CorrespondsTo()
  119. def formFieldMap(inner: Function[Map[String, String], Route]): Route
    Definition Classes
    FormFieldDirectives
  120. def formFieldMultiMap(inner: Function[Map[String, List[String]], Route]): Route
    Definition Classes
    FormFieldDirectives
  121. def formFieldOptional[T](t: Unmarshaller[String, T], name: String, inner: Function[Optional[T], Route]): Route
    Definition Classes
    FormFieldDirectives
    Annotations
    @CorrespondsTo()
  122. def formFieldOptional(name: String, inner: Function[Optional[String], Route]): Route
    Definition Classes
    FormFieldDirectives
    Annotations
    @CorrespondsTo()
  123. def get(inner: Supplier[Route]): Route
    Definition Classes
    MethodDirectives
  124. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  125. def getFromBrowseableDirectories(directories: String*): Route
    Definition Classes
    FileAndResourceDirectives
    Annotations
    @varargs()
  126. def getFromBrowseableDirectories(directories: Iterable[String], resolver: ContentTypeResolver): Route
    Definition Classes
    FileAndResourceDirectives
  127. def getFromBrowseableDirectories(directories: Iterable[String], renderer: DirectoryRenderer): Route
    Definition Classes
    FileAndResourceDirectives
  128. def getFromBrowseableDirectories(directories: Iterable[String], renderer: DirectoryRenderer, resolver: ContentTypeResolver): Route
    Definition Classes
    FileAndResourceDirectives
  129. def getFromBrowseableDirectory(directory: String): Route
    Definition Classes
    FileAndResourceDirectives
  130. def getFromBrowseableDirectory(directory: String, resolver: ContentTypeResolver): Route
    Definition Classes
    FileAndResourceDirectives
  131. def getFromBrowseableDirectory(directory: String, renderer: DirectoryRenderer): Route
    Definition Classes
    FileAndResourceDirectives
  132. def getFromBrowseableDirectory(directory: String, renderer: DirectoryRenderer, resolver: ContentTypeResolver): Route
    Definition Classes
    FileAndResourceDirectives
  133. def getFromDirectory(directoryPath: String, resolver: ContentTypeResolver): Route
    Definition Classes
    FileAndResourceDirectives
  134. def getFromDirectory(directoryPath: String): Route
    Definition Classes
    FileAndResourceDirectives
  135. def getFromFile(file: String, resolver: ContentTypeResolver): Route
    Definition Classes
    FileAndResourceDirectives
  136. def getFromFile(file: String): Route
    Definition Classes
    FileAndResourceDirectives
  137. def getFromFile(file: File, contentType: ContentType): Route
    Definition Classes
    FileAndResourceDirectives
  138. def getFromFile(file: File, resolver: ContentTypeResolver): Route
    Definition Classes
    FileAndResourceDirectives
  139. def getFromFile(file: File): Route
    Definition Classes
    FileAndResourceDirectives
  140. def getFromResource(path: String, contentType: ContentType, classLoader: ClassLoader): Route
    Definition Classes
    FileAndResourceDirectives
  141. def getFromResource(path: String, contentType: ContentType): Route
    Definition Classes
    FileAndResourceDirectives
  142. def getFromResource(path: String, resolver: ContentTypeResolver): Route
    Definition Classes
    FileAndResourceDirectives
  143. def getFromResource(path: String): Route
    Definition Classes
    FileAndResourceDirectives
  144. def getFromResourceDirectory(directoryName: String, resolver: ContentTypeResolver, classLoader: ClassLoader): Route
    Definition Classes
    FileAndResourceDirectives
  145. def getFromResourceDirectory(directoryName: String, resolver: ContentTypeResolver): Route
    Definition Classes
    FileAndResourceDirectives
  146. def getFromResourceDirectory(directoryName: String, classLoader: ClassLoader): Route
    Definition Classes
    FileAndResourceDirectives
  147. def getFromResourceDirectory(directoryName: String): Route
    Definition Classes
    FileAndResourceDirectives
  148. def handle(handler: Function[HttpRequest, CompletionStage[HttpResponse]]): Route
    Definition Classes
    RouteDirectives
  149. def handleExceptions(handler: ExceptionHandler, inner: Supplier[Route]): RouteAdapter
    Definition Classes
    ExecutionDirectives
  150. def handleRejections(handler: RejectionHandler, inner: Supplier[Route]): RouteAdapter
    Definition Classes
    ExecutionDirectives
  151. def handleSync(handler: Function[HttpRequest, HttpResponse]): Route
    Definition Classes
    RouteDirectives
  152. def handleWebSocketMessages[T](handler: Flow[Message, Message, T]): Route
    Definition Classes
    WebSocketDirectives
  153. def handleWebSocketMessagesForOptionalProtocol[T](handler: Flow[Message, Message, T], subprotocol: Optional[String]): Route
    Definition Classes
    WebSocketDirectives
  154. def handleWebSocketMessagesForProtocol[T](handler: Flow[Message, Message, T], subprotocol: String): Route
    Definition Classes
    WebSocketDirectives
  155. def handleWith[T, R](unmarshaller: Unmarshaller[_ >: HttpEntity, T], marshaller: Marshaller[R, _ <: HttpResponse], inner: Function[T, R]): Route
    Definition Classes
    MarshallingDirectives
  156. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  157. def head(inner: Supplier[Route]): Route
    Definition Classes
    MethodDirectives
  158. def headerValue[T](f: Function[HttpHeader, Optional[T]], inner: Function[T, Route]): RouteAdapter
    Definition Classes
    HeaderDirectives
  159. def headerValueByName(headerName: String, inner: Function[String, Route]): RouteAdapter
    Definition Classes
    HeaderDirectives
  160. def headerValueByType[T <: HttpHeader](t: Class[T], inner: Function[T, Route]): RouteAdapter
    Definition Classes
    HeaderDirectives
  161. def headerValuePF[T](pf: PartialFunction[HttpHeader, T], inner: Function[T, Route]): RouteAdapter
    Definition Classes
    HeaderDirectives
  162. def host(regex: Pattern, inner: Function[String, Route]): Route
    Definition Classes
    HostDirectives
  163. def host(predicate: Predicate[String], inner: Supplier[Route]): Route
    Definition Classes
    HostDirectives
  164. def host(hostName: String, inner: Supplier[Route]): Route
    Definition Classes
    HostDirectives
  165. def host(hostNames: Iterable[String], inner: Supplier[Route]): Route
    Definition Classes
    HostDirectives
  166. def ignoreTrailingSlash(inner: Supplier[Route]): Route
    Definition Classes
    PathDirectives
  167. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  168. def listDirectoryContents(directoryRenderer: DirectoryRenderer, directories: String*): Route
    Definition Classes
    FileAndResourceDirectives
    Annotations
    @varargs()
  169. def listDirectoryContents(directories: String*): Route
    Definition Classes
    FileAndResourceDirectives
    Annotations
    @varargs()
  170. def logRequest(show: Function[HttpRequest, LogEntry], inner: Supplier[Route]): Route
    Definition Classes
    DebuggingDirectives
  171. def logRequest(marker: String, level: LogLevel, inner: Supplier[Route]): Route
    Definition Classes
    DebuggingDirectives
  172. def logRequest(marker: String, inner: Supplier[Route]): Route
    Definition Classes
    DebuggingDirectives
  173. def logRequestResult(showSuccess: BiFunction[HttpRequest, HttpResponse, LogEntry], showRejection: BiFunction[HttpRequest, List[Rejection], LogEntry], inner: Supplier[Route]): RouteAdapter
    Definition Classes
    DebuggingDirectives
  174. def logRequestResultOptional(showSuccess: BiFunction[HttpRequest, HttpResponse, Optional[LogEntry]], showRejection: BiFunction[HttpRequest, List[Rejection], Optional[LogEntry]], inner: Supplier[Route]): RouteAdapter
    Definition Classes
    DebuggingDirectives
    Annotations
    @CorrespondsTo()
  175. def logResult(showSuccess: Function[HttpResponse, LogEntry], showRejection: Function[List[Rejection], LogEntry], inner: Supplier[Route]): RouteAdapter
    Definition Classes
    DebuggingDirectives
  176. def logResult(marker: String, level: LogLevel, inner: Supplier[Route]): Route
    Definition Classes
    DebuggingDirectives
  177. def logResult(marker: String, inner: Supplier[Route]): Route
    Definition Classes
    DebuggingDirectives
  178. def mapInnerRoute(f: Function[Route, Route], inner: Supplier[Route]): Route
    Definition Classes
    BasicDirectives
  179. def mapRejections(f: Function[List[Rejection], List[Rejection]], inner: Supplier[Route]): Route
    Definition Classes
    BasicDirectives
  180. def mapRequest(f: Function[HttpRequest, HttpRequest], inner: Supplier[Route]): Route
    Definition Classes
    BasicDirectives
  181. def mapRequestContext(f: Function[RequestContext, RequestContext], inner: Supplier[Route]): Route
    Definition Classes
    BasicDirectives
  182. def mapResponse(f: Function[HttpResponse, HttpResponse], inner: Supplier[Route]): Route
    Definition Classes
    BasicDirectives
  183. def mapResponseEntity(f: Function[ResponseEntity, ResponseEntity], inner: Supplier[Route]): Route
    Definition Classes
    BasicDirectives
  184. def mapResponseHeaders(f: Function[List[HttpHeader], List[HttpHeader]], inner: Supplier[Route]): Route
    Definition Classes
    BasicDirectives
  185. def mapRouteResult(f: Function[RouteResult, RouteResult], inner: Supplier[Route]): Route
    Definition Classes
    BasicDirectives
  186. def mapRouteResultFuture(f: Function[CompletionStage[RouteResult], CompletionStage[RouteResult]], inner: Supplier[Route]): Route
    Definition Classes
    BasicDirectives
  187. def mapRouteResultPF(f: PartialFunction[RouteResult, RouteResult], inner: Supplier[Route]): Route
    Definition Classes
    BasicDirectives
  188. def mapRouteResultWith(f: Function[RouteResult, CompletionStage[RouteResult]], inner: Supplier[Route]): Route
    Definition Classes
    BasicDirectives
  189. def mapRouteResultWithPF(f: PartialFunction[RouteResult, CompletionStage[RouteResult]], inner: Supplier[Route]): Route
    Definition Classes
    BasicDirectives
  190. def mapSettings(f: Function[RoutingSettings, RoutingSettings], inner: Supplier[Route]): Route
    Definition Classes
    BasicDirectives
  191. def mapUnmatchedPath(f: Function[String, String], inner: Supplier[Route]): Route
    Definition Classes
    BasicDirectives
  192. def method(method: HttpMethod, inner: Supplier[Route]): Route
    Definition Classes
    MethodDirectives
  193. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  194. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  195. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  196. def onComplete[T](cs: CompletionStage[T], inner: Function[Try[T], Route]): RouteAdapter
    Definition Classes
    FutureDirectives
  197. def onComplete[T](f: Supplier[CompletionStage[T]], inner: Function[Try[T], Route]): RouteAdapter
    Definition Classes
    FutureDirectives
  198. def onCompleteWithBreaker[T](breaker: CircuitBreaker, f: Supplier[CompletionStage[T]], inner: Function[Try[T], Route]): RouteAdapter
    Definition Classes
    FutureDirectives
  199. def onSuccess[T](cs: CompletionStage[T], inner: Function[T, Route]): RouteAdapter
    Definition Classes
    FutureDirectives
  200. def onSuccess[T](f: Supplier[CompletionStage[T]], inner: Function[T, Route]): RouteAdapter
    Definition Classes
    FutureDirectives
  201. def optionalAttribute[T](key: AttributeKey[T], inner: Function[Optional[T], Route]): RouteAdapter
    Definition Classes
    AttributeDirectives
  202. def optionalCookie(name: String, inner: Function[Optional[HttpCookiePair], Route]): Route
    Definition Classes
    CookieDirectives
  203. def optionalHeaderValue[T](f: Function[HttpHeader, Optional[T]], inner: Function[Optional[T], Route]): RouteAdapter
    Definition Classes
    HeaderDirectives
  204. def optionalHeaderValueByName(headerName: String, inner: Function[Optional[String], Route]): RouteAdapter
    Definition Classes
    HeaderDirectives
  205. def optionalHeaderValueByType[T <: HttpHeader](t: Class[T], inner: Function[Optional[T], Route]): RouteAdapter
    Definition Classes
    HeaderDirectives
  206. def optionalHeaderValuePF[T](pf: PartialFunction[HttpHeader, T], inner: Function[Optional[T], Route]): RouteAdapter
    Definition Classes
    HeaderDirectives
  207. def options(inner: Supplier[Route]): Route
    Definition Classes
    MethodDirectives
  208. def overrideMethodWithParameter(paramName: String, inner: Supplier[Route]): Route
    Definition Classes
    MethodDirectives
  209. def parameter[T](t: Unmarshaller[String, T], name: String, inner: Function[T, Route]): Route
    Definition Classes
    ParameterDirectives
  210. def parameter(name: String, inner: Function[String, Route]): Route
    Definition Classes
    ParameterDirectives
  211. def parameterList(inner: Function[List[Entry[String, String]], Route]): Route
    Definition Classes
    ParameterDirectives
    Annotations
    @CorrespondsTo()
  212. def parameterList[T](t: Unmarshaller[String, T], name: String, inner: Function[List[T], Route]): Route
    Definition Classes
    ParameterDirectives
    Annotations
    @CorrespondsTo()
  213. def parameterList(name: String, inner: Function[List[String], Route]): Route
    Definition Classes
    ParameterDirectives
    Annotations
    @CorrespondsTo()
  214. def parameterMap(inner: Function[Map[String, String], Route]): Route
    Definition Classes
    ParameterDirectives
  215. def parameterMultiMap(inner: Function[Map[String, List[String]], Route]): Route
    Definition Classes
    ParameterDirectives
  216. def parameterOptional[T](t: Unmarshaller[String, T], name: String, inner: Function[Optional[T], Route]): Route
    Definition Classes
    ParameterDirectives
    Annotations
    @CorrespondsTo()
  217. def parameterOptional(name: String, inner: Function[Optional[String], Route]): Route
    Definition Classes
    ParameterDirectives
    Annotations
    @CorrespondsTo()
  218. def parameterOrDefault[T](t: Unmarshaller[String, T], defaultValue: T, name: String, inner: Function[T, Route]): Route
    Definition Classes
    ParameterDirectives
    Annotations
    @CorrespondsTo()
  219. def parameterRequiredValue[T](t: Unmarshaller[String, T], requiredValue: T, name: String, inner: Supplier[Route]): Route
    Definition Classes
    ParameterDirectives
    Annotations
    @CorrespondsTo()
  220. def pass(inner: Supplier[Route]): Route
    Definition Classes
    BasicDirectives
  221. def patch(inner: Supplier[Route]): Route
    Definition Classes
    MethodDirectives
  222. def path[T](t: Unmarshaller[String, T], inner: Function[T, Route]): Route
    Definition Classes
    PathDirectives
  223. def path[T1, T2](p: PathMatcher2[T1, T2], inner: BiFunction[T1, T2, Route]): Route
    Definition Classes
    PathDirectives
  224. def path[T](p: PathMatcher1[T], inner: Function[T, Route]): Route
    Definition Classes
    PathDirectives
  225. def path(p: PathMatcher0, inner: Supplier[Route]): Route
    Definition Classes
    PathDirectives
  226. def path(inner: Function[String, Route]): Route
    Definition Classes
    PathDirectives
  227. def path(segment: String, inner: Supplier[Route]): Route
    Definition Classes
    PathDirectives
  228. def pathEnd(inner: Supplier[Route]): Route
    Definition Classes
    PathDirectives
  229. def pathEndOrSingleSlash(inner: Supplier[Route]): Route
    Definition Classes
    PathDirectives
  230. def pathPrefix[T](t: Unmarshaller[String, T], inner: Function[T, Route]): Route
    Definition Classes
    PathDirectives
  231. def pathPrefix[T1, T2](p: PathMatcher2[T1, T2], inner: BiFunction[T1, T2, Route]): Route
    Definition Classes
    PathDirectives
  232. def pathPrefix[T](p: PathMatcher1[T], inner: Function[T, Route]): Route
    Definition Classes
    PathDirectives
  233. def pathPrefix(p: PathMatcher0, inner: Supplier[Route]): Route
    Definition Classes
    PathDirectives
  234. def pathPrefix(inner: Function[String, Route]): Route
    Definition Classes
    PathDirectives
  235. def pathPrefix(segment: String, inner: Supplier[Route]): Route
    Definition Classes
    PathDirectives
  236. def pathPrefixTest[T1, T2](pm: PathMatcher2[T1, T2], inner: BiFunction[T1, T2, Route]): Route
    Definition Classes
    PathDirectives
  237. def pathPrefixTest[T1](pm: PathMatcher1[T1], inner: Function[T1, Route]): Route
    Definition Classes
    PathDirectives
  238. def pathPrefixTest(pm: PathMatcher0, inner: Supplier[Route]): Route
    Definition Classes
    PathDirectives
  239. def pathPrefixTest(segment: String, inner: Supplier[Route]): Route
    Definition Classes
    PathDirectives
  240. def pathSingleSlash(inner: Supplier[Route]): Route
    Definition Classes
    PathDirectives
  241. def pathSuffix[T1, T2](pm: PathMatcher2[T1, T2], inner: BiFunction[T1, T2, Route]): Route
    Definition Classes
    PathDirectives
  242. def pathSuffix[T1](pm: PathMatcher1[T1], inner: Function[T1, Route]): Route
    Definition Classes
    PathDirectives
  243. def pathSuffix(pm: PathMatcher0, inner: Supplier[Route]): Route
    Definition Classes
    PathDirectives
  244. def pathSuffix(segment: String, inner: Supplier[Route]): Route
    Definition Classes
    PathDirectives
  245. def pathSuffixTest[T1, T2](pm: PathMatcher2[T1, T2], inner: BiFunction[T1, T2, Route]): Route
    Definition Classes
    PathDirectives
  246. def pathSuffixTest[T1](pm: PathMatcher1[T1], inner: Function[T1, Route]): Route
    Definition Classes
    PathDirectives
  247. def pathSuffixTest(pm: PathMatcher0, inner: Supplier[Route]): Route
    Definition Classes
    PathDirectives
  248. def pathSuffixTest(segment: String, inner: Supplier[Route]): Route
    Definition Classes
    PathDirectives
  249. def post(inner: Supplier[Route]): Route
    Definition Classes
    MethodDirectives
  250. def provide[T](t: T, inner: Function[T, Route]): Route
    Definition Classes
    BasicDirectives
  251. def put(inner: Supplier[Route]): Route
    Definition Classes
    MethodDirectives
  252. def rawPathPrefix[T1, T2](pm: PathMatcher2[T1, T2], inner: BiFunction[T1, T2, Route]): Route
    Definition Classes
    PathDirectives
  253. def rawPathPrefix[T1](pm: PathMatcher1[T1], inner: Function[T1, Route]): Route
    Definition Classes
    PathDirectives
  254. def rawPathPrefix(pm: PathMatcher0, inner: Supplier[Route]): Route
    Definition Classes
    PathDirectives
  255. def rawPathPrefix(segment: String, inner: Supplier[Route]): Route
    Definition Classes
    PathDirectives
  256. def rawPathPrefixTest[T1, T2](pm: PathMatcher2[T1, T2], inner: BiFunction[T1, T2, Route]): Route
    Definition Classes
    PathDirectives
  257. def rawPathPrefixTest[T1](pm: PathMatcher1[T1], inner: Function[T1, Route]): Route
    Definition Classes
    PathDirectives
  258. def rawPathPrefixTest(pm: PathMatcher0, inner: Supplier[Route]): Route
    Definition Classes
    PathDirectives
  259. def rawPathPrefixTest(segment: String, inner: Supplier[Route]): Route
    Definition Classes
    PathDirectives
  260. def recoverRejections(f: Function[Iterable[Rejection], RouteResult], inner: Supplier[Route]): Route
    Definition Classes
    BasicDirectives
  261. def recoverRejectionsWith(f: Function[Iterable[Rejection], CompletionStage[RouteResult]], inner: Supplier[Route]): Route
    Definition Classes
    BasicDirectives
  262. def redirect(uri: Uri, redirectionType: StatusCode): Route
    Definition Classes
    RouteDirectives
  263. def redirectToNoTrailingSlashIfPresent(redirectionType: StatusCode, inner: Supplier[Route]): Route
    Definition Classes
    PathDirectives
  264. def redirectToTrailingSlashIfMissing(redirectionType: StatusCode, inner: Supplier[Route]): Route
    Definition Classes
    PathDirectives
  265. def reject(): Route
    Definition Classes
    RouteDirectives
  266. def reject(rejection: Rejection, rejections: Rejection*): Route
    Definition Classes
    RouteDirectives
    Annotations
    @varargs()
  267. def rejectEmptyResponse(inner: Supplier[Route]): Route
    Definition Classes
    MiscDirectives
  268. def request[T](unmarshaller: Unmarshaller[_ >: HttpRequest, T], inner: Function[T, Route]): Route
    Definition Classes
    MarshallingDirectives
  269. def requestEncodedWith(encoding: HttpEncoding, inner: Supplier[Route]): Route
    Definition Classes
    CodingDirectives
  270. def requestEntityEmpty(inner: Supplier[Route]): Route
    Definition Classes
    MiscDirectives
  271. def requestEntityPresent(inner: Supplier[Route]): Route
    Definition Classes
    MiscDirectives
  272. def requireClientCertificateIdentity(cnRegex: String, inner: Supplier[Route]): Route
    Definition Classes
    TlsDirectives
  273. def respondWithDefaultHeader(responseHeader: HttpHeader, inner: Supplier[Route]): Route
    Definition Classes
    RespondWithDirectives
  274. def respondWithDefaultHeaders(responseHeaders: Iterable[HttpHeader], inner: Supplier[Route]): Route
    Definition Classes
    RespondWithDirectives
  275. def respondWithHeader(responseHeader: HttpHeader, inner: Supplier[Route]): Route
    Definition Classes
    RespondWithDirectives
  276. def respondWithHeaders(responseHeaders: Iterable[HttpHeader], inner: Supplier[Route]): Route
    Definition Classes
    RespondWithDirectives
  277. def responseEncodingAccepted(encoding: HttpEncoding, inner: Supplier[Route]): Route
    Definition Classes
    CodingDirectives
  278. def scheme(name: String, inner: Supplier[Route]): Route
    Definition Classes
    SchemeDirectives
  279. def selectPreferredLanguage(languages: Iterable[Language], inner: Function[Language, Route]): Route
    Definition Classes
    MiscDirectives
  280. def setCookie(cookies: Iterable[HttpCookie], inner: Supplier[Route]): Route
    Definition Classes
    CookieDirectives
  281. def setCookie(cookie: HttpCookie, inner: Supplier[Route]): Route
    Definition Classes
    CookieDirectives
  282. def storeUploadedFile(fieldName: String, destFn: Function[FileInfo, File], inner: BiFunction[FileInfo, File, Route]): Route
    Definition Classes
    FileUploadDirectives
  283. def storeUploadedFiles(fieldName: String, destFn: Function[FileInfo, File], inner: Function[List[Entry[FileInfo, File]], Route]): Route
    Definition Classes
    FileUploadDirectives
  284. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  285. def toStrictEntity(timeout: FiniteDuration, maxBytes: Long, inner: Supplier[Route]): Route
    Definition Classes
    BasicDirectives
  286. def toStrictEntity(timeout: FiniteDuration, inner: Supplier[Route]): Route
    Definition Classes
    BasicDirectives
  287. def toString(): String
    Definition Classes
    AnyRef → Any
  288. def validate(check: BooleanSupplier, errorMsg: String, inner: Supplier[Route]): Route
    Definition Classes
    MiscDirectives
  289. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  290. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  291. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  292. def withExecutionContext(ec: ExecutionContextExecutor, inner: Supplier[Route]): Route
    Definition Classes
    BasicDirectives
  293. def withLog(log: LoggingAdapter, inner: Supplier[Route]): Route
    Definition Classes
    BasicDirectives
  294. def withMaterializer(mat: Materializer, inner: Supplier[Route]): Route
    Definition Classes
    BasicDirectives
  295. def withPrecompressedMediaTypeSupport(inner: Supplier[Route]): Route
    Definition Classes
    CodingDirectives
  296. def withRangeSupport(inner: Supplier[Route]): Route
    Definition Classes
    RangeDirectives
  297. def withRequestTimeout(timeout: Duration, timeoutHandler: Function[HttpRequest, HttpResponse], inner: Supplier[Route]): RouteAdapter
    Definition Classes
    TimeoutDirectives
  298. def withRequestTimeout(timeout: Duration, inner: Supplier[Route]): RouteAdapter
    Definition Classes
    TimeoutDirectives
  299. def withRequestTimeoutResponse(timeoutHandler: Function[HttpRequest, HttpResponse], inner: Supplier[Route]): RouteAdapter
    Definition Classes
    TimeoutDirectives
  300. def withSettings(s: RoutingSettings, inner: Supplier[Route]): Route
    Definition Classes
    BasicDirectives
  301. def withSizeLimit(maxBytes: Long, inner: Supplier[Route]): Route
    Definition Classes
    MiscDirectives
  302. def withoutRequestTimeout(inner: Supplier[Route]): RouteAdapter
    Definition Classes
    TimeoutDirectives
  303. def withoutSizeLimit(inner: Supplier[Route]): Route
    Definition Classes
    MiscDirectives

Deprecated Value Members

  1. def extractUpgradeToWebSocket(inner: Function[UpgradeToWebSocket, Route]): Route
    Definition Classes
    WebSocketDirectives
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version 10.2.0) use extractWebSocketUpgrade instead

  2. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

  3. def route(alternatives: Route*): Route
    Definition Classes
    RouteDirectives
    Annotations
    @Deprecated @deprecated @CorrespondsTo() @varargs()
    Deprecated

    (Since version 10.1.6) Use the RouteDirectives.concat method instead.

Inherited from AllDirectives

Inherited from TlsDirectives

Inherited from CorsDirectives

Inherited from TimeoutDirectives

Inherited from WebSocketDirectives

Inherited from SecurityDirectives

Inherited from SchemeDirectives

Inherited from RouteDirectives

Inherited from RespondWithDirectives

Inherited from RangeDirectives

Inherited from PathDirectives

Inherited from ParameterDirectives

Inherited from MiscDirectives

Inherited from MethodDirectives

Inherited from MarshallingDirectives

Inherited from HostDirectives

Inherited from AttributeDirectives

Inherited from HeaderDirectives

Inherited from FutureDirectives

Inherited from FormFieldDirectives

Inherited from FileUploadDirectives

Inherited from ExecutionDirectives

Inherited from DebuggingDirectives

Inherited from CookieDirectives

Inherited from CodingDirectives

Inherited from BasicDirectives

Inherited from AnyRef

Inherited from Any

Ungrouped