BasicDirectives
Basic directives are building blocks for building Custom Directives. As such they usually aren’t used in a route directly but rather in the definition of new directives.
Providing Values to Inner Routes
These directives provide values to the inner routes with extractions. They can be distinguished on two axes: a) provide a constant value or extract a value from the RequestContext
RequestContext
b) provide a single value or a tuple of values.
Transforming the Request(Context)
Transforming the Response
These directives allow to hook into the response path and transform the complete response or the parts of a response or the list of rejections:
Transforming the RouteResult
These directives allow to transform the RouteResult of the inner route.
Other
Alphabetically
- cancelRejection
- cancelRejections
- extract
- extractActorSystem
- extractDataBytes
- extractExecutionContext
- extractLog
- extractMatchedPath
- extractMaterializer
- extractParserSettings
- extractRequest
- extractRequestContext
- extractRequestEntity
- extractSettings
- extractStrictEntity
- extractUnmatchedPath
- extractUri
- mapInnerRoute
- mapRejections
- mapRequest
- mapRequestContext
- mapResponse
- mapResponseEntity
- mapResponseHeaders
- mapRouteResult
- mapRouteResultFuture
- mapRouteResultPF
- mapRouteResultWithPF
- mapRouteResultWith
- mapSettings
- mapUnmatchedPath
- pass
- provide
- recoverRejections
- recoverRejectionsWith
- textract
- toStrictEntity
- tprovide
- withExecutionContext
- withLog
- withMaterializer
- withSettings
1.1.0