package directives
- Alphabetic
- Public
- Protected
Type Members
- trait AttributeDirectives extends AnyRef
- trait AuthenticationDirective[T] extends Directive1[T]
- trait BasicDirectives extends AnyRef
- trait CacheConditionDirectives extends AnyRef
- trait CachingDirectives extends AnyRef
- Annotations
- @ApiMayChange()
- trait CodingDirectives extends AnyRef
- trait CompleteOrRecoverWithMagnet extends AnyRef
- trait ContentTypeResolver extends javadsl.server.directives.ContentTypeResolver
- trait CookieDirectives extends AnyRef
- sealed trait Credentials extends AnyRef
Represents authentication credentials supplied with a request.
Represents authentication credentials supplied with a request. Credentials can either be Credentials.Missing or can be Credentials.Provided in which case an identifier is supplied and a function to check the known secret against the provided one in a secure fashion.
- trait DebuggingDirectives extends AnyRef
- final case class DirectoryListing(path: String, isRoot: Boolean, files: Seq[File]) extends javadsl.server.directives.DirectoryListing with Product with Serializable
- trait ExecutionDirectives extends AnyRef
- trait FileAndResourceDirectives extends AnyRef
- final case class FileInfo(fieldName: String, fileName: String, contentType: ContentType) extends javadsl.server.directives.FileInfo with Product with Serializable
Additional metadata about the file being uploaded/that was uploaded using the FileUploadDirectives
Additional metadata about the file being uploaded/that was uploaded using the FileUploadDirectives
- fieldName
Name of the form field the file was uploaded in
- fileName
User specified name of the uploaded file
- contentType
Content type of the file
- trait FileUploadDirectives extends AnyRef
- trait FormFieldDirectives extends FormFieldDirectivesInstances with ToNameReceptacleEnhancements
- trait FormFieldDirectivesInstances extends AnyRef
- trait FramedEntityStreamingDirectives extends MarshallingDirectives
Allows the MarshallingDirectives.entity directive to extract a pekko.stream.scaladsl.Source of elements.
Allows the MarshallingDirectives.entity directive to extract a pekko.stream.scaladsl.Source of elements.
See common.EntityStreamingSupport for useful default framing
Flow
instances and support traits such asSprayJsonSupport
(or your other favourite JSON library) to provide the needed Marshaller s. - trait FutureDirectives extends AnyRef
- trait HeaderDirectives extends AnyRef
- trait HeaderMagnet[T] extends AnyRef
- trait HostDirectives extends AnyRef
- case class LogEntry(obj: Any, level: LogLevel = DebugLevel) extends javadsl.server.directives.LogEntry with Product with Serializable
- case class LoggingMagnet[T](f: (LoggingAdapter) => T) extends Product with Serializable
- trait LowPriorityHeaderMagnetImplicits extends AnyRef
- trait MarshallingDirectives extends AnyRef
- trait MethodDirectives extends AnyRef
- trait MiscDirectives extends AnyRef
- trait OnSuccessMagnet extends AnyRef
- trait ParameterDirectives extends ParameterDirectivesInstances with ToNameReceptacleEnhancements
- trait ParameterDirectivesInstances extends AnyRef
- trait PathDirectives extends PathMatchers with ImplicitPathMatcherConstruction with ToNameReceptacleEnhancements
- trait RangeDirectives extends AnyRef
- trait RespondWithDirectives extends AnyRef
- trait RouteDirectives extends AnyRef
- trait SchemeDirectives extends AnyRef
- trait SecurityDirectives extends AnyRef
Provides directives for securing an inner route using the standard Http authentication headers `WWW-Authenticate` and Authorization.
- trait TimeoutDirectives extends AnyRef
- trait WebSocketDirectives extends AnyRef
Value Members
- object AttributeDirectives extends AttributeDirectives
- object AuthenticationDirective
- object AuthenticationResult
- object BasicDirectives extends BasicDirectives
- object CacheConditionDirectives extends CacheConditionDirectives
- object CachingDirectives extends CachingDirectives
- object CodingDirectives extends CodingDirectives
- object CompleteOrRecoverWithMagnet
- object ContentTypeResolver
- object CookieDirectives extends CookieDirectives
- object Credentials
- object DebuggingDirectives extends DebuggingDirectives
- object DirectoryListing extends Serializable
- object ExecutionDirectives extends ExecutionDirectives
- object FileAndResourceDirectives extends FileAndResourceDirectives
- object FileUploadDirectives extends FileUploadDirectives
- object FormFieldDirectives extends FormFieldDirectives
- object FutureDirectives extends FutureDirectives
- object HeaderDirectives extends HeaderDirectives
- object HeaderMagnet extends LowPriorityHeaderMagnetImplicits
- object HostDirectives extends HostDirectives
- object LogEntry extends Serializable
- object LoggingMagnet extends Serializable
- object MarshallingDirectives extends MarshallingDirectives
- object MethodDirectives extends MethodDirectives
- object MiscDirectives extends MiscDirectives
- object OnSuccessMagnet
- object ParameterDirectives extends ParameterDirectives
- object PathDirectives extends PathDirectives
- object RangeDirectives extends RangeDirectives
- object RespondWithDirectives extends RespondWithDirectives
- object RouteDirectives extends RouteDirectives
- object SchemeDirectives extends SchemeDirectives
- object SecurityDirectives extends SecurityDirectives
- object TimeoutDirectives extends TimeoutDirectives