Qt 4.8
|
#include <qnetworkreplyimpl_p.h>
Public Types | |
enum | InternalNotifications { NotifyDownstreamReadyWrite, NotifyCloseDownstreamChannel, NotifyCopyFinished } |
typedef QQueue< InternalNotifications > | NotificationQueue |
enum | State { Idle, Buffering, Working, Finished, Aborted, WaitingForSession, Reconnecting } |
Public Types inherited from QIODevicePrivate | |
enum | AccessMode { Unset, Sequential, RandomAccess } |
Public Types inherited from QObjectPrivate | |
typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
Public Types inherited from QNetworkHeadersPrivate | |
typedef QHash< QNetworkRequest::Attribute, QVariant > | AttributesMap |
typedef QHash< QNetworkRequest::KnownHeaders, QVariant > | CookedHeadersMap |
typedef QPair< QByteArray, QByteArray > | RawHeaderPair |
typedef QList< RawHeaderPair > | RawHeadersList |
Additional Inherited Members | |
Static Public Functions inherited from QNetworkReplyPrivate | |
static void | setManager (QNetworkReply *reply, QNetworkAccessManager *manager) |
Static Public Functions inherited from QObjectPrivate | |
static void | clearGuards (QObject *) |
static QObjectPrivate * | get (QObject *o) |
static void | resetCurrentSender (QObject *receiver, Sender *currentSender, Sender *previousSender) |
static Sender * | setCurrentSender (QObject *receiver, Sender *sender) |
static void | signalSignature (const QMetaMethod &signal, QVarLengthArray< char > *result) |
Static Public Functions inherited from QNetworkHeadersPrivate | |
static QDateTime | fromHttpDate (const QByteArray &value) |
static QByteArray | toHttpDate (const QDateTime &dt) |
Definition at line 110 of file qnetworkreplyimpl_p.h.
Definition at line 129 of file qnetworkreplyimpl_p.h.
Enumerator | |
---|---|
NotifyDownstreamReadyWrite | |
NotifyCloseDownstreamChannel | |
NotifyCopyFinished |
Definition at line 113 of file qnetworkreplyimpl_p.h.
Enumerator | |
---|---|
Idle | |
Buffering | |
Working | |
Finished | |
Aborted | |
WaitingForSession | |
Reconnecting |
Definition at line 119 of file qnetworkreplyimpl_p.h.
|
inline |
Definition at line 59 of file qnetworkreplyimpl.cpp.
void QNetworkReplyImplPrivate::_q_bufferOutgoingData | ( | ) |
Definition at line 220 of file qnetworkreplyimpl.cpp.
Referenced by _q_bufferOutgoingDataFinished().
void QNetworkReplyImplPrivate::_q_bufferOutgoingDataFinished | ( | ) |
Definition at line 203 of file qnetworkreplyimpl.cpp.
Referenced by _q_bufferOutgoingData().
void QNetworkReplyImplPrivate::_q_cacheDestroyed | ( | ) |
Definition at line 501 of file qnetworkreplyimpl.cpp.
Referenced by completeCacheSave(), initCacheSaveDevice(), and setCachingEnabled().
void QNetworkReplyImplPrivate::_q_copyReadChannelFinished | ( | ) |
Definition at line 198 of file qnetworkreplyimpl.cpp.
Referenced by appendDownstreamData().
void QNetworkReplyImplPrivate::_q_copyReadyRead | ( | ) |
Definition at line 140 of file qnetworkreplyimpl.cpp.
Referenced by _q_copyReadChannelFinished(), appendDownstreamData(), and handleNotifications().
void QNetworkReplyImplPrivate::_q_networkSessionConnected | ( | ) |
Definition at line 264 of file qnetworkreplyimpl.cpp.
void QNetworkReplyImplPrivate::_q_networkSessionFailed | ( | ) |
Definition at line 299 of file qnetworkreplyimpl.cpp.
Referenced by _q_startOperation().
void QNetworkReplyImplPrivate::_q_sourceReadChannelFinished | ( | ) |
void QNetworkReplyImplPrivate::_q_sourceReadyRead | ( | ) |
void QNetworkReplyImplPrivate::_q_startOperation | ( | ) |
Definition at line 74 of file qnetworkreplyimpl.cpp.
Referenced by setup().
void QNetworkReplyImplPrivate::appendDownstreamData | ( | QByteDataBuffer & | data | ) |
Definition at line 584 of file qnetworkreplyimpl.cpp.
Referenced by QNetworkAccessBackend::writeDownstreamData().
void QNetworkReplyImplPrivate::appendDownstreamData | ( | QIODevice * | data | ) |
Definition at line 635 of file qnetworkreplyimpl.cpp.
void QNetworkReplyImplPrivate::appendDownstreamData | ( | const QByteArray & | data | ) |
Definition at line 656 of file qnetworkreplyimpl.cpp.
void QNetworkReplyImplPrivate::appendDownstreamDataDownloadBuffer | ( | qint64 | bytesReceived, |
qint64 | bytesTotal | ||
) |
Definition at line 704 of file qnetworkreplyimpl.cpp.
Referenced by QNetworkAccessBackend::writeDownstreamDataDownloadBuffer().
void QNetworkReplyImplPrivate::appendDownstreamDataSignalEmissions | ( | ) |
Definition at line 612 of file qnetworkreplyimpl.cpp.
Referenced by appendDownstreamData().
void QNetworkReplyImplPrivate::backendNotify | ( | InternalNotifications | notification | ) |
Definition at line 387 of file qnetworkreplyimpl.cpp.
Referenced by _q_copyReadyRead(), and appendDownstreamDataSignalEmissions().
void QNetworkReplyImplPrivate::completeCacheSave | ( | ) |
Definition at line 508 of file qnetworkreplyimpl.cpp.
Referenced by finished().
void QNetworkReplyImplPrivate::consume | ( | qint64 | count | ) |
void QNetworkReplyImplPrivate::createCache | ( | ) |
Definition at line 455 of file qnetworkreplyimpl.cpp.
Referenced by setCachingEnabled().
Definition at line 523 of file qnetworkreplyimpl.cpp.
void QNetworkReplyImplPrivate::error | ( | QNetworkReply::NetworkError | code, |
const QString & | errorString | ||
) |
Definition at line 799 of file qnetworkreplyimpl.cpp.
Referenced by _q_networkSessionFailed(), _q_startOperation(), QNetworkAccessBackend::error(), and finished().
void QNetworkReplyImplPrivate::finished | ( | ) |
Definition at line 735 of file qnetworkreplyimpl.cpp.
Referenced by _q_networkSessionFailed(), _q_startOperation(), and QNetworkAccessBackend::finished().
char * QNetworkReplyImplPrivate::getDownloadBuffer | ( | qint64 | size | ) |
Definition at line 671 of file qnetworkreplyimpl.cpp.
Referenced by QNetworkAccessBackend::getDownloadBuffer().
void QNetworkReplyImplPrivate::handleNotifications | ( | ) |
Definition at line 397 of file qnetworkreplyimpl.cpp.
Referenced by _q_startOperation().
void QNetworkReplyImplPrivate::initCacheSaveDevice | ( | ) |
Definition at line 542 of file qnetworkreplyimpl.cpp.
Referenced by appendDownstreamData(), and appendDownstreamDataDownloadBuffer().
bool QNetworkReplyImplPrivate::isCachingEnabled | ( | ) | const |
Definition at line 467 of file qnetworkreplyimpl.cpp.
Referenced by QNetworkAccessBackend::isCachingEnabled().
void QNetworkReplyImplPrivate::metaDataChanged | ( | ) |
Definition at line 817 of file qnetworkreplyimpl.cpp.
Referenced by QNetworkAccessBackend::metaDataChanged().
bool QNetworkReplyImplPrivate::migrateBackend | ( | ) |
Definition at line 1043 of file qnetworkreplyimpl.cpp.
Referenced by _q_networkSessionConnected(), and finished().
QAbstractNetworkCache * QNetworkReplyImplPrivate::networkCache | ( | ) | const |
Definition at line 448 of file qnetworkreplyimpl.cpp.
Referenced by completeCacheSave(), createCache(), initCacheSaveDevice(), isCachingEnabled(), and setCachingEnabled().
qint64 QNetworkReplyImplPrivate::nextDownstreamBlockSize | ( | ) | const |
Definition at line 533 of file qnetworkreplyimpl.cpp.
Referenced by _q_copyReadyRead(), appendDownstreamDataSignalEmissions(), and QNetworkAccessBackend::nextDownstreamBlockSize().
void QNetworkReplyImplPrivate::pauseNotificationHandling | ( | ) |
Definition at line 434 of file qnetworkreplyimpl.cpp.
Referenced by _q_copyReadyRead(), appendDownstreamDataSignalEmissions(), emitUploadProgress(), and finished().
void QNetworkReplyImplPrivate::redirectionRequested | ( | const QUrl & | target | ) |
Definition at line 835 of file qnetworkreplyimpl.cpp.
Referenced by QNetworkAccessBackend::redirectionRequested().
void QNetworkReplyImplPrivate::resumeNotificationHandling | ( | ) |
Definition at line 440 of file qnetworkreplyimpl.cpp.
Referenced by _q_copyReadyRead(), appendDownstreamDataSignalEmissions(), emitUploadProgress(), and finished().
void QNetworkReplyImplPrivate::setCachingEnabled | ( | bool | enable | ) |
Definition at line 472 of file qnetworkreplyimpl.cpp.
Referenced by QNetworkAccessBackend::setCachingEnabled().
void QNetworkReplyImplPrivate::setDownloadBuffer | ( | QSharedPointer< char > | sp, |
qint64 | size | ||
) |
Definition at line 692 of file qnetworkreplyimpl.cpp.
Referenced by QNetworkAccessHttpBackend::replyDownloadMetaData().
void QNetworkReplyImplPrivate::setup | ( | QNetworkAccessManager::Operation | op, |
const QNetworkRequest & | request, | ||
QIODevice * | outgoingData | ||
) |
Definition at line 311 of file qnetworkreplyimpl.cpp.
Referenced by QNetworkAccessManager::createRequest().
Definition at line 840 of file qnetworkreplyimpl.cpp.
Referenced by QNetworkAccessBackend::sslErrors().
QNetworkAccessBackend* QNetworkReplyImplPrivate::backend |
Definition at line 179 of file qnetworkreplyimpl_p.h.
Referenced by _q_startOperation(), QNetworkAccessManager::createRequest(), handleNotifications(), initCacheSaveDevice(), networkCache(), setCachingEnabled(), and setup().
qint64 QNetworkReplyImplPrivate::bytesDownloaded |
Definition at line 201 of file qnetworkreplyimpl_p.h.
Referenced by _q_copyReadyRead(), appendDownstreamData(), appendDownstreamDataDownloadBuffer(), appendDownstreamDataSignalEmissions(), finished(), and setCachingEnabled().
qint64 QNetworkReplyImplPrivate::bytesUploaded |
Definition at line 203 of file qnetworkreplyimpl_p.h.
Referenced by emitUploadProgress(), and finished().
bool QNetworkReplyImplPrivate::cacheEnabled |
Definition at line 187 of file qnetworkreplyimpl_p.h.
Referenced by _q_cacheDestroyed(), appendDownstreamData(), appendDownstreamDataDownloadBuffer(), completeCacheSave(), createCache(), initCacheSaveDevice(), isCachingEnabled(), and setCachingEnabled().
QIODevice* QNetworkReplyImplPrivate::cacheSaveDevice |
Definition at line 188 of file qnetworkreplyimpl_p.h.
Referenced by _q_cacheDestroyed(), appendDownstreamData(), appendDownstreamDataDownloadBuffer(), completeCacheSave(), initCacheSaveDevice(), and setCachingEnabled().
QIODevice* QNetworkReplyImplPrivate::copyDevice |
Definition at line 182 of file qnetworkreplyimpl_p.h.
Referenced by _q_copyReadyRead(), appendDownstreamData(), and handleNotifications().
char* QNetworkReplyImplPrivate::downloadBuffer |
Definition at line 217 of file qnetworkreplyimpl_p.h.
Referenced by appendDownstreamDataDownloadBuffer(), getDownloadBuffer(), and setDownloadBuffer().
qint64 QNetworkReplyImplPrivate::downloadBufferCurrentSize |
Definition at line 214 of file qnetworkreplyimpl_p.h.
Referenced by appendDownstreamDataDownloadBuffer(), getDownloadBuffer(), and setDownloadBuffer().
qint64 QNetworkReplyImplPrivate::downloadBufferMaximumSize |
Definition at line 215 of file qnetworkreplyimpl_p.h.
Referenced by getDownloadBuffer(), and setDownloadBuffer().
QSharedPointer<char> QNetworkReplyImplPrivate::downloadBufferPointer |
Definition at line 216 of file qnetworkreplyimpl_p.h.
Referenced by getDownloadBuffer(), and setDownloadBuffer().
qint64 QNetworkReplyImplPrivate::downloadBufferReadPosition |
Definition at line 213 of file qnetworkreplyimpl_p.h.
QString QNetworkReplyImplPrivate::httpReasonPhrase |
Definition at line 206 of file qnetworkreplyimpl_p.h.
int QNetworkReplyImplPrivate::httpStatusCode |
Definition at line 207 of file qnetworkreplyimpl_p.h.
qint64 QNetworkReplyImplPrivate::lastBytesDownloaded |
Definition at line 202 of file qnetworkreplyimpl_p.h.
Referenced by _q_copyReadyRead(), appendDownstreamData(), and appendDownstreamDataDownloadBuffer().
QNetworkProxy QNetworkReplyImplPrivate::lastProxyAuthentication |
Definition at line 195 of file qnetworkreplyimpl_p.h.
Referenced by QNetworkAccessManagerPrivate::proxyAuthenticationRequired().
bool QNetworkReplyImplPrivate::notificationHandlingPaused |
Definition at line 191 of file qnetworkreplyimpl_p.h.
Referenced by handleNotifications(), pauseNotificationHandling(), and resumeNotificationHandling().
QIODevice* QNetworkReplyImplPrivate::outgoingData |
Definition at line 180 of file qnetworkreplyimpl_p.h.
Referenced by _q_bufferOutgoingData(), _q_bufferOutgoingDataFinished(), finished(), and setup().
QSharedPointer<QRingBuffer> QNetworkReplyImplPrivate::outgoingDataBuffer |
Definition at line 181 of file qnetworkreplyimpl_p.h.
Referenced by _q_bufferOutgoingData(), finished(), and setup().
NotificationQueue QNetworkReplyImplPrivate::pendingNotifications |
Definition at line 190 of file qnetworkreplyimpl_p.h.
Referenced by _q_startOperation(), backendNotify(), finished(), handleNotifications(), and resumeNotificationHandling().
qint64 QNetworkReplyImplPrivate::preMigrationDownloaded |
Definition at line 204 of file qnetworkreplyimpl_p.h.
Referenced by _q_copyReadyRead(), appendDownstreamDataSignalEmissions(), and finished().
QList<QNetworkProxy> QNetworkReplyImplPrivate::proxyList |
Definition at line 196 of file qnetworkreplyimpl_p.h.
Referenced by _q_networkSessionConnected(), QNetworkAccessBackend::proxyList(), and QNetworkAccessBackend::start().
QByteDataBuffer QNetworkReplyImplPrivate::readBuffer |
Definition at line 200 of file qnetworkreplyimpl_p.h.
Referenced by _q_copyReadyRead(), appendDownstreamData(), and nextDownstreamBlockSize().
State QNetworkReplyImplPrivate::state |
Definition at line 209 of file qnetworkreplyimpl_p.h.
Referenced by _q_bufferOutgoingDataFinished(), _q_copyReadyRead(), _q_networkSessionConnected(), _q_networkSessionFailed(), _q_startOperation(), finished(), handleNotifications(), and setup().
QUrl QNetworkReplyImplPrivate::urlForLastAuthentication |
Definition at line 193 of file qnetworkreplyimpl_p.h.
Referenced by QNetworkAccessManagerPrivate::authenticationRequired().