akka.http.javadsl.server.directives

CacheConditionDirectives

abstract class CacheConditionDirectives extends BasicDirectives

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

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

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

    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.

    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.

    Annotations
    @varargs()
  18. def ensuring(cond: (CacheConditionDirectives) ⇒ Boolean, msg: ⇒ Any): CacheConditionDirectives

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

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

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

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

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

    Definition Classes
    AnyRef → Any
  24. 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
  25. 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()
  26. def finalize(): Unit

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  81. 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
  82. 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()
  83. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  84. def toString(): String

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

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

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

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

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

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

Deprecated Value Members

  1. def x: CacheConditionDirectives

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

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: CacheConditionDirectives

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

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from BasicDirectives

Inherited from BasicDirectivesBase

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from CacheConditionDirectives to StringAdd

Inherited by implicit conversion any2stringfmt from CacheConditionDirectives to StringFormat

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

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

Ungrouped