java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.network.QHstsPolicy
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QHstsPolicy extends QtObject implements Cloneable
Specifies that a host supports HTTP Strict Transport Security policy (HSTS)
Java wrapper for Qt class QHstsPolicy
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QHstsPolicy.PolicyFlag
Java wrapper for Qt enum QHstsPolicy::PolicyFlagstatic class
QHstsPolicy.PolicyFlags
QFlags type for enumQHstsPolicy.PolicyFlag
-
Constructor Summary
Constructors Modifier Constructor Description QHstsPolicy()
QHstsPolicy(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
QHstsPolicy(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description QHstsPolicy
clone()
boolean
equals(Object other)
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.QDateTime
expiry()
int
hashCode()
String
host()
Overloaded function forhost(io.qt.core.QUrl.ComponentFormattingOptions)
withoptions = new io.qt.core.QUrl.ComponentFormattingOptions(133169152)
.String
host(QUrl.ComponentFormattingOption... options)
Overloaded function forhost(io.qt.core.QUrl.ComponentFormattingOptions)
.String
host(QUrl.ComponentFormattingOptions options)
boolean
includesSubDomains()
boolean
isExpired()
void
setExpiry(QDateTime expiry)
void
setHost(String host)
Overloaded function forsetHost(java.lang.String, io.qt.core.QUrl.ParsingMode)
withmode = io.qt.core.QUrl.ParsingMode.DecodedMode
.void
setHost(String host, QUrl.ParsingMode mode)
void
setIncludesSubDomains(boolean include)
void
swap(QHstsPolicy other)
-
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
-
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 native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
clone
-