java.lang.Object
io.qt.QtObject
io.qt.network.QNetworkCookie
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Holds one network cookie
Java wrapper for Qt class QNetworkCookie
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ConstructorDescriptionOverloaded 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) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QNetworkCookie other) clone()
Creates and returns a copy of this object.final String
domain()
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
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()
Seeoperator<<(QDebug,
QNetworkCookie) final QByteArray
value()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
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()
-
-
Method Details
-
domain
-
expirationDate
-
hasSameIdentifier
-
isHttpOnly
-
isSecure
-
isSessionCookie
-
name
-
normalize
-
assign
-
path
-
setDomain
-
setExpirationDate
-
setHttpOnly
-
setName
-
setPath
-
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.
-
toRawForm
Overloaded function for
toRawForm(io.qt.network.QNetworkCookie.RawForm)
withform = io.qt.network.QNetworkCookie.RawForm.Full
.
-