Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait BasicDirectivesclass Objecttrait Matchableclass Any
- Known subtypes
-
object TracingDirectives.type
Members list
Value members
Concrete methods
Assigns a new operation name to the Span representing the processing of the current request and ensures that a Sampling Decision is taken in case none has been taken so far.
Assigns a new operation name to the Span representing the processing of the current request and ensures that a Sampling Decision is taken in case none has been taken so far.
Attributes
Inherited methods
Adds a TransformationRejection cancelling all rejections equal to the given one to the list of rejections potentially coming back from the inner route.
Adds a TransformationRejection cancelling all rejections equal to the given one to the list of rejections potentially coming back from the inner route.
Attributes
- Inherited from:
- BasicDirectives
Adds a TransformationRejection cancelling all rejections for which the given filter function returns true to the list of rejections potentially coming back from the inner route.
Adds a TransformationRejection cancelling all rejections for which the given filter function returns true to the list of rejections potentially coming back from the inner route.
Attributes
- Inherited from:
- BasicDirectives
Adds a TransformationRejection cancelling all rejections of one of the given classes to the list of rejections potentially coming back from the inner route.
Adds a TransformationRejection cancelling all rejections of one of the given classes to the list of rejections potentially coming back from the inner route.
Attributes
- Inherited from:
- BasicDirectives
Extracts a single value using the given function.
Extracts a single value using the given function.
Attributes
- Inherited from:
- BasicDirectives
Extracts the akka.actor.ActorSystem if the available Materializer is an akka.stream.ActorMaterializer. Otherwise throws an exception as it won't be able to extract the system from arbitrary materializers.
Extracts the akka.actor.ActorSystem if the available Materializer is an akka.stream.ActorMaterializer. Otherwise throws an exception as it won't be able to extract the system from arbitrary materializers.
Attributes
- Inherited from:
- BasicDirectives
Extracts the entities dataBytes
akka.stream.scaladsl.Source from the akka.http.scaladsl.server.RequestContext.
Extracts the entities dataBytes
akka.stream.scaladsl.Source from the akka.http.scaladsl.server.RequestContext.
Attributes
- Inherited from:
- BasicDirectives
Extracts the scala.concurrent.ExecutionContextExecutor from the akka.http.scaladsl.server.RequestContext.
Extracts the scala.concurrent.ExecutionContextExecutor from the akka.http.scaladsl.server.RequestContext.
Attributes
- Inherited from:
- BasicDirectives
Extracts the akka.event.LoggingAdapter from the akka.http.scaladsl.server.RequestContext.
Extracts the akka.event.LoggingAdapter from the akka.http.scaladsl.server.RequestContext.
Attributes
- Inherited from:
- BasicDirectives
Extracts the already matched path from the RequestContext.
Extracts the already matched path from the RequestContext.
Attributes
- Inherited from:
- BasicDirectives
Extracts the akka.stream.Materializer from the akka.http.scaladsl.server.RequestContext.
Extracts the akka.stream.Materializer from the akka.http.scaladsl.server.RequestContext.
Attributes
- Inherited from:
- BasicDirectives
Extracts the akka.http.scaladsl.settings.ParserSettings from the akka.http.scaladsl.server.RequestContext.
Extracts the akka.http.scaladsl.settings.ParserSettings from the akka.http.scaladsl.server.RequestContext.
Attributes
- Inherited from:
- BasicDirectives
Extracts the current HttpRequest instance.
Extracts the current HttpRequest instance.
Attributes
- Inherited from:
- BasicDirectives
Extracts the akka.http.scaladsl.server.RequestContext itself.
Extracts the akka.http.scaladsl.server.RequestContext itself.
Attributes
- Inherited from:
- BasicDirectives
Extracts the akka.http.scaladsl.model.RequestEntity from the akka.http.scaladsl.server.RequestContext.
Extracts the akka.http.scaladsl.model.RequestEntity from the akka.http.scaladsl.server.RequestContext.
Attributes
- Inherited from:
- BasicDirectives
Extracts the RoutingSettings from the akka.http.scaladsl.server.RequestContext.
Extracts the RoutingSettings from the akka.http.scaladsl.server.RequestContext.
Attributes
- Inherited from:
- BasicDirectives
WARNING: This will read the entire request entity into memory and effectively disable streaming.
WARNING: This will read the entire request entity into memory and effectively disable streaming.
To help protect against excessive memory use, the request will be aborted if the request is larger than allowed by the akka.http.parsing.max-to-strict-bytes
configuration setting.
Converts the HttpEntity from the akka.http.scaladsl.server.RequestContext into an akka.http.scaladsl.model.HttpEntity.Strict and extracts it, or fails the route if unable to drain the entire request body within the timeout.
Value parameters
- timeout
-
The directive is failed if the stream isn't completed after the given timeout.
Attributes
- Inherited from:
- BasicDirectives
WARNING: This will read the entire request entity into memory and effectively disable streaming.
WARNING: This will read the entire request entity into memory and effectively disable streaming.
To help protect against excessive memory use, the request will be aborted if the request is larger than allowed by the akka.http.parsing.max-to-strict-bytes
configuration setting.
Converts the HttpEntity from the akka.http.scaladsl.server.RequestContext into an akka.http.scaladsl.model.HttpEntity.Strict and extracts it, or fails the route if unable to drain the entire request body within the timeout.
Value parameters
- timeout
-
The directive is failed if the stream isn't completed after the given timeout.
Attributes
- Inherited from:
- BasicDirectives
Extracts the yet unmatched path from the RequestContext.
Extracts the yet unmatched path from the RequestContext.
Attributes
- Inherited from:
- BasicDirectives
Extracts the complete request URI.
Extracts the complete request URI.
Attributes
- Inherited from:
- BasicDirectives
Attributes
- Inherited from:
- BasicDirectives
Attributes
- Inherited from:
- BasicDirectives
Attributes
- Inherited from:
- BasicDirectives
Attributes
- Inherited from:
- BasicDirectives
Attributes
- Inherited from:
- BasicDirectives
Attributes
- Inherited from:
- BasicDirectives
Attributes
- Inherited from:
- BasicDirectives
Attributes
- Inherited from:
- BasicDirectives
Attributes
- Inherited from:
- BasicDirectives
Attributes
- Inherited from:
- BasicDirectives
Attributes
- Inherited from:
- BasicDirectives
Attributes
- Inherited from:
- BasicDirectives
Runs the inner route with settings mapped by the given function.
Runs the inner route with settings mapped by the given function.
Attributes
- Inherited from:
- BasicDirectives
Transforms the unmatchedPath of the RequestContext using the given function.
Transforms the unmatchedPath of the RequestContext using the given function.
Attributes
- Inherited from:
- BasicDirectives
A Directive0 that always passes the request on to its inner route (i.e. does nothing with the request or the response).
A Directive0 that always passes the request on to its inner route (i.e. does nothing with the request or the response).
Attributes
- Inherited from:
- BasicDirectives
Injects the given value into a directive.
Injects the given value into a directive.
Attributes
- Inherited from:
- BasicDirectives
Attributes
- Inherited from:
- BasicDirectives
Attributes
- Inherited from:
- BasicDirectives
Extracts a number of values using the given function.
Extracts a number of values using the given function.
Attributes
- Inherited from:
- BasicDirectives
WARNING: This will read the entire request entity into memory and effectively disable streaming.
WARNING: This will read the entire request entity into memory and effectively disable streaming.
To help protect against excessive memory use, the request will be aborted if the request is larger than allowed by the akka.http.parsing.max-to-strict-bytes
configuration setting.
Extracts the akka.http.scaladsl.server.RequestContext itself with the strict HTTP entity, or fails the route if unable to drain the entire request body within the timeout.
Value parameters
- timeout
-
The directive is failed if the stream isn't completed after the given timeout.
Attributes
- Inherited from:
- BasicDirectives
WARNING: This will read the entire request entity into memory and effectively disable streaming.
WARNING: This will read the entire request entity into memory and effectively disable streaming.
To help protect against excessive memory use, the request will be aborted if the request is larger than allowed by the akka.http.parsing.max-to-strict-bytes
configuration setting.
Extracts the akka.http.scaladsl.server.RequestContext itself with the strict HTTP entity, or fails the route if unable to drain the entire request body within the timeout.
Value parameters
- timeout
-
The directive is failed if the stream isn't completed after the given timeout.
Attributes
- Inherited from:
- BasicDirectives
Injects the given values into a directive.
Injects the given values into a directive.
Attributes
- Inherited from:
- BasicDirectives
Runs its inner route with the given alternative scala.concurrent.ExecutionContextExecutor.
Runs its inner route with the given alternative scala.concurrent.ExecutionContextExecutor.
Attributes
- Inherited from:
- BasicDirectives
Runs its inner route with the given alternative akka.event.LoggingAdapter.
Runs its inner route with the given alternative akka.event.LoggingAdapter.
Attributes
- Inherited from:
- BasicDirectives
Runs its inner route with the given alternative akka.stream.Materializer.
Runs its inner route with the given alternative akka.stream.Materializer.
Attributes
- Inherited from:
- BasicDirectives
Runs its inner route with the given alternative RoutingSettings.
Runs its inner route with the given alternative RoutingSettings.
Attributes
- Inherited from:
- BasicDirectives