java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.network.QNetworkCookie
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QNetworkCookie extends QtObject implements Cloneable
Holds one network cookie
Java wrapper for Qt class QNetworkCookie
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QNetworkCookie.RawForm
Java wrapper for Qt enum QNetworkCookie::RawForm -
Constructor Summary
Constructors Modifier Constructor Description QNetworkCookie()
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, QByteArray value)
QNetworkCookie(QNetworkCookie other)
protected
QNetworkCookie(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description QNetworkCookie
clone()
String
domain()
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
expirationDate()
int
hashCode()
boolean
hasSameIdentifier(QNetworkCookie other)
boolean
isHttpOnly()
boolean
isSecure()
boolean
isSessionCookie()
QByteArray
name()
void
normalize(QUrl url)
static QList<QNetworkCookie>
parseCookies(QByteArray cookieString)
String
path()
void
setDomain(String domain)
void
setExpirationDate(QDateTime date)
void
setHttpOnly(boolean enable)
void
setName(QByteArray cookieName)
void
setPath(String path)
void
setSecure(boolean enable)
void
setValue(QByteArray value)
void
swap(QNetworkCookie other)
QByteArray
toRawForm()
Overloaded function fortoRawForm(io.qt.network.QNetworkCookie.RawForm)
withform = io.qt.network.QNetworkCookie.RawForm.Full
.QByteArray
toRawForm(QNetworkCookie.RawForm form)
String
toString()
QByteArray
value()
-
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
-
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 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
-
toString
-
clone
-