package directives

Content Hierarchy
Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. trait AttributeDirectives extends AnyRef

  2. trait AuthenticationDirective[T] extends Directive1[T]
  3. trait BasicDirectives extends AnyRef

  4. trait CacheConditionDirectives extends AnyRef

  5. trait CachingDirectives extends AnyRef
    Annotations
    @ApiMayChange()
  6. trait CodingDirectives extends AnyRef

  7. trait CompleteOrRecoverWithMagnet extends AnyRef
  8. trait ContentTypeResolver extends javadsl.server.directives.ContentTypeResolver
  9. trait CookieDirectives extends AnyRef

  10. trait CorsDirectives extends AnyRef

    Directives for CORS, cross origin requests.

    Directives for CORS, cross origin requests.

    For an overview on how CORS works, see the MDN web docs page on CORS: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS CORS is part of the WHATWG Fetch "Living Standard" https://fetch.spec.whatwg.org/#http-cors-protocol

    This implementation is based on the akka-http-cors project by Lomig Mégard, licensed under the Apache License, Version 2.0.

  11. 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.

  12. trait DebuggingDirectives extends AnyRef

  13. final case class DirectoryListing(path: String, isRoot: Boolean, files: Seq[File]) extends javadsl.server.directives.DirectoryListing with Product with Serializable
  14. trait ExecutionDirectives extends AnyRef

  15. trait FileAndResourceDirectives extends AnyRef

  16. 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

  17. trait FileUploadDirectives extends AnyRef

  18. trait FormFieldDirectives extends FormFieldDirectivesInstances with ToNameReceptacleEnhancements

  19. trait FormFieldDirectivesInstances extends AnyRef
  20. trait FramedEntityStreamingDirectives extends MarshallingDirectives

    Allows the MarshallingDirectives.entity directive to extract a akka.stream.scaladsl.Source of elements.

    Allows the MarshallingDirectives.entity directive to extract a akka.stream.scaladsl.Source of elements.

    See common.EntityStreamingSupport for useful default framing Flow instances and support traits such as SprayJsonSupport (or your other favourite JSON library) to provide the needed Marshaller s.

  21. trait FutureDirectives extends AnyRef

  22. trait HeaderDirectives extends AnyRef

  23. trait HeaderMagnet[T] extends AnyRef
  24. trait HostDirectives extends AnyRef

  25. case class LogEntry(obj: Any, level: LogLevel = DebugLevel) extends javadsl.server.directives.LogEntry with Product with Serializable
  26. case class LoggingMagnet[T](f: (LoggingAdapter) => T) extends Product with Serializable
  27. trait LowPriorityHeaderMagnetImplicits extends AnyRef
  28. trait MarshallingDirectives extends AnyRef

  29. trait MethodDirectives extends AnyRef

  30. trait MiscDirectives extends AnyRef

  31. trait OnSuccessMagnet extends AnyRef
  32. trait ParameterDirectives extends ParameterDirectivesInstances with ToNameReceptacleEnhancements

  33. trait ParameterDirectivesInstances extends AnyRef
  34. trait PathDirectives extends PathMatchers with ImplicitPathMatcherConstruction with ToNameReceptacleEnhancements

  35. trait RangeDirectives extends AnyRef

  36. trait RespondWithDirectives extends AnyRef

  37. trait RouteDirectives extends AnyRef

  38. trait SchemeDirectives extends AnyRef

  39. trait SecurityDirectives extends AnyRef

    Provides directives for securing an inner route using the standard Http authentication headers `WWW-Authenticate` and Authorization.

    Provides directives for securing an inner route using the standard Http authentication headers `WWW-Authenticate` and Authorization. Most prominently, HTTP Basic authentication and OAuth 2.0 Authorization Framework as defined in RFC 2617 and RFC 6750 respectively.

    See: RFC 2617. See: RFC 6750.

  40. trait TimeoutDirectives extends AnyRef

  41. trait WebSocketDirectives extends AnyRef

Value Members

  1. object AttributeDirectives extends AttributeDirectives
  2. object AuthenticationDirective
  3. object AuthenticationResult
  4. object BasicDirectives extends BasicDirectives
  5. object CacheConditionDirectives extends CacheConditionDirectives
  6. object CachingDirectives extends CachingDirectives
  7. object CodingDirectives extends CodingDirectives
  8. object CompleteOrRecoverWithMagnet
  9. object ContentTypeResolver
  10. object CookieDirectives extends CookieDirectives
  11. object CorsDirectives extends CorsDirectives
  12. object Credentials
  13. object DebuggingDirectives extends DebuggingDirectives
  14. object DirectoryListing extends Serializable
  15. object ExecutionDirectives extends ExecutionDirectives
  16. object FileAndResourceDirectives extends FileAndResourceDirectives
  17. object FileUploadDirectives extends FileUploadDirectives
  18. object FormFieldDirectives extends FormFieldDirectives
  19. object FutureDirectives extends FutureDirectives
  20. object HeaderDirectives extends HeaderDirectives
  21. object HeaderMagnet extends LowPriorityHeaderMagnetImplicits
  22. object HostDirectives extends HostDirectives
  23. object LogEntry extends Serializable
  24. object LoggingMagnet extends Serializable
  25. object MarshallingDirectives extends MarshallingDirectives
  26. object MethodDirectives extends MethodDirectives
  27. object MiscDirectives extends MiscDirectives
  28. object OnSuccessMagnet
  29. object ParameterDirectives extends ParameterDirectives
  30. object PathDirectives extends PathDirectives
  31. object RangeDirectives extends RangeDirectives
  32. object RespondWithDirectives extends RespondWithDirectives
  33. object RouteDirectives extends RouteDirectives
  34. object SchemeDirectives extends SchemeDirectives
  35. object SecurityDirectives extends SecurityDirectives
  36. object TimeoutDirectives extends TimeoutDirectives

Ungrouped