Attributes
- Companion
- object
- Source
- RouteDirectives.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Members list
Value members
Concrete methods
Completes the request using the given arguments.
Completes the request using the given arguments.
Completes the request using the given arguments.
Bubbles the given error up the response chain, where it is dealt with by the closest handleExceptions directive and its ExceptionHandler.
Bubbles the given error up the response chain, where it is dealt with by the closest handleExceptions directive and its ExceptionHandler.
Attributes
- Source
- RouteDirectives.scala
Handle the request using a function.
Handle the request using an asynchronous partial function.
Handle the request using an asynchronous partial function.
This directive can be used to include external components request processing components defined as PartialFunction (like those provided by akka-grpc) into a routing tree defined as routes.
When the partial function is not defined for a request, the request is rejected with an empty list of rejections which is equivalent to a "Not Found" rejection.
Attributes
- Source
- RouteDirectives.scala
Handle the request using an asynchronous partial function.
Handle the request using an asynchronous partial function.
This directive can be used to include external components request processing components defined as PartialFunction (like those provided by akka-grpc) into a routing tree defined as routes.
Value parameters
- rejections
-
The list of rejections to reject with if the handler is not defined for a request.
Attributes
- Source
- RouteDirectives.scala
Handle the request using a function.
Handle the request using a synchronous partial function.
Handle the request using a synchronous partial function.
This directive can be used to include external components request processing components defined as PartialFunction (like those provided by akka-grpc) into a routing tree defined as routes.
When the partial function is not defined for a request, the request is rejected with an empty list of rejections which is equivalent to a "Not Found" rejection.
Attributes
- Source
- RouteDirectives.scala
Handle the request using a synchronous partial function.
Handle the request using a synchronous partial function.
This directive can be used to include external components request processing components defined as PartialFunction (like those provided by akka-grpc) into a routing tree defined as routes.
Value parameters
- rejections
-
The list of rejections to reject with if the handler is not defined for a request.
Attributes
- Source
- RouteDirectives.scala
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.
Attributes
- Source
- RouteDirectives.scala
Rejects the request with an empty set of rejections.
Rejects the request with the given rejections.