package https
Type Members
-
trait
RedirectHttpsComponents extends AnyRef
The Redirect to HTTPS filter components for compile time dependency injection.
- case class RedirectHttpsConfiguration(strictTransportSecurity: Option[String] = ..., redirectStatusCode: Int = PERMANENT_REDIRECT, sslPort: Option[Int] = None, redirectEnabled: Boolean = true) extends Product with Serializable
-
class
RedirectHttpsConfigurationProvider extends Provider[RedirectHttpsConfiguration]
- Annotations
- @Singleton()
-
class
RedirectHttpsFilter extends EssentialFilter
A filter that redirects HTTP requests to https requests.
A filter that redirects HTTP requests to https requests.
To enable this filter, please add it to to your application.conf file using "play.filters.enabled+=play.filters.https.RedirectHttpsFilter"
For documentation on configuring this filter, please see the Play documentation at https://www.playframework.com/documentation/latest/RedirectHttpsFilter
- Annotations
- @Singleton()
- class RedirectHttpsModule extends SimpleModule