java.lang.Object
io.qt.QtObject
io.qt.network.QNetworkCacheMetaData
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Cache information
Java wrapper for Qt class QNetworkCacheMetaData
- Since:
- This class was introduced in Qt 4.5.
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QNetworkCacheMetaData other) final QHash<QNetworkRequest.Attribute,
Object> clone()
Creates and returns a copy of this object.final boolean
equals
(QNetworkCacheMetaData other) boolean
final QDateTime
int
hashCode()
Returns the objects's hash code computed byqHash(QNetworkCacheMetaData)
.final boolean
isValid()
final QDateTime
final QList<QPair<QByteArray,
QByteArray>> void
readFrom
(QDataStream arg__1) Seeoperator>>(QDataStream&,
QNetworkCacheMetaData&) final boolean
final void
setAttributes
(Map<? extends QNetworkRequest.Attribute, ? extends Object> attributes) final void
setExpirationDate
(QDateTime dateTime) final void
setLastModified
(QDateTime dateTime) final void
setRawHeaders
(Collection<? extends QPair<QByteArray, QByteArray>> headers) final void
setSaveToDisk
(boolean allow) final void
final void
Overloaded function forsetUrl(io.qt.core.QUrl)
.final void
swap
(QNetworkCacheMetaData other) final QUrl
url()
void
writeTo
(QDataStream arg__1) Seeoperator<<(QDataStream&,
QNetworkCacheMetaData) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QNetworkCacheMetaData
public QNetworkCacheMetaData() -
QNetworkCacheMetaData
- Parameters:
other
-
-
-
Method Details
-
attributes
- Returns:
- Since:
- This function was introduced in Qt 4.6.
-
expirationDate
- Returns:
-
isValid
- Returns:
-
lastModified
- Returns:
-
writeTo
See
operator<<(QDataStream&,
QNetworkCacheMetaData) - Parameters:
arg__1
-
-
assign
- Parameters:
other
-
-
equals
- Parameters:
other
-- Returns:
-
readFrom
See
operator>>(QDataStream&,
QNetworkCacheMetaData&) - Parameters:
arg__1
-
-
rawHeaders
- Returns:
-
saveToDisk
- Returns:
-
setAttributes
@QtUninvokable public final void setAttributes(Map<? extends QNetworkRequest.Attribute, ? extends Object> attributes) - Parameters:
attributes
-- Since:
- This function was introduced in Qt 4.6.
-
setExpirationDate
- Parameters:
dateTime
-
-
setLastModified
- Parameters:
dateTime
-
-
setRawHeaders
@QtUninvokable public final void setRawHeaders(Collection<? extends QPair<QByteArray, QByteArray>> headers) - Parameters:
headers
-
-
setSaveToDisk
- Parameters:
allow
-
-
setUrl
- Parameters:
url
-
-
swap
- Parameters:
other
-- Since:
- This function was introduced in Qt 5.0.
-
url
- Returns:
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QNetworkCacheMetaData)
. -
clone
Creates and returns a copy of this object.
See
QNetworkCacheMetaData::
QNetworkCacheMetaData(QNetworkCacheMetaData) -
setUrl
Overloaded function for
setUrl(io.qt.core.QUrl)
.
-