The CacheData class stores all information associated with an active or completed URL request.
CacheData | ( const Url& _url ); |
bool | complete; | |
Connection* | conn; | |
QByteArray | data; | |
QString | mediaSubtype; | |
QString | mediaType; | |
int | refcount; | |
int | totalSize; | |
Url | url; |
Create a new CacheData for the given URL.
TRUE if the data has been received in its entirety.
The open connection that is retrieving the data.
The actual data.
The data's Internet media subtype.
The data's Internet media type.
The number of Requests that are connected to this CacheData. This is not used once the data is complete. If this count goes to zero while retrieving data, the connection is aborted and the CacheData is deleted.
The total size, as reported when the connection was opened.
The URL that the data was retrieved from.