Class StrictTransportSecurity
java.lang.Object
org.apache.pekko.http.javadsl.model.HttpHeader
org.apache.pekko.http.scaladsl.model.HttpHeader
org.apache.pekko.http.javadsl.model.headers.StrictTransportSecurity
- All Implemented Interfaces:
Renderable,ToStringRenderable
- Direct Known Subclasses:
Strict$minusTransport$minusSecurity
Model for the `Strict-Transport-Security` header. Specification:
https://tools.ietf.org/html/rfc6797
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.pekko.http.scaladsl.model.HttpHeader
HttpHeader.ParsingResult, HttpHeader.ParsingResult$ -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StrictTransportSecuritycreate(long maxAge) static StrictTransportSecuritycreate(long maxAge, boolean includeSubDomains) abstract booleanabstract longmaxAge()Methods inherited from class org.apache.pekko.http.scaladsl.model.HttpHeader
fastFind, is, isNot, lowercaseName, name, parse, unapply, unsafeToString, valueMethods inherited from class org.apache.pekko.http.javadsl.model.HttpHeader
parse, renderInRequests, renderInResponsesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.pekko.http.impl.util.Renderable
renderMethods inherited from interface org.apache.pekko.http.impl.util.ToStringRenderable
toString
-
Constructor Details
-
StrictTransportSecurity
public StrictTransportSecurity()
-
-
Method Details
-
maxAge
public abstract long maxAge() -
includeSubDomains
public abstract boolean includeSubDomains() -
create
-
create
-