java.lang.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
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
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 TypeMethodDescriptionfinal void
assign
(QNetworkCookie other) clone()
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 void
final void
setExpirationDate
(QDateTime date) final void
setHttpOnly
(boolean enable) final void
setName
(QByteArray cookieName) final void
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
-
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
-
assign
-
path
-
setDomain
-
setExpirationDate
-
setHttpOnly
-
setName
-
setPath
-
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
-