java.lang.Object
io.qt.internal.NativeUtility.Object
io.qt.QtObject
io.qt.network.QNetworkCookie
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Holds one network cookie
Java wrapper for Qt's class QNetworkCookie
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QNetworkCookie::RawFormstatic enum
Java wrapper for Qt enum QNetworkCookie::SameSiteNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Field Summary
Modifier and TypeFieldDescriptionstatic final QMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
ModifierConstructorDescriptionOverloaded constructor forQNetworkCookie(io.qt.core.QByteArray, io.qt.core.QByteArray)
QNetworkCookie
(QByteArray name) Overloaded constructor forQNetworkCookie(io.qt.core.QByteArray, io.qt.core.QByteArray)
withvalue = new io.qt.core.QByteArray()
.QNetworkCookie
(QByteArray name, QByteArray value) QNetworkCookie
(QNetworkCookie other) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionclone()
final String
domain()
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
int
hashCode()
final boolean
hasSameIdentifier
(QNetworkCookie other) final boolean
final boolean
isSecure()
final boolean
final QByteArray
name()
final void
static QList<QNetworkCookie>
parseCookies
(QByteArray cookieString) final String
path()
final QNetworkCookie.SameSite
final void
final void
setExpirationDate
(QDateTime date) final void
setHttpOnly
(boolean enable) final void
setName
(QByteArray cookieName) final void
final void
setSameSitePolicy
(QNetworkCookie.SameSite sameSite) final void
setSecure
(boolean enable) final void
setValue
(QByteArray value) final void
swap
(QNetworkCookie other) final QByteArray
Overloaded function fortoRawForm(io.qt.network.QNetworkCookie.RawForm)
withform = io.qt.network.QNetworkCookie.RawForm.Full
.final QByteArray
toString()
final QByteArray
value()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Field Details
-
staticMetaObject
This variable stores the meta-object for the class.
-
-
Constructor Details
-
QNetworkCookie
Overloaded constructor for
QNetworkCookie(io.qt.core.QByteArray, io.qt.core.QByteArray)
withvalue = new io.qt.core.QByteArray()
. -
QNetworkCookie
public QNetworkCookie()Overloaded constructor for
QNetworkCookie(io.qt.core.QByteArray, io.qt.core.QByteArray)
with:
name = new io.qt.core.QByteArray()
value = new io.qt.core.QByteArray()
-
QNetworkCookie
-
QNetworkCookie
-
QNetworkCookie
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
domain
-
expirationDate
-
hasSameIdentifier
-
isHttpOnly
-
isSecure
-
isSessionCookie
-
name
-
normalize
-
path
-
sameSitePolicy
-
setDomain
-
setExpirationDate
-
setHttpOnly
-
setName
-
setPath
-
setSameSitePolicy
-
setSecure
-
setValue
-
swap
-
toRawForm
Overloaded function for
toRawForm(io.qt.network.QNetworkCookie.RawForm)
withform = io.qt.network.QNetworkCookie.RawForm.Full
. -
toRawForm
-
value
-
parseCookies
-
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
-
toString
-
clone
-