java.lang.Object
io.qt.QtObject
io.qt.network.QNetworkCacheMetaData
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Cache information
Java wrapper for Qt's class QNetworkCacheMetaData
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QNetworkCacheMetaData other) final QHash<QNetworkRequest.Attribute,
Object> clone()
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
isValid()
final QDateTime
final QList<QPair<QByteArray,
QByteArray>> void
readFrom
(QDataStream arg__1) 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
swap
(QNetworkCacheMetaData other) final QUrl
url()
void
writeTo
(QDataStream arg__1) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QNetworkCacheMetaData
public QNetworkCacheMetaData() -
QNetworkCacheMetaData
-
QNetworkCacheMetaData
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
attributes
-
expirationDate
-
isValid
-
lastModified
-
writeTo
-
assign
-
readFrom
-
rawHeaders
-
saveToDisk
-
setAttributes
@QtUninvokable public final void setAttributes(Map<? extends QNetworkRequest.Attribute, ? extends Object> attributes) -
setExpirationDate
-
setLastModified
-
setRawHeaders
@QtUninvokable public final void setRawHeaders(Collection<? extends QPair<QByteArray, QByteArray>> headers) -
setSaveToDisk
-
setUrl
-
swap
-
url
-
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
-
clone
-