java.lang.Object
io.qt.QtObject
io.qt.network.QHstsPolicy
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Specifies that a host supports HTTP Strict Transport Security policy (HSTS)
Java wrapper for Qt class QHstsPolicy
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQHstsPolicy::PolicyFlag
static final class
QFlags
type for enumQHstsPolicy.PolicyFlag
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ConstructorDescriptionQHstsPolicy
(QDateTime expiry, QHstsPolicy.PolicyFlags flags, String host) Overloaded constructor forQHstsPolicy(io.qt.core.QDateTime, io.qt.network.QHstsPolicy.PolicyFlags, java.lang.String, io.qt.core.QUrl.ParsingMode)
withmode = io.qt.core.QUrl.ParsingMode.DecodedMode
.QHstsPolicy
(QDateTime expiry, QHstsPolicy.PolicyFlags flags, String host, QUrl.ParsingMode mode) QHstsPolicy
(QHstsPolicy rhs) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QHstsPolicy rhs) clone()
Creates and returns a copy of this object.boolean
final QDateTime
expiry()
int
hashCode()
Returns the objects's hash code computed byqHash(QHstsPolicy)
.final String
host()
Overloaded function forhost(io.qt.core.QUrl.ComponentFormattingOptions)
withoptions = new io.qt.core.QUrl.ComponentFormattingOptions(133169152)
.final String
host
(QUrl.ComponentFormattingOption ... options) Overloaded function forhost(io.qt.core.QUrl.ComponentFormattingOptions)
.final String
host
(QUrl.ComponentFormattingOptions options) final boolean
final boolean
final void
final void
Overloaded function forsetHost(java.lang.String, io.qt.core.QUrl.ParsingMode)
withmode = io.qt.core.QUrl.ParsingMode.DecodedMode
.final void
setHost
(String host, QUrl.ParsingMode mode) final void
setIncludesSubDomains
(boolean include) final void
swap
(QHstsPolicy other) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QHstsPolicy
public QHstsPolicy() -
QHstsPolicy
public QHstsPolicy(QDateTime expiry, QHstsPolicy.PolicyFlags flags, String host, QUrl.ParsingMode mode) -
QHstsPolicy
-
QHstsPolicy
Overloaded constructor for
QHstsPolicy(io.qt.core.QDateTime, io.qt.network.QHstsPolicy.PolicyFlags, java.lang.String, io.qt.core.QUrl.ParsingMode)
withmode = io.qt.core.QUrl.ParsingMode.DecodedMode
.
-
-
Method Details
-
expiry
-
host
-
includesSubDomains
-
isExpired
-
assign
-
setExpiry
-
setHost
-
setIncludesSubDomains
-
swap
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QHstsPolicy)
. -
clone
Creates and returns a copy of this object.
-
host
Overloaded function for
host(io.qt.core.QUrl.ComponentFormattingOptions)
withoptions = new io.qt.core.QUrl.ComponentFormattingOptions(133169152)
. -
host
Overloaded function for
host(io.qt.core.QUrl.ComponentFormattingOptions)
. -
setHost
Overloaded function for
setHost(java.lang.String, io.qt.core.QUrl.ParsingMode)
withmode = io.qt.core.QUrl.ParsingMode.DecodedMode
.
-