Package akka.http.javadsl.model.headers
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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class akka.http.scaladsl.model.HttpHeader
HttpHeader.ParsingResult, HttpHeader.ParsingResult$
-
-
Constructor Summary
Constructors Constructor Description StrictTransportSecurity()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static StrictTransportSecurity
create(long maxAge)
static StrictTransportSecurity
create(long maxAge, boolean includeSubDomains)
abstract boolean
includeSubDomains()
abstract long
maxAge()
-
Methods inherited from class akka.http.scaladsl.model.HttpHeader
fastFind, is, isNot, lowercaseName, name, parse, unapply, unsafeToString, value
-
Methods inherited from class akka.http.javadsl.model.HttpHeader
parse, renderInRequests, renderInResponses
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface akka.http.impl.util.Renderable
render
-
Methods inherited from interface akka.http.impl.util.ToStringRenderable
toString
-
-
-
-
Method Detail
-
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)
-
-