class DemoApp extends AllDirectives
- Source
- DemoApp.java
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- DemoApp
- AllDirectives
- TlsDirectives
- CorsDirectives
- FramedEntityStreamingDirectives
- TimeoutDirectives
- WebSocketDirectives
- SecurityDirectives
- SchemeDirectives
- RouteDirectives
- RespondWithDirectives
- RangeDirectives
- PathDirectives
- ParameterDirectives
- MiscDirectives
- MethodDirectives
- MarshallingDirectives
- HostDirectives
- AttributeDirectives
- HeaderDirectives
- FutureDirectives
- FormFieldDirectives
- FileUploadDirectives
- FileAndResourceDirectives
- ExecutionDirectives
- DebuggingDirectives
- CookieDirectives
- CodingDirectives
- CacheConditionDirectives
- BasicDirectives
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def attribute[T](key: AttributeKey[T], inner: Function[T, Route]): RouteAdapter
- Definition Classes
- AttributeDirectives
- def authenticateBasic[T](realm: String, authenticator: Function[Optional[ProvidedCredentials], Optional[T]], inner: Function[T, Route]): Route
- Definition Classes
- SecurityDirectives
- def authenticateBasicAsync[T](realm: String, authenticator: Function[Optional[ProvidedCredentials], CompletionStage[Optional[T]]], inner: Function[T, Route]): Route
- Definition Classes
- SecurityDirectives
- def authenticateBasicAsyncOptional[T](realm: String, authenticator: Function[Optional[ProvidedCredentials], CompletionStage[Optional[T]]], inner: Function[Optional[T], Route]): Route
- Definition Classes
- SecurityDirectives
- Annotations
- @CorrespondsTo()
- def authenticateBasicOptional[T](realm: String, authenticator: Function[Optional[ProvidedCredentials], Optional[T]], inner: Function[Optional[T], Route]): Route
- Definition Classes
- SecurityDirectives
- Annotations
- @CorrespondsTo()
- def authenticateBasicPF[T](realm: String, authenticator: PartialFunction[Optional[ProvidedCredentials], T], inner: Function[T, Route]): Route
- Definition Classes
- SecurityDirectives
- def authenticateBasicPFAsync[T](realm: String, authenticator: PartialFunction[Optional[ProvidedCredentials], CompletionStage[T]], inner: Function[T, Route]): Route
- Definition Classes
- SecurityDirectives
- def authenticateOAuth2[T](realm: String, authenticator: Function[Optional[ProvidedCredentials], Optional[T]], inner: Function[T, Route]): Route
- Definition Classes
- SecurityDirectives
- def authenticateOAuth2Async[T](realm: String, authenticator: Function[Optional[ProvidedCredentials], CompletionStage[Optional[T]]], inner: Function[T, Route]): Route
- Definition Classes
- SecurityDirectives
- def authenticateOAuth2AsyncOptional[T](realm: String, authenticator: Function[Optional[ProvidedCredentials], CompletionStage[Optional[T]]], inner: Function[Optional[T], Route]): Route
- Definition Classes
- SecurityDirectives
- Annotations
- @CorrespondsTo()
- def authenticateOAuth2Optional[T](realm: String, authenticator: Function[Optional[ProvidedCredentials], Optional[T]], inner: Function[Optional[T], Route]): Route
- Definition Classes
- SecurityDirectives
- Annotations
- @CorrespondsTo()
- def authenticateOrRejectWithChallenge[C <: HttpCredentials, T](c: Class[C], authenticator: Function[Optional[C], CompletionStage[Either[HttpChallenge, T]]], inner: Function[T, Route]): Route
- Definition Classes
- SecurityDirectives
- def authenticateOrRejectWithChallenge[T](authenticator: Function[Optional[HttpCredentials], CompletionStage[Either[HttpChallenge, T]]], inner: Function[T, Route]): Route
- Definition Classes
- SecurityDirectives
- def authorize(check: Supplier[Boolean], inner: Supplier[Route]): Route
- Definition Classes
- SecurityDirectives
- def authorizeAsync(check: Supplier[CompletionStage[Boolean]], inner: Supplier[Route]): Route
- Definition Classes
- SecurityDirectives
- def authorizeAsyncWithRequestContext(check: Function[RequestContext, CompletionStage[Boolean]], inner: Supplier[Route]): Route
- Definition Classes
- SecurityDirectives
- Annotations
- @CorrespondsTo()
- def authorizeWithRequestContext(check: Function[RequestContext, Boolean], inner: Supplier[Route]): Route
- Definition Classes
- SecurityDirectives
- Annotations
- @CorrespondsTo()
- def cancelRejection(rejection: Rejection, inner: Supplier[Route]): Route
- Definition Classes
- BasicDirectives
- def cancelRejections(filter: Predicate[Rejection], inner: Supplier[Route]): Route
- Definition Classes
- BasicDirectives
- def cancelRejections(classes: Iterable[Class[_]], inner: Supplier[Route]): Route
- Definition Classes
- BasicDirectives
- def checkSameOrigin(allowed: HttpOriginRange, inner: Supplier[Route]): Route
- Definition Classes
- HeaderDirectives
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def complete(entity: RequestEntity): RouteAdapter
- Definition Classes
- RouteDirectives
- def complete(entity: ResponseEntity): RouteAdapter
- Definition Classes
- RouteDirectives
- def complete(headers: Iterable[HttpHeader], entity: RequestEntity): RouteAdapter
- Definition Classes
- RouteDirectives
- def complete(headers: Iterable[HttpHeader], entity: ResponseEntity): RouteAdapter
- Definition Classes
- RouteDirectives
- def complete[T](headers: Iterable[HttpHeader], value: T, marshaller: Marshaller[T, RequestEntity]): RouteAdapter
- Definition Classes
- RouteDirectives
- def complete(status: StatusCode, entity: String): RouteAdapter
- Definition Classes
- RouteDirectives
- def complete(status: StatusCode, entity: RequestEntity): RouteAdapter
- Definition Classes
- RouteDirectives
- def complete(status: StatusCode, entity: ResponseEntity): RouteAdapter
- Definition Classes
- RouteDirectives
- def complete[T](status: StatusCode, value: T, marshaller: Marshaller[T, RequestEntity]): RouteAdapter
- Definition Classes
- RouteDirectives
- def complete(status: StatusCode, headers: Iterable[HttpHeader], entity: RequestEntity): RouteAdapter
- Definition Classes
- RouteDirectives
- def complete(status: StatusCode, headers: Iterable[HttpHeader], entity: ResponseEntity): RouteAdapter
- Definition Classes
- RouteDirectives
- def complete[T](status: StatusCode, headers: Iterable[HttpHeader], value: T, marshaller: Marshaller[T, RequestEntity]): RouteAdapter
- Definition Classes
- RouteDirectives
- def complete[T](value: T, marshaller: Marshaller[T, HttpResponse]): RouteAdapter
- Definition Classes
- RouteDirectives
- def complete(status: StatusCode): Route
- Definition Classes
- RouteDirectives
- def complete(response: HttpResponse): Route
- Definition Classes
- RouteDirectives
- def complete(body: String): Route
- Definition Classes
- RouteDirectives
- def completeOK[T](value: T, marshaller: Marshaller[T, RequestEntity]): RouteAdapter
- Definition Classes
- RouteDirectives
- Annotations
- @CorrespondsTo()
- def completeOKWithFuture[T](value: CompletionStage[T], marshaller: Marshaller[T, RequestEntity]): RouteAdapter
- Definition Classes
- RouteDirectives
- Annotations
- @CorrespondsTo()
- def completeOKWithFuture(value: CompletionStage[RequestEntity]): RouteAdapter
- Definition Classes
- RouteDirectives
- Annotations
- @CorrespondsTo()
- def completeOKWithFuture[T](value: Future[T], marshaller: Marshaller[T, RequestEntity]): RouteAdapter
- Definition Classes
- RouteDirectives
- Annotations
- @CorrespondsTo()
- def completeOKWithFutureString(value: CompletionStage[String]): RouteAdapter
- Definition Classes
- RouteDirectives
- Annotations
- @CorrespondsTo()
- def completeOKWithFutureString(value: Future[String]): RouteAdapter
- Definition Classes
- RouteDirectives
- Annotations
- @CorrespondsTo()
- def completeOKWithSource[T, M](source: Source[T, M])(implicit m: Marshaller[T, RequestEntity], support: EntityStreamingSupport): Route
- Definition Classes
- FramedEntityStreamingDirectives
- Annotations
- @CorrespondsTo()
- def completeOrRecoverWith[T](f: Supplier[CompletionStage[T]], marshaller: Marshaller[T, RequestEntity], inner: Function[Throwable, Route]): Route
- Definition Classes
- FutureDirectives
- def completeWith[T](marshaller: Marshaller[T, _ <: HttpResponse], inner: Consumer[Consumer[T]]): Route
- Definition Classes
- MarshallingDirectives
- def completeWithFuture[T](value: CompletionStage[T], marshaller: Marshaller[T, HttpResponse]): RouteAdapter
- Definition Classes
- RouteDirectives
- Annotations
- @CorrespondsTo()
- def completeWithFuture(value: CompletionStage[HttpResponse]): RouteAdapter
- Definition Classes
- RouteDirectives
- Annotations
- @CorrespondsTo()
- def completeWithFuture[T](value: Future[T], marshaller: Marshaller[T, HttpResponse]): RouteAdapter
- Definition Classes
- RouteDirectives
- Annotations
- @CorrespondsTo()
- def completeWithFutureResponse(value: Future[HttpResponse]): RouteAdapter
- Definition Classes
- RouteDirectives
- Annotations
- @CorrespondsTo()
- def completeWithFutureStatus(status: CompletionStage[StatusCode]): Route
- Definition Classes
- RouteDirectives
- Annotations
- @CorrespondsTo()
- def completeWithFutureStatus(status: Future[StatusCode]): Route
- Definition Classes
- RouteDirectives
- Annotations
- @CorrespondsTo()
- def completeWithSource[T, M](source: Source[T, M])(implicit m: Marshaller[T, ByteString], support: EntityStreamingSupport): Route
- Definition Classes
- FramedEntityStreamingDirectives
- Annotations
- @CorrespondsTo()
- def concat(first: Route, alternatives: Route*): Route
- Definition Classes
- RouteDirectives
- Annotations
- @varargs()
- def conditional(eTag: Optional[EntityTag], lastModified: Optional[DateTime], inner: Supplier[Route]): Route
- Definition Classes
- CacheConditionDirectives
- def conditional(eTag: EntityTag, lastModified: DateTime, inner: Supplier[Route]): Route
- Definition Classes
- CacheConditionDirectives
- def conditional(lastModified: DateTime, inner: Supplier[Route]): Route
- Definition Classes
- CacheConditionDirectives
- def conditional(eTag: EntityTag, inner: Supplier[Route]): Route
- Definition Classes
- CacheConditionDirectives
- def cookie(name: String, inner: Function[HttpCookiePair, Route]): Route
- Definition Classes
- CookieDirectives
- def cors(settings: CorsSettings, inner: Supplier[Route]): Route
- Definition Classes
- CorsDirectives
- def cors(inner: Supplier[Route]): Route
- Definition Classes
- CorsDirectives
- def decodeRequest(inner: Supplier[Route]): Route
- Definition Classes
- CodingDirectives
- def decodeRequestWith(coders: Iterable[Coder], inner: Supplier[Route]): Route
- Definition Classes
- CodingDirectives
- def decodeRequestWith(coder: Coder, inner: Supplier[Route]): Route
- Definition Classes
- CodingDirectives
- def defaultContentTypeResolver: ContentTypeResolver
- Definition Classes
- FileAndResourceDirectives
- def defaultDirectoryRenderer: DirectoryRenderer
- Definition Classes
- FileAndResourceDirectives
- def delete(inner: Supplier[Route]): Route
- Definition Classes
- MethodDirectives
- def deleteCookie(name: String, domain: String, path: String, inner: Supplier[Route]): Route
- Definition Classes
- CookieDirectives
- def deleteCookie(name: String, domain: String, inner: Supplier[Route]): Route
- Definition Classes
- CookieDirectives
- def deleteCookie(name: String, inner: Supplier[Route]): Route
- Definition Classes
- CookieDirectives
- def deleteCookie(cookies: Iterable[HttpCookie], inner: Supplier[Route]): Route
- Definition Classes
- CookieDirectives
- def deleteCookie(cookie: HttpCookie, inner: Supplier[Route]): Route
- Definition Classes
- CookieDirectives
- def encodeResponse(inner: Supplier[Route]): Route
- Definition Classes
- CodingDirectives
- def encodeResponseWith(coders: Iterable[Coder], inner: Supplier[Route]): Route
- Definition Classes
- CodingDirectives
- def entity[T](unmarshaller: Unmarshaller[_ >: HttpEntity, T], inner: Function[T, Route]): Route
- Definition Classes
- MarshallingDirectives
- def entityAsSourceOf[T](um: Unmarshaller[ByteString, T], support: EntityStreamingSupport, inner: Function[Source[T, NotUsed], Route]): Route
- Definition Classes
- FramedEntityStreamingDirectives
- Annotations
- @CorrespondsTo()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def extract[T](extract: Function[RequestContext, T], inner: Function[T, Route]): Route
- Definition Classes
- BasicDirectives
- def extractActorSystem(inner: Function[ActorSystem, Route]): Route
- Definition Classes
- BasicDirectives
- def extractClientCertificate(inner: Function[X509Certificate, Route]): Route
- Definition Classes
- TlsDirectives
- def extractClientIP(inner: Function[RemoteAddress, Route]): Route
- Definition Classes
- MiscDirectives
- def extractCredentials(inner: Function[Optional[HttpCredentials], Route]): Route
- Definition Classes
- SecurityDirectives
- def extractDataBytes(inner: Function[Source[ByteString, Any], Route]): RouteAdapter
- Definition Classes
- BasicDirectives
- def extractEntity(inner: Function[RequestEntity, Route]): Route
- Definition Classes
- BasicDirectives
- Annotations
- @CorrespondsTo()
- def extractExecutionContext(inner: Function[ExecutionContextExecutor, Route]): Route
- Definition Classes
- BasicDirectives
- def extractHost(inner: Function[String, Route]): Route
- Definition Classes
- HostDirectives
- def extractLog(inner: Function[LoggingAdapter, Route]): Route
- Definition Classes
- BasicDirectives
- def extractMatchedPath(inner: Function[String, Route]): RouteAdapter
- Definition Classes
- BasicDirectives
- def extractMaterializer(inner: Function[Materializer, Route]): Route
- Definition Classes
- BasicDirectives
- def extractMethod(inner: Function[HttpMethod, Route]): RouteAdapter
- Definition Classes
- MethodDirectives
- def extractOfferedWsProtocols(inner: Function[List[String], Route]): Route
- Definition Classes
- WebSocketDirectives
- def extractParserSettings(inner: Function[ParserSettings, Route]): RouteAdapter
- Definition Classes
- BasicDirectives
- def extractRequest(inner: Function[HttpRequest, Route]): RouteAdapter
- Definition Classes
- BasicDirectives
- def extractRequestContext(inner: Function[RequestContext, Route]): RouteAdapter
- Definition Classes
- BasicDirectives
- def extractRequestEntity(inner: Function[RequestEntity, Route]): Route
- Definition Classes
- BasicDirectives
- def extractRequestTimeout(inner: Function[Duration, Route]): RouteAdapter
- Definition Classes
- TimeoutDirectives
- def extractScheme(inner: Function[String, Route]): Route
- Definition Classes
- SchemeDirectives
- def extractSettings(inner: Function[RoutingSettings, Route]): RouteAdapter
- Definition Classes
- BasicDirectives
- def extractSslSession(inner: Function[SSLSession, Route]): Route
- Definition Classes
- TlsDirectives
- def extractStrictEntity(timeout: FiniteDuration, maxBytes: Long, inner: Function[Strict, Route]): Route
- Definition Classes
- BasicDirectives
- def extractStrictEntity(timeout: FiniteDuration, inner: Function[Strict, Route]): Route
- Definition Classes
- BasicDirectives
- def extractUnmatchedPath(inner: Function[String, Route]): RouteAdapter
- Definition Classes
- BasicDirectives
- def extractUri(inner: Function[Uri, Route]): RouteAdapter
- Definition Classes
- BasicDirectives
- def extractWebSocketUpgrade(inner: Function[WebSocketUpgrade, Route]): Route
- Definition Classes
- WebSocketDirectives
- def failWith(error: Throwable): Route
- Definition Classes
- RouteDirectives
- def fileUpload(fieldName: String, inner: BiFunction[FileInfo, Source[ByteString, Any], Route]): Route
- Definition Classes
- FileUploadDirectives
- def fileUploadAll(fieldName: String, inner: Function[List[Entry[FileInfo, Source[ByteString, Any]]], Route]): Route
- Definition Classes
- FileUploadDirectives
- def formField[T](t: Unmarshaller[String, T], name: String, inner: Function[T, Route]): Route
- Definition Classes
- FormFieldDirectives
- def formField(name: String, inner: Function[String, Route]): Route
- Definition Classes
- FormFieldDirectives
- def formFieldList(inner: Function[List[Entry[String, String]], Route]): Route
- Definition Classes
- FormFieldDirectives
- Annotations
- @CorrespondsTo()
- def formFieldList[T](t: Unmarshaller[String, T], name: String, inner: Function[List[T], Route]): Route
- Definition Classes
- FormFieldDirectives
- Annotations
- @CorrespondsTo()
- def formFieldList(name: String, inner: Function[List[String], Route]): Route
- Definition Classes
- FormFieldDirectives
- Annotations
- @CorrespondsTo()
- def formFieldMap(inner: Function[Map[String, String], Route]): Route
- Definition Classes
- FormFieldDirectives
- def formFieldMultiMap(inner: Function[Map[String, List[String]], Route]): Route
- Definition Classes
- FormFieldDirectives
- def formFieldOptional[T](t: Unmarshaller[String, T], name: String, inner: Function[Optional[T], Route]): Route
- Definition Classes
- FormFieldDirectives
- Annotations
- @CorrespondsTo()
- def formFieldOptional(name: String, inner: Function[Optional[String], Route]): Route
- Definition Classes
- FormFieldDirectives
- Annotations
- @CorrespondsTo()
- def get(inner: Supplier[Route]): Route
- Definition Classes
- MethodDirectives
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getFromBrowseableDirectories(directories: String*): Route
- Definition Classes
- FileAndResourceDirectives
- Annotations
- @varargs()
- def getFromBrowseableDirectories(directories: Iterable[String], resolver: ContentTypeResolver): Route
- Definition Classes
- FileAndResourceDirectives
- def getFromBrowseableDirectories(directories: Iterable[String], renderer: DirectoryRenderer): Route
- Definition Classes
- FileAndResourceDirectives
- def getFromBrowseableDirectories(directories: Iterable[String], renderer: DirectoryRenderer, resolver: ContentTypeResolver): Route
- Definition Classes
- FileAndResourceDirectives
- def getFromBrowseableDirectory(directory: String): Route
- Definition Classes
- FileAndResourceDirectives
- def getFromBrowseableDirectory(directory: String, resolver: ContentTypeResolver): Route
- Definition Classes
- FileAndResourceDirectives
- def getFromBrowseableDirectory(directory: String, renderer: DirectoryRenderer): Route
- Definition Classes
- FileAndResourceDirectives
- def getFromBrowseableDirectory(directory: String, renderer: DirectoryRenderer, resolver: ContentTypeResolver): Route
- Definition Classes
- FileAndResourceDirectives
- def getFromDirectory(directoryPath: String, resolver: ContentTypeResolver): Route
- Definition Classes
- FileAndResourceDirectives
- def getFromDirectory(directoryPath: String): Route
- Definition Classes
- FileAndResourceDirectives
- def getFromFile(file: String, resolver: ContentTypeResolver): Route
- Definition Classes
- FileAndResourceDirectives
- def getFromFile(file: String): Route
- Definition Classes
- FileAndResourceDirectives
- def getFromFile(file: File, contentType: ContentType): Route
- Definition Classes
- FileAndResourceDirectives
- def getFromFile(file: File, resolver: ContentTypeResolver): Route
- Definition Classes
- FileAndResourceDirectives
- def getFromFile(file: File): Route
- Definition Classes
- FileAndResourceDirectives
- def getFromResource(path: String, contentType: ContentType, classLoader: ClassLoader): Route
- Definition Classes
- FileAndResourceDirectives
- def getFromResource(path: String, contentType: ContentType): Route
- Definition Classes
- FileAndResourceDirectives
- def getFromResource(path: String, resolver: ContentTypeResolver): Route
- Definition Classes
- FileAndResourceDirectives
- def getFromResource(path: String): Route
- Definition Classes
- FileAndResourceDirectives
- def getFromResourceDirectory(directoryName: String, resolver: ContentTypeResolver, classLoader: ClassLoader): Route
- Definition Classes
- FileAndResourceDirectives
- def getFromResourceDirectory(directoryName: String, resolver: ContentTypeResolver): Route
- Definition Classes
- FileAndResourceDirectives
- def getFromResourceDirectory(directoryName: String, classLoader: ClassLoader): Route
- Definition Classes
- FileAndResourceDirectives
- def getFromResourceDirectory(directoryName: String): Route
- Definition Classes
- FileAndResourceDirectives
- def handle(handler: Function[HttpRequest, CompletionStage[HttpResponse]]): Route
- Definition Classes
- RouteDirectives
- def handleExceptions(handler: ExceptionHandler, inner: Supplier[Route]): RouteAdapter
- Definition Classes
- ExecutionDirectives
- def handleRejections(handler: RejectionHandler, inner: Supplier[Route]): RouteAdapter
- Definition Classes
- ExecutionDirectives
- def handleSync(handler: Function[HttpRequest, HttpResponse]): Route
- Definition Classes
- RouteDirectives
- def handleWebSocketMessages[T](handler: Flow[Message, Message, T]): Route
- Definition Classes
- WebSocketDirectives
- def handleWebSocketMessagesForOptionalProtocol[T](handler: Flow[Message, Message, T], subprotocol: Optional[String]): Route
- Definition Classes
- WebSocketDirectives
- def handleWebSocketMessagesForProtocol[T](handler: Flow[Message, Message, T], subprotocol: String): Route
- Definition Classes
- WebSocketDirectives
- def handleWith[T, R](unmarshaller: Unmarshaller[_ >: HttpEntity, T], marshaller: Marshaller[R, _ <: HttpResponse], inner: Function[T, R]): Route
- Definition Classes
- MarshallingDirectives
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def head(inner: Supplier[Route]): Route
- Definition Classes
- MethodDirectives
- def headerValue[T](f: Function[HttpHeader, Optional[T]], inner: Function[T, Route]): RouteAdapter
- Definition Classes
- HeaderDirectives
- def headerValueByName(headerName: String, inner: Function[String, Route]): RouteAdapter
- Definition Classes
- HeaderDirectives
- def headerValueByType[T <: HttpHeader](t: Class[T], inner: Function[T, Route]): RouteAdapter
- Definition Classes
- HeaderDirectives
- def headerValuePF[T](pf: PartialFunction[HttpHeader, T], inner: Function[T, Route]): RouteAdapter
- Definition Classes
- HeaderDirectives
- def host(regex: Pattern, inner: Function[String, Route]): Route
- Definition Classes
- HostDirectives
- def host(predicate: Predicate[String], inner: Supplier[Route]): Route
- Definition Classes
- HostDirectives
- def host(hostName: String, inner: Supplier[Route]): Route
- Definition Classes
- HostDirectives
- def host(hostNames: Iterable[String], inner: Supplier[Route]): Route
- Definition Classes
- HostDirectives
- def ignoreTrailingSlash(inner: Supplier[Route]): Route
- Definition Classes
- PathDirectives
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def listDirectoryContents(directoryRenderer: DirectoryRenderer, directories: String*): Route
- Definition Classes
- FileAndResourceDirectives
- Annotations
- @varargs()
- def listDirectoryContents(directories: String*): Route
- Definition Classes
- FileAndResourceDirectives
- Annotations
- @varargs()
- def logRequest(show: Function[HttpRequest, LogEntry], inner: Supplier[Route]): Route
- Definition Classes
- DebuggingDirectives
- def logRequest(marker: String, level: LogLevel, inner: Supplier[Route]): Route
- Definition Classes
- DebuggingDirectives
- def logRequest(marker: String, inner: Supplier[Route]): Route
- Definition Classes
- DebuggingDirectives
- def logRequestResult(showSuccess: BiFunction[HttpRequest, HttpResponse, LogEntry], showRejection: BiFunction[HttpRequest, List[Rejection], LogEntry], inner: Supplier[Route]): RouteAdapter
- Definition Classes
- DebuggingDirectives
- def logRequestResultOptional(showSuccess: BiFunction[HttpRequest, HttpResponse, Optional[LogEntry]], showRejection: BiFunction[HttpRequest, List[Rejection], Optional[LogEntry]], inner: Supplier[Route]): RouteAdapter
- Definition Classes
- DebuggingDirectives
- Annotations
- @CorrespondsTo()
- def logResult(showSuccess: Function[HttpResponse, LogEntry], showRejection: Function[List[Rejection], LogEntry], inner: Supplier[Route]): RouteAdapter
- Definition Classes
- DebuggingDirectives
- def logResult(marker: String, level: LogLevel, inner: Supplier[Route]): Route
- Definition Classes
- DebuggingDirectives
- def logResult(marker: String, inner: Supplier[Route]): Route
- Definition Classes
- DebuggingDirectives
- def mapInnerRoute(f: Function[Route, Route], inner: Supplier[Route]): Route
- Definition Classes
- BasicDirectives
- def mapRejections(f: Function[List[Rejection], List[Rejection]], inner: Supplier[Route]): Route
- Definition Classes
- BasicDirectives
- def mapRequest(f: Function[HttpRequest, HttpRequest], inner: Supplier[Route]): Route
- Definition Classes
- BasicDirectives
- def mapRequestContext(f: Function[RequestContext, RequestContext], inner: Supplier[Route]): Route
- Definition Classes
- BasicDirectives
- def mapResponse(f: Function[HttpResponse, HttpResponse], inner: Supplier[Route]): Route
- Definition Classes
- BasicDirectives
- def mapResponseEntity(f: Function[ResponseEntity, ResponseEntity], inner: Supplier[Route]): Route
- Definition Classes
- BasicDirectives
- def mapResponseHeaders(f: Function[List[HttpHeader], List[HttpHeader]], inner: Supplier[Route]): Route
- Definition Classes
- BasicDirectives
- def mapRouteResult(f: Function[RouteResult, RouteResult], inner: Supplier[Route]): Route
- Definition Classes
- BasicDirectives
- def mapRouteResultFuture(f: Function[CompletionStage[RouteResult], CompletionStage[RouteResult]], inner: Supplier[Route]): Route
- Definition Classes
- BasicDirectives
- def mapRouteResultPF(f: PartialFunction[RouteResult, RouteResult], inner: Supplier[Route]): Route
- Definition Classes
- BasicDirectives
- def mapRouteResultWith(f: Function[RouteResult, CompletionStage[RouteResult]], inner: Supplier[Route]): Route
- Definition Classes
- BasicDirectives
- def mapRouteResultWithPF(f: PartialFunction[RouteResult, CompletionStage[RouteResult]], inner: Supplier[Route]): Route
- Definition Classes
- BasicDirectives
- def mapSettings(f: Function[RoutingSettings, RoutingSettings], inner: Supplier[Route]): Route
- Definition Classes
- BasicDirectives
- def mapUnmatchedPath(f: Function[String, String], inner: Supplier[Route]): Route
- Definition Classes
- BasicDirectives
- def method(method: HttpMethod, inner: Supplier[Route]): Route
- Definition Classes
- MethodDirectives
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def onComplete[T](cs: CompletionStage[T], inner: Function[Try[T], Route]): RouteAdapter
- Definition Classes
- FutureDirectives
- def onComplete[T](f: Supplier[CompletionStage[T]], inner: Function[Try[T], Route]): RouteAdapter
- Definition Classes
- FutureDirectives
- def onCompleteWithBreaker[T](breaker: CircuitBreaker, f: Supplier[CompletionStage[T]], inner: Function[Try[T], Route]): RouteAdapter
- Definition Classes
- FutureDirectives
- def onSuccess[T](cs: CompletionStage[T], inner: Function[T, Route]): RouteAdapter
- Definition Classes
- FutureDirectives
- def onSuccess[T](f: Supplier[CompletionStage[T]], inner: Function[T, Route]): RouteAdapter
- Definition Classes
- FutureDirectives
- def optionalAttribute[T](key: AttributeKey[T], inner: Function[Optional[T], Route]): RouteAdapter
- Definition Classes
- AttributeDirectives
- def optionalCookie(name: String, inner: Function[Optional[HttpCookiePair], Route]): Route
- Definition Classes
- CookieDirectives
- def optionalHeaderValue[T](f: Function[HttpHeader, Optional[T]], inner: Function[Optional[T], Route]): RouteAdapter
- Definition Classes
- HeaderDirectives
- def optionalHeaderValueByName(headerName: String, inner: Function[Optional[String], Route]): RouteAdapter
- Definition Classes
- HeaderDirectives
- def optionalHeaderValueByType[T <: HttpHeader](t: Class[T], inner: Function[Optional[T], Route]): RouteAdapter
- Definition Classes
- HeaderDirectives
- def optionalHeaderValuePF[T](pf: PartialFunction[HttpHeader, T], inner: Function[Optional[T], Route]): RouteAdapter
- Definition Classes
- HeaderDirectives
- def options(inner: Supplier[Route]): Route
- Definition Classes
- MethodDirectives
- def overrideMethodWithParameter(paramName: String, inner: Supplier[Route]): Route
- Definition Classes
- MethodDirectives
- def parameter[T](t: Unmarshaller[String, T], name: String, inner: Function[T, Route]): Route
- Definition Classes
- ParameterDirectives
- def parameter(name: String, inner: Function[String, Route]): Route
- Definition Classes
- ParameterDirectives
- def parameterList(inner: Function[List[Entry[String, String]], Route]): Route
- Definition Classes
- ParameterDirectives
- Annotations
- @CorrespondsTo()
- def parameterList[T](t: Unmarshaller[String, T], name: String, inner: Function[List[T], Route]): Route
- Definition Classes
- ParameterDirectives
- Annotations
- @CorrespondsTo()
- def parameterList(name: String, inner: Function[List[String], Route]): Route
- Definition Classes
- ParameterDirectives
- Annotations
- @CorrespondsTo()
- def parameterMap(inner: Function[Map[String, String], Route]): Route
- Definition Classes
- ParameterDirectives
- def parameterMultiMap(inner: Function[Map[String, List[String]], Route]): Route
- Definition Classes
- ParameterDirectives
- def parameterOptional[T](t: Unmarshaller[String, T], name: String, inner: Function[Optional[T], Route]): Route
- Definition Classes
- ParameterDirectives
- Annotations
- @CorrespondsTo()
- def parameterOptional(name: String, inner: Function[Optional[String], Route]): Route
- Definition Classes
- ParameterDirectives
- Annotations
- @CorrespondsTo()
- def parameterOrDefault[T](t: Unmarshaller[String, T], defaultValue: T, name: String, inner: Function[T, Route]): Route
- Definition Classes
- ParameterDirectives
- Annotations
- @CorrespondsTo()
- def parameterRequiredValue[T](t: Unmarshaller[String, T], requiredValue: T, name: String, inner: Supplier[Route]): Route
- Definition Classes
- ParameterDirectives
- Annotations
- @CorrespondsTo()
- def pass(inner: Supplier[Route]): Route
- Definition Classes
- BasicDirectives
- def patch(inner: Supplier[Route]): Route
- Definition Classes
- MethodDirectives
- def path[T](t: Unmarshaller[String, T], inner: Function[T, Route]): Route
- Definition Classes
- PathDirectives
- def path[T1, T2](p: PathMatcher2[T1, T2], inner: BiFunction[T1, T2, Route]): Route
- Definition Classes
- PathDirectives
- def path[T](p: PathMatcher1[T], inner: Function[T, Route]): Route
- Definition Classes
- PathDirectives
- def path(p: PathMatcher0, inner: Supplier[Route]): Route
- Definition Classes
- PathDirectives
- def path(inner: Function[String, Route]): Route
- Definition Classes
- PathDirectives
- def path(segment: String, inner: Supplier[Route]): Route
- Definition Classes
- PathDirectives
- def pathEnd(inner: Supplier[Route]): Route
- Definition Classes
- PathDirectives
- def pathEndOrSingleSlash(inner: Supplier[Route]): Route
- Definition Classes
- PathDirectives
- def pathPrefix[T](t: Unmarshaller[String, T], inner: Function[T, Route]): Route
- Definition Classes
- PathDirectives
- def pathPrefix[T1, T2](p: PathMatcher2[T1, T2], inner: BiFunction[T1, T2, Route]): Route
- Definition Classes
- PathDirectives
- def pathPrefix[T](p: PathMatcher1[T], inner: Function[T, Route]): Route
- Definition Classes
- PathDirectives
- def pathPrefix(p: PathMatcher0, inner: Supplier[Route]): Route
- Definition Classes
- PathDirectives
- def pathPrefix(inner: Function[String, Route]): Route
- Definition Classes
- PathDirectives
- def pathPrefix(segment: String, inner: Supplier[Route]): Route
- Definition Classes
- PathDirectives
- def pathPrefixTest[T1, T2](pm: PathMatcher2[T1, T2], inner: BiFunction[T1, T2, Route]): Route
- Definition Classes
- PathDirectives
- def pathPrefixTest[T1](pm: PathMatcher1[T1], inner: Function[T1, Route]): Route
- Definition Classes
- PathDirectives
- def pathPrefixTest(pm: PathMatcher0, inner: Supplier[Route]): Route
- Definition Classes
- PathDirectives
- def pathPrefixTest(segment: String, inner: Supplier[Route]): Route
- Definition Classes
- PathDirectives
- def pathSingleSlash(inner: Supplier[Route]): Route
- Definition Classes
- PathDirectives
- def pathSuffix[T1, T2](pm: PathMatcher2[T1, T2], inner: BiFunction[T1, T2, Route]): Route
- Definition Classes
- PathDirectives
- def pathSuffix[T1](pm: PathMatcher1[T1], inner: Function[T1, Route]): Route
- Definition Classes
- PathDirectives
- def pathSuffix(pm: PathMatcher0, inner: Supplier[Route]): Route
- Definition Classes
- PathDirectives
- def pathSuffix(segment: String, inner: Supplier[Route]): Route
- Definition Classes
- PathDirectives
- def pathSuffixTest[T1, T2](pm: PathMatcher2[T1, T2], inner: BiFunction[T1, T2, Route]): Route
- Definition Classes
- PathDirectives
- def pathSuffixTest[T1](pm: PathMatcher1[T1], inner: Function[T1, Route]): Route
- Definition Classes
- PathDirectives
- def pathSuffixTest(pm: PathMatcher0, inner: Supplier[Route]): Route
- Definition Classes
- PathDirectives
- def pathSuffixTest(segment: String, inner: Supplier[Route]): Route
- Definition Classes
- PathDirectives
- def post(inner: Supplier[Route]): Route
- Definition Classes
- MethodDirectives
- def provide[T](t: T, inner: Function[T, Route]): Route
- Definition Classes
- BasicDirectives
- def put(inner: Supplier[Route]): Route
- Definition Classes
- MethodDirectives
- def rawPathPrefix[T1, T2](pm: PathMatcher2[T1, T2], inner: BiFunction[T1, T2, Route]): Route
- Definition Classes
- PathDirectives
- def rawPathPrefix[T1](pm: PathMatcher1[T1], inner: Function[T1, Route]): Route
- Definition Classes
- PathDirectives
- def rawPathPrefix(pm: PathMatcher0, inner: Supplier[Route]): Route
- Definition Classes
- PathDirectives
- def rawPathPrefix(segment: String, inner: Supplier[Route]): Route
- Definition Classes
- PathDirectives
- def rawPathPrefixTest[T1, T2](pm: PathMatcher2[T1, T2], inner: BiFunction[T1, T2, Route]): Route
- Definition Classes
- PathDirectives
- def rawPathPrefixTest[T1](pm: PathMatcher1[T1], inner: Function[T1, Route]): Route
- Definition Classes
- PathDirectives
- def rawPathPrefixTest(pm: PathMatcher0, inner: Supplier[Route]): Route
- Definition Classes
- PathDirectives
- def rawPathPrefixTest(segment: String, inner: Supplier[Route]): Route
- Definition Classes
- PathDirectives
- def recoverRejections(f: Function[Iterable[Rejection], RouteResult], inner: Supplier[Route]): Route
- Definition Classes
- BasicDirectives
- def recoverRejectionsWith(f: Function[Iterable[Rejection], CompletionStage[RouteResult]], inner: Supplier[Route]): Route
- Definition Classes
- BasicDirectives
- def redirect(uri: Uri, redirectionType: StatusCode): Route
- Definition Classes
- RouteDirectives
- def redirectToNoTrailingSlashIfPresent(redirectionType: StatusCode, inner: Supplier[Route]): Route
- Definition Classes
- PathDirectives
- def redirectToTrailingSlashIfMissing(redirectionType: StatusCode, inner: Supplier[Route]): Route
- Definition Classes
- PathDirectives
- def reject(): Route
- Definition Classes
- RouteDirectives
- def reject(rejection: Rejection, rejections: Rejection*): Route
- Definition Classes
- RouteDirectives
- Annotations
- @varargs()
- def rejectEmptyResponse(inner: Supplier[Route]): Route
- Definition Classes
- MiscDirectives
- def request[T](unmarshaller: Unmarshaller[_ >: HttpRequest, T], inner: Function[T, Route]): Route
- Definition Classes
- MarshallingDirectives
- def requestEncodedWith(encoding: HttpEncoding, inner: Supplier[Route]): Route
- Definition Classes
- CodingDirectives
- def requestEntityEmpty(inner: Supplier[Route]): Route
- Definition Classes
- MiscDirectives
- def requestEntityPresent(inner: Supplier[Route]): Route
- Definition Classes
- MiscDirectives
- def requireClientCertificateIdentity(cnRegex: String, inner: Supplier[Route]): Route
- Definition Classes
- TlsDirectives
- def respondWithDefaultHeader(responseHeader: HttpHeader, inner: Supplier[Route]): Route
- Definition Classes
- RespondWithDirectives
- def respondWithDefaultHeaders(responseHeaders: Iterable[HttpHeader], inner: Supplier[Route]): Route
- Definition Classes
- RespondWithDirectives
- def respondWithHeader(responseHeader: HttpHeader, inner: Supplier[Route]): Route
- Definition Classes
- RespondWithDirectives
- def respondWithHeaders(responseHeaders: Iterable[HttpHeader], inner: Supplier[Route]): Route
- Definition Classes
- RespondWithDirectives
- def responseEncodingAccepted(encoding: HttpEncoding, inner: Supplier[Route]): Route
- Definition Classes
- CodingDirectives
- def scheme(name: String, inner: Supplier[Route]): Route
- Definition Classes
- SchemeDirectives
- def selectPreferredLanguage(languages: Iterable[Language], inner: Function[Language, Route]): Route
- Definition Classes
- MiscDirectives
- def setCookie(cookies: Iterable[HttpCookie], inner: Supplier[Route]): Route
- Definition Classes
- CookieDirectives
- def setCookie(cookie: HttpCookie, inner: Supplier[Route]): Route
- Definition Classes
- CookieDirectives
- def storeUploadedFile(fieldName: String, destFn: Function[FileInfo, File], inner: BiFunction[FileInfo, File, Route]): Route
- Definition Classes
- FileUploadDirectives
- def storeUploadedFiles(fieldName: String, destFn: Function[FileInfo, File], inner: Function[List[Entry[FileInfo, File]], Route]): Route
- Definition Classes
- FileUploadDirectives
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toStrictEntity(timeout: FiniteDuration, maxBytes: Long, inner: Supplier[Route]): Route
- Definition Classes
- BasicDirectives
- def toStrictEntity(timeout: FiniteDuration, inner: Supplier[Route]): Route
- Definition Classes
- BasicDirectives
- def toString(): String
- Definition Classes
- AnyRef → Any
- def validate(check: BooleanSupplier, errorMsg: String, inner: Supplier[Route]): Route
- Definition Classes
- MiscDirectives
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withExecutionContext(ec: ExecutionContextExecutor, inner: Supplier[Route]): Route
- Definition Classes
- BasicDirectives
- def withLog(log: LoggingAdapter, inner: Supplier[Route]): Route
- Definition Classes
- BasicDirectives
- def withMaterializer(mat: Materializer, inner: Supplier[Route]): Route
- Definition Classes
- BasicDirectives
- def withPrecompressedMediaTypeSupport(inner: Supplier[Route]): Route
- Definition Classes
- CodingDirectives
- def withRangeSupport(inner: Supplier[Route]): Route
- Definition Classes
- RangeDirectives
- def withRequestTimeout(timeout: Duration, timeoutHandler: Function[HttpRequest, HttpResponse], inner: Supplier[Route]): RouteAdapter
- Definition Classes
- TimeoutDirectives
- def withRequestTimeout(timeout: Duration, inner: Supplier[Route]): RouteAdapter
- Definition Classes
- TimeoutDirectives
- def withRequestTimeoutResponse(timeoutHandler: Function[HttpRequest, HttpResponse], inner: Supplier[Route]): RouteAdapter
- Definition Classes
- TimeoutDirectives
- def withSettings(s: RoutingSettings, inner: Supplier[Route]): Route
- Definition Classes
- BasicDirectives
- def withSizeLimit(maxBytes: Long, inner: Supplier[Route]): Route
- Definition Classes
- MiscDirectives
- def withoutRequestTimeout(inner: Supplier[Route]): RouteAdapter
- Definition Classes
- TimeoutDirectives
- def withoutSizeLimit(inner: Supplier[Route]): Route
- Definition Classes
- MiscDirectives
Deprecated Value Members
- def extractUpgradeToWebSocket(inner: Function[UpgradeToWebSocket, Route]): Route
- Definition Classes
- WebSocketDirectives
- Annotations
- @Deprecated @deprecated
- Deprecated
(Since version 10.2.0) use
extractWebSocketUpgrade
instead
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)
- 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.