trait RouteDirectives extends AnyRef

Source
RouteDirectives.scala
Linear Supertypes
Ordering
  1. Grouped
  2. Alphabetic
  3. By Inheritance
Inherited
  1. RouteDirectives
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Route directives

  1. def complete(m: ⇒ ToResponseMarshallable): StandardRoute

    Completes the request using the given arguments.

  2. def failWith(error: Throwable): StandardRoute

    Bubbles the given error up the response chain, where it is dealt with by the closest handleExceptions directive and its ExceptionHandler.

  3. def redirect(uri: Uri, redirectionType: Redirection): StandardRoute

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

  4. def reject(rejections: Rejection*): StandardRoute

    Rejects the request with the given rejections.

  5. def reject: StandardRoute

    Rejects the request with an empty set of rejections.