akka.http.javadsl.server.directives

CodingDirectives

abstract class CodingDirectives extends CacheConditionDirectives

Source
CodingDirectives.scala
Linear Supertypes
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. CodingDirectives
  2. CacheConditionDirectives
  3. BasicDirectives
  4. BasicDirectivesBase
  5. AnyRef
  6. 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 CodingDirectives()

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 CodingDirectives to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (CodingDirectives, B)

    Implicit information
    This member is added by an implicit conversion from CodingDirectives to ArrowAssoc[CodingDirectives] 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.

    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.

    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.

    Annotations
    @varargs()
  21. 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 .

    Annotations
    @varargs()
  22. 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.

    Annotations
    @varargs()
  23. def ensuring(cond: (CodingDirectives) ⇒ Boolean, msg: ⇒ Any): CodingDirectives

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

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

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

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

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

    Definition Classes
    AnyRef → Any
  29. 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
  30. 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()
  31. def finalize(): Unit

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

    Implicit information
    This member is added by an implicit conversion from CodingDirectives to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  33. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  34. 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()
  35. 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()
  36. 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()
  37. 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()
  38. 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
  39. 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
  40. 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
  41. 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
  42. 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
  43. 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
  44. 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
  45. 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
  46. 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
  47. 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
  48. 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
  49. 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
  50. 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
  51. 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
  52. 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
  53. 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
  54. 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
  55. 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
  56. 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
  57. 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
  58. 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
  59. 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()
  60. 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
  61. 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
  62. 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
  63. 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
  64. 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
  65. 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
  66. 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
  67. 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
  68. 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
  69. 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
  70. 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
  71. 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
  72. 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
  73. 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
  74. 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
  75. 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
  76. 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
  77. 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
  78. 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
  79. 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
  80. 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
  81. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  82. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  83. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  86. 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
  87. 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()
  88. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  89. def toString(): String

    Definition Classes
    AnyRef → Any
  90. final def wait(): Unit

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

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

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

    Implicit information
    This member is added by an implicit conversion from CodingDirectives to ArrowAssoc[CodingDirectives] 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 CodingDirectives 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:
    (codingDirectives: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from CodingDirectives 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:
    (codingDirectives: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: CodingDirectives

    Implicit information
    This member is added by an implicit conversion from CodingDirectives to ArrowAssoc[CodingDirectives] 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:
    (codingDirectives: ArrowAssoc[CodingDirectives]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: CodingDirectives

    Implicit information
    This member is added by an implicit conversion from CodingDirectives to Ensuring[CodingDirectives] 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:
    (codingDirectives: Ensuring[CodingDirectives]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from CacheConditionDirectives

Inherited from BasicDirectives

Inherited from BasicDirectivesBase

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from CodingDirectives to StringAdd

Inherited by implicit conversion any2stringfmt from CodingDirectives to StringFormat

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

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

Ungrouped