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's class QHstsPolicy
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QHstsPolicy::PolicyFlagstatic final class
QFlags type for enumQHstsPolicy.PolicyFlag
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQHstsPolicy
(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) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QHstsPolicy rhs) clone()
boolean
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.final QDateTime
expiry()
int
hashCode()
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
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
. -
QHstsPolicy
public QHstsPolicy(QDateTime expiry, QHstsPolicy.PolicyFlags flags, String host, QUrl.ParsingMode mode) -
QHstsPolicy
-
QHstsPolicy
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
expiry
-
host
Overloaded function for
host(io.qt.core.QUrl.ComponentFormattingOptions)
. -
host
Overloaded function for
host(io.qt.core.QUrl.ComponentFormattingOptions)
withoptions = new io.qt.core.QUrl.ComponentFormattingOptions(133169152)
. -
host
-
includesSubDomains
-
isExpired
-
assign
-
setExpiry
-
setHost
Overloaded function for
setHost(java.lang.String, io.qt.core.QUrl.ParsingMode)
withmode = io.qt.core.QUrl.ParsingMode.DecodedMode
. -
setHost
-
setIncludesSubDomains
-
swap
-
equals
Description copied from class:QtObject
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
clone
-