- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Holds one network cookie
Java wrapper for Qt class QNetworkCookie
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQNetworkCookie::RawForm
static enum
Java wrapper for Qt enumQNetworkCookie::SameSite
-
Field Summary
Modifier and TypeFieldDescriptionstatic final QMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
ConstructorDescriptionOverloaded constructor forQNetworkCookie(io.qt.core.QByteArray, io.qt.core.QByteArray)
QNetworkCookie
(byte [] name) Overloaded constructor forQNetworkCookie(byte[], io.qt.core.QByteArray)
withvalue = new io.qt.core.QByteArray()
.QNetworkCookie
(byte [] name, byte [] value) Overloaded constructor forQNetworkCookie(io.qt.core.QByteArray, io.qt.core.QByteArray)
.QNetworkCookie
(byte [] name, QByteArray value) Overloaded 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, byte [] value) Overloaded constructor forQNetworkCookie(io.qt.core.QByteArray, io.qt.core.QByteArray)
.QNetworkCookie
(QByteArray name, QByteArray value) QNetworkCookie
(QNetworkCookie other) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QNetworkCookie other) clone()
Creates and returns a copy of this object.final String
domain()
final boolean
equals
(QNetworkCookie other) boolean
final QDateTime
int
hashCode()
Returns the objects's hash code computed byqHash(QNetworkCookie)
.final boolean
hasSameIdentifier
(QNetworkCookie other) final boolean
final boolean
isSecure()
final boolean
final QByteArray
name()
final void
final void
Overloaded function fornormalize(io.qt.core.QUrl)
.static QList<QNetworkCookie>
parseCookies
(byte [] cookieString) Overloaded function forparseCookies(io.qt.core.QByteArray)
.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
(byte [] cookieName) Overloaded function forsetName(io.qt.core.QByteArray)
.final void
setName
(QByteArray cookieName) final void
final void
setSameSitePolicy
(QNetworkCookie.SameSite sameSite) final void
setSecure
(boolean enable) final void
setValue
(byte [] value) Overloaded function forsetValue(io.qt.core.QByteArray)
.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()
Seeoperator<<(QDebug,
QNetworkCookie) 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
-
QNetworkCookie
-
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
public QNetworkCookie(byte [] name) Overloaded constructor for
QNetworkCookie(byte[], io.qt.core.QByteArray)
withvalue = new io.qt.core.QByteArray()
. -
QNetworkCookie
Overloaded constructor for
QNetworkCookie(io.qt.core.QByteArray, io.qt.core.QByteArray)
. -
QNetworkCookie
Overloaded constructor for
QNetworkCookie(io.qt.core.QByteArray, io.qt.core.QByteArray)
. -
QNetworkCookie
public QNetworkCookie(byte [] name, byte [] value) Overloaded constructor for
QNetworkCookie(io.qt.core.QByteArray, io.qt.core.QByteArray)
.
-
-
Method Details
-
domain
-
expirationDate
-
hasSameIdentifier
-
isHttpOnly
-
isSecure
-
isSessionCookie
-
name
-
normalize
-
assign
-
equals
-
path
-
sameSitePolicy
See
QNetworkCookie::
sameSitePolicy()const This function was introduced in Qt 6.1.
-
setDomain
-
setExpirationDate
-
setHttpOnly
-
setName
-
setPath
-
setSameSitePolicy
See
QNetworkCookie::
setSameSitePolicy(QNetworkCookie::SameSite) This function was introduced in Qt 6.1.
-
setSecure
-
setValue
-
swap
-
toRawForm
-
value
-
parseCookies
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QNetworkCookie)
. -
toString
See
operator<<(QDebug,
QNetworkCookie) -
clone
Creates and returns a copy of this object.
-
normalize
Overloaded function for
normalize(io.qt.core.QUrl)
. -
setName
Overloaded function for
setName(io.qt.core.QByteArray)
. -
setValue
Overloaded function for
setValue(io.qt.core.QByteArray)
. -
toRawForm
Overloaded function for
toRawForm(io.qt.network.QNetworkCookie.RawForm)
withform = io.qt.network.QNetworkCookie.RawForm.Full
. -
parseCookies
Overloaded function for
parseCookies(io.qt.core.QByteArray)
.
-