java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.network.QNetworkCacheMetaData
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QNetworkCacheMetaData extends QtObject implements Cloneable
Cache information
Java wrapper for Qt class QNetworkCacheMetaData
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description QNetworkCacheMetaData()
QNetworkCacheMetaData(QNetworkCacheMetaData other)
protected
QNetworkCacheMetaData(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description QHash<QNetworkRequest.Attribute,Object>
attributes()
QNetworkCacheMetaData
clone()
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
isValid()
QDateTime
lastModified()
QList<QPair<QByteArray,QByteArray>>
rawHeaders()
void
readFrom(QDataStream arg__1)
boolean
saveToDisk()
void
setAttributes(Map<QNetworkRequest.Attribute,Object> attributes)
void
setExpirationDate(QDateTime dateTime)
void
setLastModified(QDateTime dateTime)
void
setRawHeaders(Collection<QPair<QByteArray,QByteArray>> headers)
void
setSaveToDisk(boolean allow)
void
setUrl(QUrl url)
void
swap(QNetworkCacheMetaData other)
QUrl
url()
void
writeTo(QDataStream arg__1)
-
Constructor Details
-
QNetworkCacheMetaData
public QNetworkCacheMetaData() -
QNetworkCacheMetaData
-
QNetworkCacheMetaData
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
attributes
-
expirationDate
-
isValid
-
lastModified
-
writeTo
-
readFrom
-
rawHeaders
-
saveToDisk
-
setAttributes
-
setExpirationDate
-
setLastModified
-
setRawHeaders
-
setSaveToDisk
-
setUrl
-
swap
-
url
-
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
-
clone
-