akka.http.javadsl.server.directives

MiscDirectives

abstract class MiscDirectives extends MethodDirectives

Source
MiscDirectives.scala
Linear Supertypes
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MiscDirectives
  2. MethodDirectives
  3. HostDirectives
  4. FileAndResourceDirectives
  5. ExecutionDirectives
  6. CookieDirectives
  7. CodingDirectives
  8. CacheConditionDirectives
  9. BasicDirectives
  10. BasicDirectivesBase
  11. AnyRef
  12. Any
Implicitly
  1. by any2stringadd
  2. by any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MiscDirectives()

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from MiscDirectives to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (MiscDirectives, B)

    Implicit information
    This member is added by an implicit conversion from MiscDirectives to ArrowAssoc[MiscDirectives] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def complete(response: HttpResponse): Route

    A route that completes the request with a static text

    A route that completes the request with a static text

    Definition Classes
    BasicDirectives
  11. def complete(contentType: ContentType, text: String): Route

    A route that completes the request with a static text

    A route that completes the request with a static text

    Definition Classes
    BasicDirectives
  12. def complete(text: String): Route

    A route that completes the request with a static text

    A route that completes the request with a static text

    Definition Classes
    BasicDirectives
  13. def completeAs[T](marshaller: Marshaller[T], value: T): Route

    A route that completes the request using the given marshaller and value.

    A route that completes the request using the given marshaller and value.

    Definition Classes
    BasicDirectives
  14. def completeWithStatus(code: StatusCode): Route

    A route that completes the request with a status code.

    A route that completes the request with a status code.

    Definition Classes
    BasicDirectives
  15. def conditional(entityTag: EntityTag, lastModified: DateTime, innerRoute: Route, moreInnerRoutes: Route*): Route

    Wraps its inner route with support for Conditional Requests as defined by http://tools.

    Wraps its inner route with support for Conditional Requests as defined by http://tools.ietf.org/html/rfc7232

    In particular the algorithm defined by http://tools.ietf.org/html/rfc7232#section-6 is implemented by this directive.

    Note: if you want to combine this directive with withRangeSupport(...) you need to put it on the *outside* of the withRangeSupport(...) directive, i.e. withRangeSupport(...) must be on a deeper level in your route structure in order to function correctly.

    Definition Classes
    CacheConditionDirectives
    Annotations
    @varargs()
  16. def conditional(lastModified: DateTime, innerRoute: Route, moreInnerRoutes: Route*): Route

    Wraps its inner route with support for Conditional Requests as defined by http://tools.

    Wraps its inner route with support for Conditional Requests as defined by http://tools.ietf.org/html/rfc7232

    In particular the algorithm defined by http://tools.ietf.org/html/rfc7232#section-6 is implemented by this directive.

    Note: if you want to combine this directive with withRangeSupport(...) you need to put it on the *outside* of the withRangeSupport(...) directive, i.e. withRangeSupport(...) must be on a deeper level in your route structure in order to function correctly.

    Definition Classes
    CacheConditionDirectives
    Annotations
    @varargs()
  17. def conditional(entityTag: EntityTag, innerRoute: Route, moreInnerRoutes: Route*): Route

    Wraps its inner route with support for Conditional Requests as defined by http://tools.

    Wraps its inner route with support for Conditional Requests as defined by http://tools.ietf.org/html/rfc7232

    In particular the algorithm defined by http://tools.ietf.org/html/rfc7232#section-6 is implemented by this directive.

    Note: if you want to combine this directive with withRangeSupport(...) you need to put it on the *outside* of the withRangeSupport(...) directive, i.e. withRangeSupport(...) must be on a deeper level in your route structure in order to function correctly.

    Definition Classes
    CacheConditionDirectives
    Annotations
    @varargs()
  18. def decodeRequest(innerRoute: Route, moreInnerRoutes: Route*): Route

    Decompresses the incoming request if it is gzip or deflate compressed.

    Decompresses the incoming request if it is gzip or deflate compressed. Uncompressed requests are passed through untouched. If the request encoded with another encoding the request is rejected with an UnsupportedRequestEncodingRejection.

    Definition Classes
    CodingDirectives
    Annotations
    @varargs()
  19. def decodeRequestWith(decoders: Coder*): Directive

    Decodes the incoming request if it is encoded with one of the given encoders.

    Decodes the incoming request if it is encoded with one of the given encoders. If the request encoding doesn't match one of the given encoders the request is rejected with an UnsupportedRequestEncodingRejection. If no decoders are given the default encoders (Gzip, Deflate, NoCoding) are used.

    Definition Classes
    CodingDirectives
    Annotations
    @varargs()
  20. def decodeRequestWith(decoder: Coder, innerRoute: Route, moreInnerRoutes: Route*): Route

    Decodes the incoming request using the given Decoder.

    Decodes the incoming request using the given Decoder. If the request encoding doesn't match the request is rejected with an UnsupportedRequestEncodingRejection.

    Definition Classes
    CodingDirectives
    Annotations
    @varargs()
  21. def defaultClassLoader: ClassLoader

    Attributes
    protected
    Definition Classes
    FileAndResourceDirectives
  22. def delete(innerRoute: Route, moreInnerRoutes: Route*): Route

    Handles the inner routes if the incoming request is a DELETE request, rejects the request otherwise

    Handles the inner routes if the incoming request is a DELETE request, rejects the request otherwise

    Definition Classes
    MethodDirectives
    Annotations
    @varargs()
  23. def encodeResponse(coders: Coder*): Directive

    A directive that Wraps its inner routes with encoding support.

    A directive that Wraps its inner routes with encoding support. The response will be encoded using one of the given coders with the precedence given by the order of the coders in this call.

    In any case, a potential akka.http.javadsl.model.headers.AcceptEncoding header from the client will be respected (or otherwise, if no matching .

    Definition Classes
    CodingDirectives
    Annotations
    @varargs()
  24. def encodeResponse(innerRoute: Route, moreInnerRoutes: Route*): Route

    Wraps the inner routes with encoding support.

    Wraps the inner routes with encoding support. The response will be encoded using one of the predefined coders, Gzip, Deflate, or NoCoding depending on a potential akka.http.javadsl.model.headers.AcceptEncoding header from the client.

    Definition Classes
    CodingDirectives
    Annotations
    @varargs()
  25. def ensuring(cond: (MiscDirectives) ⇒ Boolean, msg: ⇒ Any): MiscDirectives

    Implicit information
    This member is added by an implicit conversion from MiscDirectives to Ensuring[MiscDirectives] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  26. def ensuring(cond: (MiscDirectives) ⇒ Boolean): MiscDirectives

    Implicit information
    This member is added by an implicit conversion from MiscDirectives to Ensuring[MiscDirectives] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  27. def ensuring(cond: Boolean, msg: ⇒ Any): MiscDirectives

    Implicit information
    This member is added by an implicit conversion from MiscDirectives to Ensuring[MiscDirectives] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  28. def ensuring(cond: Boolean): MiscDirectives

    Implicit information
    This member is added by an implicit conversion from MiscDirectives to Ensuring[MiscDirectives] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  29. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  31. def extractAndComplete[T](marshaller: Marshaller[T], extraction: RequestVal[T]): Route

    A route that extracts a value and completes the request with it.

    A route that extracts a value and completes the request with it.

    Definition Classes
    BasicDirectives
  32. def extractHere(extractions: RequestVal[_]*): Directive

    A directive that makes sure that all the standalone extractions have been executed and validated.

    A directive that makes sure that all the standalone extractions have been executed and validated.

    Definition Classes
    BasicDirectives
    Annotations
    @varargs()
  33. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  34. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from MiscDirectives to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  35. def get(innerRoute: Route, moreInnerRoutes: Route*): Route

    Handles the inner routes if the incoming request is a GET request, rejects the request otherwise

    Handles the inner routes if the incoming request is a GET request, rejects the request otherwise

    Definition Classes
    MethodDirectives
    Annotations
    @varargs()
  36. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  37. def getFromBrowseableDirectory(directoryPath: String): FileAndResourceRoute

    Same as getFromDirectory but generates a listing of files if the path is a directory.

    Same as getFromDirectory but generates a listing of files if the path is a directory.

    Definition Classes
    FileAndResourceDirectives
  38. def getFromBrowseableDirectory(directory: File): FileAndResourceRoute

    Same as getFromDirectory but generates a listing of files if the path is a directory.

    Same as getFromDirectory but generates a listing of files if the path is a directory.

    Definition Classes
    FileAndResourceDirectives
  39. def getFromDirectory(directoryPath: String): FileAndResourceRoute

    Completes GET requests with the content from the file identified by the given directoryPath and the unmatched path of the request.

    Completes GET requests with the content from the file identified by the given directoryPath and the unmatched path of the request.

    Definition Classes
    FileAndResourceDirectives
  40. def getFromDirectory(directory: File): FileAndResourceRoute

    Completes GET requests with the content from the file identified by the given directory and the unmatched path of the request.

    Completes GET requests with the content from the file identified by the given directory and the unmatched path of the request.

    Definition Classes
    FileAndResourceDirectives
  41. def getFromFile(path: String): FileAndResourceRoute

    Completes GET requests with the content of the file at the path.

    Completes GET requests with the content of the file at the path.

    Definition Classes
    FileAndResourceDirectives
  42. def getFromFile(file: File): FileAndResourceRoute

    Completes GET requests with the content of the given file.

    Completes GET requests with the content of the given file.

    Definition Classes
    FileAndResourceDirectives
  43. def getFromResource(path: String, classLoader: ClassLoader): Route

    Completes GET requests with the content of the given resource loaded from the given ClassLoader.

    Completes GET requests with the content of the given resource loaded from the given ClassLoader. If the resource cannot be found or read the Route rejects the request.

    Definition Classes
    FileAndResourceDirectives
  44. def getFromResource(path: String): Route

    Completes GET requests with the content of the given resource loaded from the default ClassLoader.

    Completes GET requests with the content of the given resource loaded from the default ClassLoader. If the resource cannot be found or read the Route rejects the request.

    Definition Classes
    FileAndResourceDirectives
  45. def getFromResourceDirectory(directoryPath: String, classLoader: ClassLoader): FileAndResourceRoute

    Completes GET requests with the content from the resource identified by the given directoryPath and the unmatched path from the given ClassLoader.

    Completes GET requests with the content from the resource identified by the given directoryPath and the unmatched path from the given ClassLoader.

    Definition Classes
    FileAndResourceDirectives
  46. def getFromResourceDirectory(directoryPath: String): FileAndResourceRoute

    Completes GET requests with the content from the resource identified by the given directoryPath and the unmatched path.

    Completes GET requests with the content from the resource identified by the given directoryPath and the unmatched path.

    Definition Classes
    FileAndResourceDirectives
  47. def handleExceptions(handler: ExceptionHandler, innerRoute: Route, moreInnerRoutes: Route*): Route

    Handles exceptions in the inner routes using the specified handler.

    Handles exceptions in the inner routes using the specified handler.

    Definition Classes
    ExecutionDirectives
    Annotations
    @varargs()
  48. def handleReflectively(clazz: Class[_], instance: AnyRef, methodName: String, extractions: RequestVal[_]*): Route

    Handles the route by calling the method specified by clazz, instance, and methodName.

    Handles the route by calling the method specified by clazz, instance, and methodName. Additionally, the value of all extractions will be passed to the function.

    For extraction types Extraction[T1], Extraction[T2], ... the shape of the method must match this pattern:

    public static RouteResult methodName(RequestContext ctx, T1 t1, T2 t2, ...)

    Definition Classes
    BasicDirectives
    Annotations
    @varargs()
  49. def handleReflectively(clazz: Class[_], methodName: String, extractions: RequestVal[_]*): Route

    Handles the route by reflectively calling the static method specified by clazz, and methodName.

    Handles the route by reflectively calling the static method specified by clazz, and methodName. Additionally, the value of all extractions will be passed to the function.

    For extraction types Extraction[T1], Extraction[T2], ... the shape of the method must match this pattern:

    public static RouteResult methodName(RequestContext ctx, T1 t1, T2 t2, ...)

    Definition Classes
    BasicDirectives
    Annotations
    @varargs()
  50. def handleReflectively(instance: AnyRef, methodName: String, extractions: RequestVal[_]*): Route

    Handles the route by reflectively calling the instance method specified by instance, and methodName.

    Handles the route by reflectively calling the instance method specified by instance, and methodName. Additionally, the value of all extractions will be passed to the function.

    For extraction types Extraction[T1], Extraction[T2], ... the shape of the method must match this pattern:

    public static RouteResult methodName(RequestContext ctx, T1 t1, T2 t2, ...)

    Definition Classes
    BasicDirectives
    Annotations
    @varargs()
  51. def handleWith(handler: Function[RequestContext, RouteResult], extractions: RequestVal[_]*): Route

    Handles the route using the given function.

    Handles the route using the given function. The function MUST NOT return null.

    If the handler is accessing request values these must be passed to this method in order for extraction to be performed.

    Definition Classes
    BasicDirectivesBase
    Annotations
    @varargs()
  52. def handleWith1[T1](v1: RequestVal[T1], handler: Function2[RequestContext, T1, RouteResult]): Route

    Handles the route using the given function.

    Handles the route using the given function. The function MUST NOT return null.

    For convenience, using Java 8 lambda expressions as the handler function is recommended. For Java 6 or 7 users the convenience akka.http.javadsl.server.Handler1 class (which itself extends akka.japi.function.Function2 should prove to be useful, as it matches naming-wise with the number of handled request values.

    Definition Classes
    BasicDirectivesBase
  53. def handleWith10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10](v1: RequestVal[T1], v2: RequestVal[T2], v3: RequestVal[T3], v4: RequestVal[T4], v5: RequestVal[T5], v6: RequestVal[T6], v7: RequestVal[T7], v8: RequestVal[T8], v9: RequestVal[T9], v10: RequestVal[T10], handler: Function11[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, RouteResult]): Route

    Handles the route using the given function.

    Handles the route using the given function. The function MUST NOT return null.

    For convenience, using Java 8 lambda expressions as the handler function is recommended. For Java 6 or 7 users the convenience akka.http.javadsl.server.Handler10 class (which itself extends akka.japi.function.Function11 should prove to be useful, as it matches naming-wise with the number of handled request values.

    Definition Classes
    BasicDirectivesBase
  54. def handleWith11[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11](v1: RequestVal[T1], v2: RequestVal[T2], v3: RequestVal[T3], v4: RequestVal[T4], v5: RequestVal[T5], v6: RequestVal[T6], v7: RequestVal[T7], v8: RequestVal[T8], v9: RequestVal[T9], v10: RequestVal[T10], v11: RequestVal[T11], handler: Function12[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, RouteResult]): Route

    Handles the route using the given function.

    Handles the route using the given function. The function MUST NOT return null.

    For convenience, using Java 8 lambda expressions as the handler function is recommended. For Java 6 or 7 users the convenience akka.http.javadsl.server.Handler11 class (which itself extends akka.japi.function.Function12 should prove to be useful, as it matches naming-wise with the number of handled request values.

    Definition Classes
    BasicDirectivesBase
  55. def handleWith12[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12](v1: RequestVal[T1], v2: RequestVal[T2], v3: RequestVal[T3], v4: RequestVal[T4], v5: RequestVal[T5], v6: RequestVal[T6], v7: RequestVal[T7], v8: RequestVal[T8], v9: RequestVal[T9], v10: RequestVal[T10], v11: RequestVal[T11], v12: RequestVal[T12], handler: Function13[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, RouteResult]): Route

    Handles the route using the given function.

    Handles the route using the given function. The function MUST NOT return null.

    For convenience, using Java 8 lambda expressions as the handler function is recommended. For Java 6 or 7 users the convenience akka.http.javadsl.server.Handler12 class (which itself extends akka.japi.function.Function13 should prove to be useful, as it matches naming-wise with the number of handled request values.

    Definition Classes
    BasicDirectivesBase
  56. def handleWith13[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13](v1: RequestVal[T1], v2: RequestVal[T2], v3: RequestVal[T3], v4: RequestVal[T4], v5: RequestVal[T5], v6: RequestVal[T6], v7: RequestVal[T7], v8: RequestVal[T8], v9: RequestVal[T9], v10: RequestVal[T10], v11: RequestVal[T11], v12: RequestVal[T12], v13: RequestVal[T13], handler: Function14[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, RouteResult]): Route

    Handles the route using the given function.

    Handles the route using the given function. The function MUST NOT return null.

    For convenience, using Java 8 lambda expressions as the handler function is recommended. For Java 6 or 7 users the convenience akka.http.javadsl.server.Handler13 class (which itself extends akka.japi.function.Function14 should prove to be useful, as it matches naming-wise with the number of handled request values.

    Definition Classes
    BasicDirectivesBase
  57. def handleWith14[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14](v1: RequestVal[T1], v2: RequestVal[T2], v3: RequestVal[T3], v4: RequestVal[T4], v5: RequestVal[T5], v6: RequestVal[T6], v7: RequestVal[T7], v8: RequestVal[T8], v9: RequestVal[T9], v10: RequestVal[T10], v11: RequestVal[T11], v12: RequestVal[T12], v13: RequestVal[T13], v14: RequestVal[T14], handler: Function15[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, RouteResult]): Route

    Handles the route using the given function.

    Handles the route using the given function. The function MUST NOT return null.

    For convenience, using Java 8 lambda expressions as the handler function is recommended. For Java 6 or 7 users the convenience akka.http.javadsl.server.Handler14 class (which itself extends akka.japi.function.Function15 should prove to be useful, as it matches naming-wise with the number of handled request values.

    Definition Classes
    BasicDirectivesBase
  58. def handleWith15[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15](v1: RequestVal[T1], v2: RequestVal[T2], v3: RequestVal[T3], v4: RequestVal[T4], v5: RequestVal[T5], v6: RequestVal[T6], v7: RequestVal[T7], v8: RequestVal[T8], v9: RequestVal[T9], v10: RequestVal[T10], v11: RequestVal[T11], v12: RequestVal[T12], v13: RequestVal[T13], v14: RequestVal[T14], v15: RequestVal[T15], handler: Function16[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, RouteResult]): Route

    Handles the route using the given function.

    Handles the route using the given function. The function MUST NOT return null.

    For convenience, using Java 8 lambda expressions as the handler function is recommended. For Java 6 or 7 users the convenience akka.http.javadsl.server.Handler15 class (which itself extends akka.japi.function.Function16 should prove to be useful, as it matches naming-wise with the number of handled request values.

    Definition Classes
    BasicDirectivesBase
  59. def handleWith16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16](v1: RequestVal[T1], v2: RequestVal[T2], v3: RequestVal[T3], v4: RequestVal[T4], v5: RequestVal[T5], v6: RequestVal[T6], v7: RequestVal[T7], v8: RequestVal[T8], v9: RequestVal[T9], v10: RequestVal[T10], v11: RequestVal[T11], v12: RequestVal[T12], v13: RequestVal[T13], v14: RequestVal[T14], v15: RequestVal[T15], v16: RequestVal[T16], handler: Function17[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, RouteResult]): Route

    Handles the route using the given function.

    Handles the route using the given function. The function MUST NOT return null.

    For convenience, using Java 8 lambda expressions as the handler function is recommended. For Java 6 or 7 users the convenience akka.http.javadsl.server.Handler16 class (which itself extends akka.japi.function.Function17 should prove to be useful, as it matches naming-wise with the number of handled request values.

    Definition Classes
    BasicDirectivesBase
  60. def handleWith17[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17](v1: RequestVal[T1], v2: RequestVal[T2], v3: RequestVal[T3], v4: RequestVal[T4], v5: RequestVal[T5], v6: RequestVal[T6], v7: RequestVal[T7], v8: RequestVal[T8], v9: RequestVal[T9], v10: RequestVal[T10], v11: RequestVal[T11], v12: RequestVal[T12], v13: RequestVal[T13], v14: RequestVal[T14], v15: RequestVal[T15], v16: RequestVal[T16], v17: RequestVal[T17], handler: Function18[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, RouteResult]): Route

    Handles the route using the given function.

    Handles the route using the given function. The function MUST NOT return null.

    For convenience, using Java 8 lambda expressions as the handler function is recommended. For Java 6 or 7 users the convenience akka.http.javadsl.server.Handler17 class (which itself extends akka.japi.function.Function18 should prove to be useful, as it matches naming-wise with the number of handled request values.

    Definition Classes
    BasicDirectivesBase
  61. def handleWith18[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18](v1: RequestVal[T1], v2: RequestVal[T2], v3: RequestVal[T3], v4: RequestVal[T4], v5: RequestVal[T5], v6: RequestVal[T6], v7: RequestVal[T7], v8: RequestVal[T8], v9: RequestVal[T9], v10: RequestVal[T10], v11: RequestVal[T11], v12: RequestVal[T12], v13: RequestVal[T13], v14: RequestVal[T14], v15: RequestVal[T15], v16: RequestVal[T16], v17: RequestVal[T17], v18: RequestVal[T18], handler: Function19[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, RouteResult]): Route

    Handles the route using the given function.

    Handles the route using the given function. The function MUST NOT return null.

    For convenience, using Java 8 lambda expressions as the handler function is recommended. For Java 6 or 7 users the convenience akka.http.javadsl.server.Handler18 class (which itself extends akka.japi.function.Function19 should prove to be useful, as it matches naming-wise with the number of handled request values.

    Definition Classes
    BasicDirectivesBase
  62. def handleWith19[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19](v1: RequestVal[T1], v2: RequestVal[T2], v3: RequestVal[T3], v4: RequestVal[T4], v5: RequestVal[T5], v6: RequestVal[T6], v7: RequestVal[T7], v8: RequestVal[T8], v9: RequestVal[T9], v10: RequestVal[T10], v11: RequestVal[T11], v12: RequestVal[T12], v13: RequestVal[T13], v14: RequestVal[T14], v15: RequestVal[T15], v16: RequestVal[T16], v17: RequestVal[T17], v18: RequestVal[T18], v19: RequestVal[T19], handler: Function20[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, RouteResult]): Route

    Handles the route using the given function.

    Handles the route using the given function. The function MUST NOT return null.

    For convenience, using Java 8 lambda expressions as the handler function is recommended. For Java 6 or 7 users the convenience akka.http.javadsl.server.Handler19 class (which itself extends akka.japi.function.Function20 should prove to be useful, as it matches naming-wise with the number of handled request values.

    Definition Classes
    BasicDirectivesBase
  63. def handleWith2[T1, T2](v1: RequestVal[T1], v2: RequestVal[T2], handler: Function3[RequestContext, T1, T2, RouteResult]): Route

    Handles the route using the given function.

    Handles the route using the given function. The function MUST NOT return null.

    For convenience, using Java 8 lambda expressions as the handler function is recommended. For Java 6 or 7 users the convenience akka.http.javadsl.server.Handler2 class (which itself extends akka.japi.function.Function3 should prove to be useful, as it matches naming-wise with the number of handled request values.

    Definition Classes
    BasicDirectivesBase
  64. def handleWith20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20](v1: RequestVal[T1], v2: RequestVal[T2], v3: RequestVal[T3], v4: RequestVal[T4], v5: RequestVal[T5], v6: RequestVal[T6], v7: RequestVal[T7], v8: RequestVal[T8], v9: RequestVal[T9], v10: RequestVal[T10], v11: RequestVal[T11], v12: RequestVal[T12], v13: RequestVal[T13], v14: RequestVal[T14], v15: RequestVal[T15], v16: RequestVal[T16], v17: RequestVal[T17], v18: RequestVal[T18], v19: RequestVal[T19], v20: RequestVal[T20], handler: Function21[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, RouteResult]): Route

    Handles the route using the given function.

    Handles the route using the given function. The function MUST NOT return null.

    For convenience, using Java 8 lambda expressions as the handler function is recommended. For Java 6 or 7 users the convenience akka.http.javadsl.server.Handler20 class (which itself extends akka.japi.function.Function21 should prove to be useful, as it matches naming-wise with the number of handled request values.

    Definition Classes
    BasicDirectivesBase
  65. def handleWith21[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21](v1: RequestVal[T1], v2: RequestVal[T2], v3: RequestVal[T3], v4: RequestVal[T4], v5: RequestVal[T5], v6: RequestVal[T6], v7: RequestVal[T7], v8: RequestVal[T8], v9: RequestVal[T9], v10: RequestVal[T10], v11: RequestVal[T11], v12: RequestVal[T12], v13: RequestVal[T13], v14: RequestVal[T14], v15: RequestVal[T15], v16: RequestVal[T16], v17: RequestVal[T17], v18: RequestVal[T18], v19: RequestVal[T19], v20: RequestVal[T20], v21: RequestVal[T21], handler: Function22[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, RouteResult]): Route

    Handles the route using the given function.

    Handles the route using the given function. The function MUST NOT return null.

    For convenience, using Java 8 lambda expressions as the handler function is recommended. For Java 6 or 7 users the convenience akka.http.javadsl.server.Handler21 class (which itself extends akka.japi.function.Function22 should prove to be useful, as it matches naming-wise with the number of handled request values.

    Definition Classes
    BasicDirectivesBase
  66. def handleWith3[T1, T2, T3](v1: RequestVal[T1], v2: RequestVal[T2], v3: RequestVal[T3], handler: Function4[RequestContext, T1, T2, T3, RouteResult]): Route

    Handles the route using the given function.

    Handles the route using the given function. The function MUST NOT return null.

    For convenience, using Java 8 lambda expressions as the handler function is recommended. For Java 6 or 7 users the convenience akka.http.javadsl.server.Handler3 class (which itself extends akka.japi.function.Function4 should prove to be useful, as it matches naming-wise with the number of handled request values.

    Definition Classes
    BasicDirectivesBase
  67. def handleWith4[T1, T2, T3, T4](v1: RequestVal[T1], v2: RequestVal[T2], v3: RequestVal[T3], v4: RequestVal[T4], handler: Function5[RequestContext, T1, T2, T3, T4, RouteResult]): Route

    Handles the route using the given function.

    Handles the route using the given function. The function MUST NOT return null.

    For convenience, using Java 8 lambda expressions as the handler function is recommended. For Java 6 or 7 users the convenience akka.http.javadsl.server.Handler4 class (which itself extends akka.japi.function.Function5 should prove to be useful, as it matches naming-wise with the number of handled request values.

    Definition Classes
    BasicDirectivesBase
  68. def handleWith5[T1, T2, T3, T4, T5](v1: RequestVal[T1], v2: RequestVal[T2], v3: RequestVal[T3], v4: RequestVal[T4], v5: RequestVal[T5], handler: Function6[RequestContext, T1, T2, T3, T4, T5, RouteResult]): Route

    Handles the route using the given function.

    Handles the route using the given function. The function MUST NOT return null.

    For convenience, using Java 8 lambda expressions as the handler function is recommended. For Java 6 or 7 users the convenience akka.http.javadsl.server.Handler5 class (which itself extends akka.japi.function.Function6 should prove to be useful, as it matches naming-wise with the number of handled request values.

    Definition Classes
    BasicDirectivesBase
  69. def handleWith6[T1, T2, T3, T4, T5, T6](v1: RequestVal[T1], v2: RequestVal[T2], v3: RequestVal[T3], v4: RequestVal[T4], v5: RequestVal[T5], v6: RequestVal[T6], handler: Function7[RequestContext, T1, T2, T3, T4, T5, T6, RouteResult]): Route

    Handles the route using the given function.

    Handles the route using the given function. The function MUST NOT return null.

    For convenience, using Java 8 lambda expressions as the handler function is recommended. For Java 6 or 7 users the convenience akka.http.javadsl.server.Handler6 class (which itself extends akka.japi.function.Function7 should prove to be useful, as it matches naming-wise with the number of handled request values.

    Definition Classes
    BasicDirectivesBase
  70. def handleWith7[T1, T2, T3, T4, T5, T6, T7](v1: RequestVal[T1], v2: RequestVal[T2], v3: RequestVal[T3], v4: RequestVal[T4], v5: RequestVal[T5], v6: RequestVal[T6], v7: RequestVal[T7], handler: Function8[RequestContext, T1, T2, T3, T4, T5, T6, T7, RouteResult]): Route

    Handles the route using the given function.

    Handles the route using the given function. The function MUST NOT return null.

    For convenience, using Java 8 lambda expressions as the handler function is recommended. For Java 6 or 7 users the convenience akka.http.javadsl.server.Handler7 class (which itself extends akka.japi.function.Function8 should prove to be useful, as it matches naming-wise with the number of handled request values.

    Definition Classes
    BasicDirectivesBase
  71. def handleWith8[T1, T2, T3, T4, T5, T6, T7, T8](v1: RequestVal[T1], v2: RequestVal[T2], v3: RequestVal[T3], v4: RequestVal[T4], v5: RequestVal[T5], v6: RequestVal[T6], v7: RequestVal[T7], v8: RequestVal[T8], handler: Function9[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, RouteResult]): Route

    Handles the route using the given function.

    Handles the route using the given function. The function MUST NOT return null.

    For convenience, using Java 8 lambda expressions as the handler function is recommended. For Java 6 or 7 users the convenience akka.http.javadsl.server.Handler8 class (which itself extends akka.japi.function.Function9 should prove to be useful, as it matches naming-wise with the number of handled request values.

    Definition Classes
    BasicDirectivesBase
  72. def handleWith9[T1, T2, T3, T4, T5, T6, T7, T8, T9](v1: RequestVal[T1], v2: RequestVal[T2], v3: RequestVal[T3], v4: RequestVal[T4], v5: RequestVal[T5], v6: RequestVal[T6], v7: RequestVal[T7], v8: RequestVal[T8], v9: RequestVal[T9], handler: Function10[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, RouteResult]): Route

    Handles the route using the given function.

    Handles the route using the given function. The function MUST NOT return null.

    For convenience, using Java 8 lambda expressions as the handler function is recommended. For Java 6 or 7 users the convenience akka.http.javadsl.server.Handler9 class (which itself extends akka.japi.function.Function10 should prove to be useful, as it matches naming-wise with the number of handled request values.

    Definition Classes
    BasicDirectivesBase
  73. def handleWithAsync(handler: Function[RequestContext, Future[RouteResult]], extractions: RequestVal[_]*): Route

    Handles the route using the given function, completing the route once the returned scala.concurrent.Future completes.

    Handles the route using the given function, completing the route once the returned scala.concurrent.Future completes. The function MUST NOT return null.

    If the handler is accessing request values these must be passed to this method in order for extraction to be performed.

    Definition Classes
    BasicDirectivesBase
    Annotations
    @varargs()
  74. def handleWithAsync1[T1](v1: RequestVal[T1], handler: Function2[RequestContext, T1, Future[RouteResult]]): Route

    Handles the route using the given function, completing the route once the returned scala.concurrent.Future completes.

    Handles the route using the given function, completing the route once the returned scala.concurrent.Future completes. The function MUST NOT return null.

    For convenience, using Java 8 lambda expressions as the handler function is recommended. For Java 6 or 7 users the convenience akka.http.javadsl.server.Handler1 class (which itself extends akka.japi.function.Function2 should prove to be useful, as it matches naming-wise with the number of handled request values.

    Definition Classes
    BasicDirectivesBase
  75. def handleWithAsync10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10](v1: RequestVal[T1], v2: RequestVal[T2], v3: RequestVal[T3], v4: RequestVal[T4], v5: RequestVal[T5], v6: RequestVal[T6], v7: RequestVal[T7], v8: RequestVal[T8], v9: RequestVal[T9], v10: RequestVal[T10], handler: Function11[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, Future[RouteResult]]): Route

    Handles the route using the given function, completing the route once the returned scala.concurrent.Future completes.

    Handles the route using the given function, completing the route once the returned scala.concurrent.Future completes. The function MUST NOT return null.

    For convenience, using Java 8 lambda expressions as the handler function is recommended. For Java 6 or 7 users the convenience akka.http.javadsl.server.Handler10 class (which itself extends akka.japi.function.Function11 should prove to be useful, as it matches naming-wise with the number of handled request values.

    Definition Classes
    BasicDirectivesBase
  76. def handleWithAsync11[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11](v1: RequestVal[T1], v2: RequestVal[T2], v3: RequestVal[T3], v4: RequestVal[T4], v5: RequestVal[T5], v6: RequestVal[T6], v7: RequestVal[T7], v8: RequestVal[T8], v9: RequestVal[T9], v10: RequestVal[T10], v11: RequestVal[T11], handler: Function12[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, Future[RouteResult]]): Route

    Handles the route using the given function, completing the route once the returned scala.concurrent.Future completes.

    Handles the route using the given function, completing the route once the returned scala.concurrent.Future completes. The function MUST NOT return null.

    For convenience, using Java 8 lambda expressions as the handler function is recommended. For Java 6 or 7 users the convenience akka.http.javadsl.server.Handler11 class (which itself extends akka.japi.function.Function12 should prove to be useful, as it matches naming-wise with the number of handled request values.

    Definition Classes
    BasicDirectivesBase
  77. def handleWithAsync12[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12](v1: RequestVal[T1], v2: RequestVal[T2], v3: RequestVal[T3], v4: RequestVal[T4], v5: RequestVal[T5], v6: RequestVal[T6], v7: RequestVal[T7], v8: RequestVal[T8], v9: RequestVal[T9], v10: RequestVal[T10], v11: RequestVal[T11], v12: RequestVal[T12], handler: Function13[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, Future[RouteResult]]): Route

    Handles the route using the given function, completing the route once the returned scala.concurrent.Future completes.

    Handles the route using the given function, completing the route once the returned scala.concurrent.Future completes. The function MUST NOT return null.

    For convenience, using Java 8 lambda expressions as the handler function is recommended. For Java 6 or 7 users the convenience akka.http.javadsl.server.Handler12 class (which itself extends akka.japi.function.Function13 should prove to be useful, as it matches naming-wise with the number of handled request values.

    Definition Classes
    BasicDirectivesBase
  78. def handleWithAsync13[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13](v1: RequestVal[T1], v2: RequestVal[T2], v3: RequestVal[T3], v4: RequestVal[T4], v5: RequestVal[T5], v6: RequestVal[T6], v7: RequestVal[T7], v8: RequestVal[T8], v9: RequestVal[T9], v10: RequestVal[T10], v11: RequestVal[T11], v12: RequestVal[T12], v13: RequestVal[T13], handler: Function14[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, Future[RouteResult]]): Route

    Handles the route using the given function, completing the route once the returned scala.concurrent.Future completes.

    Handles the route using the given function, completing the route once the returned scala.concurrent.Future completes. The function MUST NOT return null.

    For convenience, using Java 8 lambda expressions as the handler function is recommended. For Java 6 or 7 users the convenience akka.http.javadsl.server.Handler13 class (which itself extends akka.japi.function.Function14 should prove to be useful, as it matches naming-wise with the number of handled request values.

    Definition Classes
    BasicDirectivesBase
  79. def handleWithAsync14[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14](v1: RequestVal[T1], v2: RequestVal[T2], v3: RequestVal[T3], v4: RequestVal[T4], v5: RequestVal[T5], v6: RequestVal[T6], v7: RequestVal[T7], v8: RequestVal[T8], v9: RequestVal[T9], v10: RequestVal[T10], v11: RequestVal[T11], v12: RequestVal[T12], v13: RequestVal[T13], v14: RequestVal[T14], handler: Function15[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, Future[RouteResult]]): Route

    Handles the route using the given function, completing the route once the returned scala.concurrent.Future completes.

    Handles the route using the given function, completing the route once the returned scala.concurrent.Future completes. The function MUST NOT return null.

    For convenience, using Java 8 lambda expressions as the handler function is recommended. For Java 6 or 7 users the convenience akka.http.javadsl.server.Handler14 class (which itself extends akka.japi.function.Function15 should prove to be useful, as it matches naming-wise with the number of handled request values.

    Definition Classes
    BasicDirectivesBase
  80. def handleWithAsync15[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15](v1: RequestVal[T1], v2: RequestVal[T2], v3: RequestVal[T3], v4: RequestVal[T4], v5: RequestVal[T5], v6: RequestVal[T6], v7: RequestVal[T7], v8: RequestVal[T8], v9: RequestVal[T9], v10: RequestVal[T10], v11: RequestVal[T11], v12: RequestVal[T12], v13: RequestVal[T13], v14: RequestVal[T14], v15: RequestVal[T15], handler: Function16[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, Future[RouteResult]]): Route

    Handles the route using the given function, completing the route once the returned scala.concurrent.Future completes.

    Handles the route using the given function, completing the route once the returned scala.concurrent.Future completes. The function MUST NOT return null.

    For convenience, using Java 8 lambda expressions as the handler function is recommended. For Java 6 or 7 users the convenience akka.http.javadsl.server.Handler15 class (which itself extends akka.japi.function.Function16 should prove to be useful, as it matches naming-wise with the number of handled request values.

    Definition Classes
    BasicDirectivesBase
  81. def handleWithAsync16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16](v1: RequestVal[T1], v2: RequestVal[T2], v3: RequestVal[T3], v4: RequestVal[T4], v5: RequestVal[T5], v6: RequestVal[T6], v7: RequestVal[T7], v8: RequestVal[T8], v9: RequestVal[T9], v10: RequestVal[T10], v11: RequestVal[T11], v12: RequestVal[T12], v13: RequestVal[T13], v14: RequestVal[T14], v15: RequestVal[T15], v16: RequestVal[T16], handler: Function17[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, Future[RouteResult]]): Route

    Handles the route using the given function, completing the route once the returned scala.concurrent.Future completes.

    Handles the route using the given function, completing the route once the returned scala.concurrent.Future completes. The function MUST NOT return null.

    For convenience, using Java 8 lambda expressions as the handler function is recommended. For Java 6 or 7 users the convenience akka.http.javadsl.server.Handler16 class (which itself extends akka.japi.function.Function17 should prove to be useful, as it matches naming-wise with the number of handled request values.

    Definition Classes
    BasicDirectivesBase
  82. def handleWithAsync17[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17](v1: RequestVal[T1], v2: RequestVal[T2], v3: RequestVal[T3], v4: RequestVal[T4], v5: RequestVal[T5], v6: RequestVal[T6], v7: RequestVal[T7], v8: RequestVal[T8], v9: RequestVal[T9], v10: RequestVal[T10], v11: RequestVal[T11], v12: RequestVal[T12], v13: RequestVal[T13], v14: RequestVal[T14], v15: RequestVal[T15], v16: RequestVal[T16], v17: RequestVal[T17], handler: Function18[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, Future[RouteResult]]): Route

    Handles the route using the given function, completing the route once the returned scala.concurrent.Future completes.

    Handles the route using the given function, completing the route once the returned scala.concurrent.Future completes. The function MUST NOT return null.

    For convenience, using Java 8 lambda expressions as the handler function is recommended. For Java 6 or 7 users the convenience akka.http.javadsl.server.Handler17 class (which itself extends akka.japi.function.Function18 should prove to be useful, as it matches naming-wise with the number of handled request values.

    Definition Classes
    BasicDirectivesBase
  83. def handleWithAsync18[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18](v1: RequestVal[T1], v2: RequestVal[T2], v3: RequestVal[T3], v4: RequestVal[T4], v5: RequestVal[T5], v6: RequestVal[T6], v7: RequestVal[T7], v8: RequestVal[T8], v9: RequestVal[T9], v10: RequestVal[T10], v11: RequestVal[T11], v12: RequestVal[T12], v13: RequestVal[T13], v14: RequestVal[T14], v15: RequestVal[T15], v16: RequestVal[T16], v17: RequestVal[T17], v18: RequestVal[T18], handler: Function19[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, Future[RouteResult]]): Route

    Handles the route using the given function, completing the route once the returned scala.concurrent.Future completes.

    Handles the route using the given function, completing the route once the returned scala.concurrent.Future completes. The function MUST NOT return null.

    For convenience, using Java 8 lambda expressions as the handler function is recommended. For Java 6 or 7 users the convenience akka.http.javadsl.server.Handler18 class (which itself extends akka.japi.function.Function19 should prove to be useful, as it matches naming-wise with the number of handled request values.

    Definition Classes
    BasicDirectivesBase
  84. def handleWithAsync19[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19](v1: RequestVal[T1], v2: RequestVal[T2], v3: RequestVal[T3], v4: RequestVal[T4], v5: RequestVal[T5], v6: RequestVal[T6], v7: RequestVal[T7], v8: RequestVal[T8], v9: RequestVal[T9], v10: RequestVal[T10], v11: RequestVal[T11], v12: RequestVal[T12], v13: RequestVal[T13], v14: RequestVal[T14], v15: RequestVal[T15], v16: RequestVal[T16], v17: RequestVal[T17], v18: RequestVal[T18], v19: RequestVal[T19], handler: Function20[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, Future[RouteResult]]): Route

    Handles the route using the given function, completing the route once the returned scala.concurrent.Future completes.

    Handles the route using the given function, completing the route once the returned scala.concurrent.Future completes. The function MUST NOT return null.

    For convenience, using Java 8 lambda expressions as the handler function is recommended. For Java 6 or 7 users the convenience akka.http.javadsl.server.Handler19 class (which itself extends akka.japi.function.Function20 should prove to be useful, as it matches naming-wise with the number of handled request values.

    Definition Classes
    BasicDirectivesBase
  85. def handleWithAsync2[T1, T2](v1: RequestVal[T1], v2: RequestVal[T2], handler: Function3[RequestContext, T1, T2, Future[RouteResult]]): Route

    Handles the route using the given function, completing the route once the returned scala.concurrent.Future completes.

    Handles the route using the given function, completing the route once the returned scala.concurrent.Future completes. The function MUST NOT return null.

    For convenience, using Java 8 lambda expressions as the handler function is recommended. For Java 6 or 7 users the convenience akka.http.javadsl.server.Handler2 class (which itself extends akka.japi.function.Function3 should prove to be useful, as it matches naming-wise with the number of handled request values.

    Definition Classes
    BasicDirectivesBase
  86. def handleWithAsync20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20](v1: RequestVal[T1], v2: RequestVal[T2], v3: RequestVal[T3], v4: RequestVal[T4], v5: RequestVal[T5], v6: RequestVal[T6], v7: RequestVal[T7], v8: RequestVal[T8], v9: RequestVal[T9], v10: RequestVal[T10], v11: RequestVal[T11], v12: RequestVal[T12], v13: RequestVal[T13], v14: RequestVal[T14], v15: RequestVal[T15], v16: RequestVal[T16], v17: RequestVal[T17], v18: RequestVal[T18], v19: RequestVal[T19], v20: RequestVal[T20], handler: Function21[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, Future[RouteResult]]): Route

    Handles the route using the given function, completing the route once the returned scala.concurrent.Future completes.

    Handles the route using the given function, completing the route once the returned scala.concurrent.Future completes. The function MUST NOT return null.

    For convenience, using Java 8 lambda expressions as the handler function is recommended. For Java 6 or 7 users the convenience akka.http.javadsl.server.Handler20 class (which itself extends akka.japi.function.Function21 should prove to be useful, as it matches naming-wise with the number of handled request values.

    Definition Classes
    BasicDirectivesBase
  87. def handleWithAsync21[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21](v1: RequestVal[T1], v2: RequestVal[T2], v3: RequestVal[T3], v4: RequestVal[T4], v5: RequestVal[T5], v6: RequestVal[T6], v7: RequestVal[T7], v8: RequestVal[T8], v9: RequestVal[T9], v10: RequestVal[T10], v11: RequestVal[T11], v12: RequestVal[T12], v13: RequestVal[T13], v14: RequestVal[T14], v15: RequestVal[T15], v16: RequestVal[T16], v17: RequestVal[T17], v18: RequestVal[T18], v19: RequestVal[T19], v20: RequestVal[T20], v21: RequestVal[T21], handler: Function22[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, Future[RouteResult]]): Route

    Handles the route using the given function, completing the route once the returned scala.concurrent.Future completes.

    Handles the route using the given function, completing the route once the returned scala.concurrent.Future completes. The function MUST NOT return null.

    For convenience, using Java 8 lambda expressions as the handler function is recommended. For Java 6 or 7 users the convenience akka.http.javadsl.server.Handler21 class (which itself extends akka.japi.function.Function22 should prove to be useful, as it matches naming-wise with the number of handled request values.

    Definition Classes
    BasicDirectivesBase
  88. def handleWithAsync3[T1, T2, T3](v1: RequestVal[T1], v2: RequestVal[T2], v3: RequestVal[T3], handler: Function4[RequestContext, T1, T2, T3, Future[RouteResult]]): Route

    Handles the route using the given function, completing the route once the returned scala.concurrent.Future completes.

    Handles the route using the given function, completing the route once the returned scala.concurrent.Future completes. The function MUST NOT return null.

    For convenience, using Java 8 lambda expressions as the handler function is recommended. For Java 6 or 7 users the convenience akka.http.javadsl.server.Handler3 class (which itself extends akka.japi.function.Function4 should prove to be useful, as it matches naming-wise with the number of handled request values.

    Definition Classes
    BasicDirectivesBase
  89. def handleWithAsync4[T1, T2, T3, T4](v1: RequestVal[T1], v2: RequestVal[T2], v3: RequestVal[T3], v4: RequestVal[T4], handler: Function5[RequestContext, T1, T2, T3, T4, Future[RouteResult]]): Route

    Handles the route using the given function, completing the route once the returned scala.concurrent.Future completes.

    Handles the route using the given function, completing the route once the returned scala.concurrent.Future completes. The function MUST NOT return null.

    For convenience, using Java 8 lambda expressions as the handler function is recommended. For Java 6 or 7 users the convenience akka.http.javadsl.server.Handler4 class (which itself extends akka.japi.function.Function5 should prove to be useful, as it matches naming-wise with the number of handled request values.

    Definition Classes
    BasicDirectivesBase
  90. def handleWithAsync5[T1, T2, T3, T4, T5](v1: RequestVal[T1], v2: RequestVal[T2], v3: RequestVal[T3], v4: RequestVal[T4], v5: RequestVal[T5], handler: Function6[RequestContext, T1, T2, T3, T4, T5, Future[RouteResult]]): Route

    Handles the route using the given function, completing the route once the returned scala.concurrent.Future completes.

    Handles the route using the given function, completing the route once the returned scala.concurrent.Future completes. The function MUST NOT return null.

    For convenience, using Java 8 lambda expressions as the handler function is recommended. For Java 6 or 7 users the convenience akka.http.javadsl.server.Handler5 class (which itself extends akka.japi.function.Function6 should prove to be useful, as it matches naming-wise with the number of handled request values.

    Definition Classes
    BasicDirectivesBase
  91. def handleWithAsync6[T1, T2, T3, T4, T5, T6](v1: RequestVal[T1], v2: RequestVal[T2], v3: RequestVal[T3], v4: RequestVal[T4], v5: RequestVal[T5], v6: RequestVal[T6], handler: Function7[RequestContext, T1, T2, T3, T4, T5, T6, Future[RouteResult]]): Route

    Handles the route using the given function, completing the route once the returned scala.concurrent.Future completes.

    Handles the route using the given function, completing the route once the returned scala.concurrent.Future completes. The function MUST NOT return null.

    For convenience, using Java 8 lambda expressions as the handler function is recommended. For Java 6 or 7 users the convenience akka.http.javadsl.server.Handler6 class (which itself extends akka.japi.function.Function7 should prove to be useful, as it matches naming-wise with the number of handled request values.

    Definition Classes
    BasicDirectivesBase
  92. def handleWithAsync7[T1, T2, T3, T4, T5, T6, T7](v1: RequestVal[T1], v2: RequestVal[T2], v3: RequestVal[T3], v4: RequestVal[T4], v5: RequestVal[T5], v6: RequestVal[T6], v7: RequestVal[T7], handler: Function8[RequestContext, T1, T2, T3, T4, T5, T6, T7, Future[RouteResult]]): Route

    Handles the route using the given function, completing the route once the returned scala.concurrent.Future completes.

    Handles the route using the given function, completing the route once the returned scala.concurrent.Future completes. The function MUST NOT return null.

    For convenience, using Java 8 lambda expressions as the handler function is recommended. For Java 6 or 7 users the convenience akka.http.javadsl.server.Handler7 class (which itself extends akka.japi.function.Function8 should prove to be useful, as it matches naming-wise with the number of handled request values.

    Definition Classes
    BasicDirectivesBase
  93. def handleWithAsync8[T1, T2, T3, T4, T5, T6, T7, T8](v1: RequestVal[T1], v2: RequestVal[T2], v3: RequestVal[T3], v4: RequestVal[T4], v5: RequestVal[T5], v6: RequestVal[T6], v7: RequestVal[T7], v8: RequestVal[T8], handler: Function9[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, Future[RouteResult]]): Route

    Handles the route using the given function, completing the route once the returned scala.concurrent.Future completes.

    Handles the route using the given function, completing the route once the returned scala.concurrent.Future completes. The function MUST NOT return null.

    For convenience, using Java 8 lambda expressions as the handler function is recommended. For Java 6 or 7 users the convenience akka.http.javadsl.server.Handler8 class (which itself extends akka.japi.function.Function9 should prove to be useful, as it matches naming-wise with the number of handled request values.

    Definition Classes
    BasicDirectivesBase
  94. def handleWithAsync9[T1, T2, T3, T4, T5, T6, T7, T8, T9](v1: RequestVal[T1], v2: RequestVal[T2], v3: RequestVal[T3], v4: RequestVal[T4], v5: RequestVal[T5], v6: RequestVal[T6], v7: RequestVal[T7], v8: RequestVal[T8], v9: RequestVal[T9], handler: Function10[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, Future[RouteResult]]): Route

    Handles the route using the given function, completing the route once the returned scala.concurrent.Future completes.

    Handles the route using the given function, completing the route once the returned scala.concurrent.Future completes. The function MUST NOT return null.

    For convenience, using Java 8 lambda expressions as the handler function is recommended. For Java 6 or 7 users the convenience akka.http.javadsl.server.Handler9 class (which itself extends akka.japi.function.Function10 should prove to be useful, as it matches naming-wise with the number of handled request values.

    Definition Classes
    BasicDirectivesBase
  95. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  96. def head(innerRoute: Route, moreInnerRoutes: Route*): Route

    Handles the inner routes if the incoming request is a HEAD request, rejects the request otherwise

    Handles the inner routes if the incoming request is a HEAD request, rejects the request otherwise

    Definition Classes
    MethodDirectives
    Annotations
    @varargs()
  97. def host(predicate: Function[String, Boolean], innerRoute: Route, moreInnerRoutes: Route*): Route

    Rejects all requests for whose host name the given predicate function returns false.

    Rejects all requests for whose host name the given predicate function returns false.

    Definition Classes
    HostDirectives
    Annotations
    @varargs()
  98. def host(hostNames: Iterable[String], innerRoute: Route, moreInnerRoutes: Route*): Route

    Rejects all requests with a host name different from the given ones.

    Rejects all requests with a host name different from the given ones.

    Definition Classes
    HostDirectives
    Annotations
    @varargs()
  99. def host(hostName: String, innerRoute: Route, moreInnerRoutes: Route*): Route

    Rejects all requests with a host name different from the given one.

    Rejects all requests with a host name different from the given one.

    Definition Classes
    HostDirectives
    Annotations
    @varargs()
  100. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  101. def method(method: HttpMethod, innerRoute: Route, moreInnerRoutes: Route*): Route

    Handles the inner routes if the incoming request is a request with the given method, rejects the request otherwise

    Handles the inner routes if the incoming request is a request with the given method, rejects the request otherwise

    Definition Classes
    MethodDirectives
    Annotations
    @varargs()
  102. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  103. final def notify(): Unit

    Definition Classes
    AnyRef
  104. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  105. def options(innerRoute: Route, moreInnerRoutes: Route*): Route

    Handles the inner routes if the incoming request is a OPTIONS request, rejects the request otherwise

    Handles the inner routes if the incoming request is a OPTIONS request, rejects the request otherwise

    Definition Classes
    MethodDirectives
    Annotations
    @varargs()
  106. def patch(innerRoute: Route, moreInnerRoutes: Route*): Route

    Handles the inner routes if the incoming request is a PATCH request, rejects the request otherwise

    Handles the inner routes if the incoming request is a PATCH request, rejects the request otherwise

    Definition Classes
    MethodDirectives
    Annotations
    @varargs()
  107. def post(innerRoute: Route, moreInnerRoutes: Route*): Route

    Handles the inner routes if the incoming request is a POST request, rejects the request otherwise

    Handles the inner routes if the incoming request is a POST request, rejects the request otherwise

    Definition Classes
    MethodDirectives
    Annotations
    @varargs()
  108. def put(innerRoute: Route, moreInnerRoutes: Route*): Route

    Handles the inner routes if the incoming request is a PUT request, rejects the request otherwise

    Handles the inner routes if the incoming request is a PUT request, rejects the request otherwise

    Definition Classes
    MethodDirectives
    Annotations
    @varargs()
  109. def redirect(uri: Uri, redirectionType: StatusCode): Route

    Completes the request with redirection response of the given type to the given URI.

    Completes the request with redirection response of the given type to the given URI.

    The redirectionType must be a StatusCode for which isRedirection returns true.

    Definition Classes
    BasicDirectives
  110. def route(innerRoute: Route, moreInnerRoutes: Route*): Route

    Tries the given route alternatives in sequence until the first one matches.

    Tries the given route alternatives in sequence until the first one matches.

    Definition Classes
    BasicDirectives
    Annotations
    @varargs()
  111. def setCookie(cookie: HttpCookie, innerRoute: Route, moreInnerRoutes: Route*): Route

    Adds a Set-Cookie header with the given cookies to all responses of its inner route.

    Adds a Set-Cookie header with the given cookies to all responses of its inner route.

    Definition Classes
    CookieDirectives
    Annotations
    @varargs()
  112. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  113. def toString(): String

    Definition Classes
    AnyRef → Any
  114. def validate[T1, T2](value1: RequestVal[T1], value2: RequestVal[T2], check: Function2[T1, T2, Boolean], errorMsg: String, innerRoute: Route, moreInnerRoutes: Route*): Route

    Returns a Route which checks the given condition before running its inner Route.

    Returns a Route which checks the given condition before running its inner Route. If the condition fails the route is rejected with a spray.routing.ValidationRejection.

    Annotations
    @varargs()
  115. def validate[T](value: RequestVal[T], check: Function[T, Boolean], errorMsg: String, innerRoute: Route, moreInnerRoutes: Route*): Route

    Returns a Route which checks the given condition before running its inner Route.

    Returns a Route which checks the given condition before running its inner Route. If the condition fails the route is rejected with a spray.routing.ValidationRejection.

    Annotations
    @varargs()
  116. def validate(check: Function[RequestContext, Boolean], errorMsg: String, innerRoute: Route, moreInnerRoutes: Route*): Route

    Returns a Route which checks the given condition on the request context before running its inner Route.

    Returns a Route which checks the given condition on the request context before running its inner Route. If the condition fails the route is rejected with a spray.routing.ValidationRejection.

    Annotations
    @varargs()
  117. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  120. def [B](y: B): (MiscDirectives, B)

    Implicit information
    This member is added by an implicit conversion from MiscDirectives to ArrowAssoc[MiscDirectives] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from MiscDirectives to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (miscDirectives: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from MiscDirectives to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (miscDirectives: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: MiscDirectives

    Implicit information
    This member is added by an implicit conversion from MiscDirectives to ArrowAssoc[MiscDirectives] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (miscDirectives: ArrowAssoc[MiscDirectives]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: MiscDirectives

    Implicit information
    This member is added by an implicit conversion from MiscDirectives to Ensuring[MiscDirectives] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (miscDirectives: Ensuring[MiscDirectives]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from MethodDirectives

Inherited from HostDirectives

Inherited from FileAndResourceDirectives

Inherited from ExecutionDirectives

Inherited from CookieDirectives

Inherited from CodingDirectives

Inherited from CacheConditionDirectives

Inherited from BasicDirectives

Inherited from BasicDirectivesBase

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from MiscDirectives to StringAdd

Inherited by implicit conversion any2stringfmt from MiscDirectives to StringFormat

Inherited by implicit conversion any2ArrowAssoc from MiscDirectives to ArrowAssoc[MiscDirectives]

Inherited by implicit conversion any2Ensuring from MiscDirectives to Ensuring[MiscDirectives]

Ungrouped