Class StrictTransportSecurity

java.lang.Object
akka.http.javadsl.model.HttpHeader
akka.http.scaladsl.model.HttpHeader
akka.http.javadsl.model.headers.StrictTransportSecurity
All Implemented Interfaces:
Renderable, ToStringRenderable
Direct Known Subclasses:
Strict$minusTransport$minusSecurity

public abstract class StrictTransportSecurity extends HttpHeader
Model for the `Strict-Transport-Security` header. Specification: https://tools.ietf.org/html/rfc6797
  • Constructor Details

    • StrictTransportSecurity

      public StrictTransportSecurity()
  • Method Details

    • maxAge

      public abstract long maxAge()
    • includeSubDomains

      public abstract boolean includeSubDomains()
    • create

      public static StrictTransportSecurity create(long maxAge)
    • create

      public static StrictTransportSecurity create(long maxAge, boolean includeSubDomains)