Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QNetworkReplyHttpImplPrivate Class Reference

#include <qnetworkreplyhttpimpl_p.h>

+ Inheritance diagram for QNetworkReplyHttpImplPrivate:
+ Collaboration diagram for QNetworkReplyHttpImplPrivate:

Public Member Functions

 QNetworkReplyHttpImplPrivate ()
 
 ~QNetworkReplyHttpImplPrivate ()
 
void _q_startOperation ()
 
void _q_cacheLoadReadyRead ()
 
void _q_bufferOutgoingData ()
 
void _q_bufferOutgoingDataFinished ()
 
void _q_cacheSaveDeviceAboutToClose ()
 
void _q_transferTimedOut ()
 
void setupTransferTimeout ()
 
void _q_finished ()
 
void finished ()
 
void error (QNetworkReply::NetworkError code, const QString &errorString)
 
void _q_error (QNetworkReply::NetworkError code, const QString &errorString)
 
void _q_metaDataChanged ()
 
void checkForRedirect (const int statusCode)
 
QNonContiguousByteDevicecreateUploadByteDevice ()
 
void emitReplyUploadProgress (qint64 bytesSent, qint64 bytesTotal)
 
void onRedirected (const QUrl &redirectUrl, int httpStatus, int maxRedirectsRemainig)
 
void followRedirect ()
 
void createCache ()
 
void completeCacheSave ()
 
void setCachingEnabled (bool enable)
 
bool isCachingEnabled () const
 
bool isCachingAllowed () const
 
void initCacheSaveDevice ()
 
bool canResume () const
 
void setResumeOffset (quint64 offset)
 
bool loadFromCacheIfAllowed (QHttpNetworkRequest &httpRequest)
 
void invalidateCache ()
 
bool sendCacheContents (const QNetworkCacheMetaData &metaData)
 
QNetworkCacheMetaData fetchCacheMetaData (const QNetworkCacheMetaData &metaData) const
 
void postRequest (const QNetworkRequest &newHttpRequest)
 
QNetworkAccessManager::Operation getRedirectOperation (QNetworkAccessManager::Operation currentOp, int httpStatus)
 
QNetworkRequest createRedirectRequest (const QNetworkRequest &originalRequests, const QUrl &url, int maxRedirectsRemainig)
 
bool isHttpRedirectResponse () const
 
void replyDownloadData (QByteArray)
 
void replyFinished ()
 
void replyDownloadMetaData (const QList< QPair< QByteArray, QByteArray > > &, int, const QString &, bool, QSharedPointer< char >, qint64, qint64, bool, bool)
 
void replyDownloadProgressSlot (qint64, qint64)
 
void httpAuthenticationRequired (const QHttpNetworkRequest &request, QAuthenticator *auth)
 
void httpError (QNetworkReply::NetworkError error, const QString &errorString)
 
void replyEncrypted ()
 
void replySslErrors (const QList< QSslError > &, bool *, QList< QSslError > *)
 
void replySslConfigurationChanged (const QSslConfiguration &newSslConfiguration)
 
void replyPreSharedKeyAuthenticationRequiredSlot (QSslPreSharedKeyAuthenticator *)
 
void proxyAuthenticationRequired (const QNetworkProxy &proxy, QAuthenticator *auth)
 
void resetUploadDataSlot (bool *r)
 
void wantUploadDataSlot (qint64)
 
void sentUploadDataSlot (qint64, qint64)
 
void uploadByteDeviceReadyReadSlot ()
 
- Public Member Functions inherited from QNetworkReplyPrivate
 QNetworkReplyPrivate ()
 
- Public Member Functions inherited from QIODevicePrivate
 QIODevicePrivate ()
 
virtual ~QIODevicePrivate ()
 
virtual bool putCharHelper (char c)
 
bool isSequential () const
 
bool isBufferEmpty () const
 
bool allWriteBuffersEmpty () const
 
void seekBuffer (qint64 newPos)
 
void setCurrentReadChannel (int channel)
 
void setCurrentWriteChannel (int channel)
 
void setReadChannelCount (int count)
 
void setWriteChannelCount (int count)
 
qint64 read (char *data, qint64 maxSize, bool peeking=false)
 
qint64 readLine (char *data, qint64 maxSize)
 
virtual qint64 peek (char *data, qint64 maxSize)
 
virtual QByteArray peek (qint64 maxSize)
 
qint64 skipByReading (qint64 maxSize)
 
void write (const char *data, qint64 size)
 
bool isWriteChunkCached (const char *data, qint64 size) const
 
- Public Member Functions inherited from QObjectPrivate
void ensureExtraData ()
 
 QObjectPrivate (int version=QObjectPrivateVersion)
 
virtual ~QObjectPrivate ()
 
void deleteChildren ()
 
void clearBindingStorage ()
 
void checkForIncompatibleLibraryVersion (int version) const
 
void setParent_helper (QObject *)
 
void moveToThread_helper ()
 
void setThreadData_helper (QThreadData *currentData, QThreadData *targetData, QBindingStatus *status)
 
void _q_reregisterTimers (void *pointer)
 
bool isSender (const QObject *receiver, const char *signal) const
 
QObjectList receiverList (const char *signal) const
 
QObjectList senderList () const
 
void ensureConnectionData ()
 
void addConnection (int signal, Connection *c)
 
int signalIndex (const char *signalName, const QMetaObject **meta=nullptr) const
 
bool isSignalConnected (uint signalIdx, bool checkDeclarative=true) const
 
bool maybeSignalConnected (uint signalIndex) const
 
bool isDeclarativeSignalConnected (uint signalIdx) const
 
void connectNotify (const QMetaMethod &signal)
 
void disconnectNotify (const QMetaMethod &signal)
 
void reinitBindingStorageAfterThreadMove ()
 
virtual std::string flagsForDumping () const
 
QtPrivate::QPropertyAdaptorSlotObjectgetPropertyAdaptorSlotObject (const QMetaProperty &property)
 
- Public Member Functions inherited from QObjectData
 QObjectData ()=default
 
virtual ~QObjectData ()=0
 
QMetaObjectdynamicMetaObject () const
 
- Public Member Functions inherited from QNetworkHeadersPrivate
RawHeadersList::ConstIterator findRawHeader (const QByteArray &key) const
 
RawHeadersList allRawHeaders () const
 
QList< QByteArrayrawHeadersKeys () const
 
void setRawHeader (const QByteArray &key, const QByteArray &value)
 
void setAllRawHeaders (const RawHeadersList &list)
 
void setCookedHeader (QNetworkRequest::KnownHeaders header, const QVariant &value)
 

Static Public Member Functions

static QHttpNetworkRequest::Priority convert (const QNetworkRequest::Priority &prio)
 
- Static Public Member Functions inherited from QNetworkReplyPrivate
static void setManager (QNetworkReply *reply, QNetworkAccessManager *manager)
 
- Static Public Member Functions inherited from QObjectPrivate
static bool removeConnection (Connection *c)
 
static QObjectPrivateget (QObject *o)
 
static const QObjectPrivateget (const QObject *o)
 
template<typename Func1 , typename Func2 >
static QMetaObject::Connection connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection)
 
template<typename Func1 , typename Func2 >
static bool disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot)
 
static QMetaObject::Connection connectImpl (const QObject *sender, int signal_index, const QObject *receiver, void **slot, QtPrivate::QSlotObjectBase *slotObj, int type, const int *types, const QMetaObject *senderMetaObject)
 
static QMetaObject::Connection connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type)
 
static QMetaObject::Connection connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type)
 
static bool disconnect (const QObject *sender, int signal_index, void **slot)
 
static bool disconnect (const QObject *sender, int signal_index, const QObject *receiver, void **slot)
 
- Static Public Member Functions inherited from QNetworkHeadersPrivate
static QDateTime fromHttpDate (const QByteArray &value)
 
static QByteArray toHttpDate (const QDateTime &dt)
 

Public Attributes

QNetworkAccessManagermanager
 
QNetworkAccessManagerPrivatemanagerPrivate
 
QHttpNetworkRequest httpRequest
 
bool synchronous
 
State state
 
int statusCode
 
QString reasonPhrase
 
std::shared_ptr< QNonContiguousByteDeviceuploadByteDevice
 
qint64 uploadByteDevicePosition
 
bool uploadDeviceChoking
 
QIODeviceoutgoingData
 
std::shared_ptr< QRingBufferoutgoingDataBuffer
 
qint64 bytesUploaded
 
QIODevicecacheLoadDevice
 
bool loadingFromCache
 
QIODevicecacheSaveDevice
 
bool cacheEnabled
 
QUrl urlForLastAuthentication
 
QNetworkProxy lastProxyAuthentication
 
quint64 resumeOffset
 
qint64 bytesDownloaded
 
qint64 bytesBuffered
 
qint64 lastReadyReadEmittedSize = 0
 
QTimertransferTimeout
 
qint64 downloadBufferReadPosition
 
qint64 downloadBufferCurrentSize
 
QSharedPointer< char > downloadBufferPointer
 
char * downloadZerocopyBuffer
 
std::shared_ptr< QAtomicIntpendingDownloadDataEmissions
 
std::shared_ptr< QAtomicIntpendingDownloadProgressEmissions
 
QScopedPointer< QSslConfigurationsslConfiguration
 
bool pendingIgnoreAllSslErrors
 
QList< QSslErrorpendingIgnoreSslErrorsList
 
QNetworkRequest redirectRequest
 
QDecompressHelper decompressHelper
 
- Public Attributes inherited from QNetworkReplyPrivate
QNetworkRequest request
 
QNetworkRequest originalRequest
 
QUrl url
 
QPointer< QNetworkAccessManagermanager
 
qint64 readBufferMaxSize
 
QElapsedTimer downloadProgressSignalChoke
 
QElapsedTimer uploadProgressSignalChoke
 
bool emitAllUploadProgressSignals
 
QNetworkAccessManager::Operation operation
 
QNetworkReply::NetworkError errorCode
 
bool isFinished
 
- Public Attributes inherited from QIODevicePrivate
qint64 pos = 0
 
qint64 devicePos = 0
 
qint64 transactionPos = 0
 
QRingBufferRef buffer
 
QRingBufferRef writeBuffer
 
const QByteArraycurrentWriteChunk = nullptr
 
int readChannelCount = 0
 
int writeChannelCount = 0
 
int currentReadChannel = 0
 
int currentWriteChannel = 0
 
int readBufferChunkSize = QIODEVICE_BUFFERSIZE
 
int writeBufferChunkSize = 0
 
QVarLengthArray< QRingBuffer, 2 > readBuffers
 
QVarLengthArray< QRingBuffer, 1 > writeBuffers
 
QString errorString
 
QIODevice::OpenMode openMode = QIODevice::NotOpen
 
bool transactionStarted = false
 
bool baseReadLineDataCalled = false
 
AccessMode accessMode = Unset
 
- Public Attributes inherited from QObjectPrivate
ExtraDataextraData
 
QAtomicPointer< QThreadDatathreadData
 
QAtomicPointer< ConnectionDataconnections
 
union { 
 
   QObject *   currentChildBeingDeleted 
 
   QAbstractDeclarativeData *   declarativeData 
 
};  
 
QAtomicPointer< QtSharedPointer::ExternalRefCountDatasharedRefcount
 
- Public Attributes inherited from QObjectData
QObjectq_ptr
 
QObjectparent
 
QObjectList children
 
uint isWidget: 1
 
uint blockSig: 1
 
uint wasDeleted: 1
 
uint isDeletingChildren: 1
 
uint sendChildEvents: 1
 
uint receiveChildEvents: 1
 
uint isWindow: 1
 
uint deleteLaterCalled: 1
 
uint isQuickItem: 1
 
uint willBeWidget: 1
 
uint wasWidget: 1
 
uint unused: 21
 
QAtomicInt postedEvents
 
QDynamicMetaObjectDatametaObject
 
QBindingStorage bindingStorage
 
- Public Attributes inherited from QNetworkHeadersPrivate
RawHeadersList rawHeaders
 
CookedHeadersMap cookedHeaders
 
AttributesMap attributes
 
QPointer< QObjectoriginatingObject
 

Additional Inherited Members

- Public Types inherited from QNetworkReplyPrivate
enum  State {
  Idle , Buffering , Working , Finished ,
  Aborted
}
 
- Public Types inherited from QIODevicePrivate
enum  AccessMode : quint8 { Unset , Sequential , RandomAccess }
 
- Public Types inherited from QObjectPrivate
typedef void(* StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **)
 
using ConnectionDataPointer = QExplicitlySharedDataPointer< ConnectionData >
 
- Public Types inherited from QNetworkHeadersPrivate
typedef QPair< QByteArray, QByteArrayRawHeaderPair
 
typedef QList< RawHeaderPairRawHeadersList
 
typedef QHash< QNetworkRequest::KnownHeaders, QVariantCookedHeadersMap
 
typedef QHash< QNetworkRequest::Attribute, QVariantAttributesMap
 
- Static Public Attributes inherited from QNetworkReplyPrivate
static const int progressSignalInterval = 100
 

Detailed Description

Definition at line 122 of file qnetworkreplyhttpimpl_p.h.

Constructor & Destructor Documentation

◆ QNetworkReplyHttpImplPrivate()

QNetworkReplyHttpImplPrivate::QNetworkReplyHttpImplPrivate ( )

Definition at line 431 of file qnetworkreplyhttpimpl.cpp.

◆ ~QNetworkReplyHttpImplPrivate()

QNetworkReplyHttpImplPrivate::~QNetworkReplyHttpImplPrivate ( )

Definition at line 462 of file qnetworkreplyhttpimpl.cpp.

Member Function Documentation

◆ _q_bufferOutgoingData()

void QNetworkReplyHttpImplPrivate::_q_bufferOutgoingData ( )

Definition at line 1964 of file qnetworkreplyhttpimpl.cpp.

References _q_bufferOutgoingData(), _q_bufferOutgoingDataFinished(), QIODevice::bytesAvailable(), bytesBuffered, QObject::connect(), forever, outgoingData, outgoingDataBuffer, QIODevice::read(), SIGNAL, and SLOT.

Referenced by _q_bufferOutgoingData(), _q_bufferOutgoingDataFinished(), and onRedirected().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _q_bufferOutgoingDataFinished()

void QNetworkReplyHttpImplPrivate::_q_bufferOutgoingDataFinished ( )

Definition at line 1940 of file qnetworkreplyhttpimpl.cpp.

References _q_bufferOutgoingData(), _q_bufferOutgoingDataFinished(), QNetworkReplyPrivate::Buffering, QObject::disconnect(), QMetaObject::invokeMethod(), outgoingData, Qt::QueuedConnection, SIGNAL, SLOT, and state.

Referenced by _q_bufferOutgoingData(), _q_bufferOutgoingDataFinished(), and onRedirected().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _q_cacheLoadReadyRead()

void QNetworkReplyHttpImplPrivate::_q_cacheLoadReadyRead ( )

◆ _q_cacheSaveDeviceAboutToClose()

void QNetworkReplyHttpImplPrivate::_q_cacheSaveDeviceAboutToClose ( )

Definition at line 1957 of file qnetworkreplyhttpimpl.cpp.

References cacheSaveDevice.

Referenced by initCacheSaveDevice().

+ Here is the caller graph for this function:

◆ _q_error()

void QNetworkReplyHttpImplPrivate::_q_error ( QNetworkReply::NetworkError  code,
const QString errorString 
)

Definition at line 2120 of file qnetworkreplyhttpimpl.cpp.

References error, and errorMessage().

+ Here is the call graph for this function:

◆ _q_finished()

void QNetworkReplyHttpImplPrivate::_q_finished ( )

Definition at line 2076 of file qnetworkreplyhttpimpl.cpp.

References finished().

+ Here is the call graph for this function:

◆ _q_metaDataChanged()

void QNetworkReplyHttpImplPrivate::_q_metaDataChanged ( )

Definition at line 2144 of file qnetworkreplyhttpimpl.cpp.

References QNetworkRequest::attribute(), QNetworkRequest::Automatic, QHash< Key, T >::cend(), QHash< Key, T >::constFind(), QNetworkHeadersPrivate::cookedHeaders, QNetworkAccessManager::cookieJar(), QNetworkRequest::CookieSaveControlAttribute, emit, it, manager, Q_ASSERT, QNetworkReplyPrivate::request, QNetworkRequest::SetCookieHeader, QNetworkCookieJar::setCookiesFromUrl(), QVariant::toInt(), and QNetworkReplyPrivate::url.

Referenced by replyDownloadMetaData().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _q_startOperation()

void QNetworkReplyHttpImplPrivate::_q_startOperation ( )

Definition at line 1861 of file qnetworkreplyhttpimpl.cpp.

References QNetworkReplyPrivate::Finished, postRequest(), QNetworkReplyPrivate::request, setupTransferTimeout(), state, synchronous, and QNetworkReplyPrivate::Working.

+ Here is the call graph for this function:

◆ _q_transferTimedOut()

void QNetworkReplyHttpImplPrivate::_q_transferTimedOut ( )

Definition at line 2007 of file qnetworkreplyhttpimpl.cpp.

Referenced by setupTransferTimeout().

+ Here is the caller graph for this function:

◆ canResume()

bool QNetworkReplyHttpImplPrivate::canResume ( ) const

Definition at line 1828 of file qnetworkreplyhttpimpl.cpp.

References downloadZerocopyBuffer, QNetworkAccessManager::GetOperation, QNetworkRequest::hasRawHeader(), QNetworkReplyPrivate::operation, QNetworkRequest::rawHeader(), and QNetworkReplyPrivate::request.

+ Here is the call graph for this function:

◆ checkForRedirect()

void QNetworkReplyHttpImplPrivate::checkForRedirect ( const int  statusCode)

Definition at line 1287 of file qnetworkreplyhttpimpl.cpp.

References QString::fromUtf8(), header(), QUrl::isValid(), QNetworkRequest::RedirectionTargetAttribute, statusCode, and QNetworkReplyPrivate::url.

Referenced by replyDownloadMetaData(), and sendCacheContents().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ completeCacheSave()

void QNetworkReplyHttpImplPrivate::completeCacheSave ( )

Definition at line 2211 of file qnetworkreplyhttpimpl.cpp.

References cacheEnabled, cacheSaveDevice, QNetworkReplyPrivate::errorCode, QAbstractNetworkCache::insert(), managerPrivate, QNetworkAccessManagerPrivate::networkCache, QNetworkReply::NoError, QAbstractNetworkCache::remove(), and QNetworkReplyPrivate::url.

Referenced by finished().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ convert()

QHttpNetworkRequest::Priority QNetworkReplyHttpImplPrivate::convert ( const QNetworkRequest::Priority prio)
static

Definition at line 604 of file qnetworkreplyhttpimpl.cpp.

References QHttpNetworkRequest::HighPriority, QNetworkRequest::HighPriority, QHttpNetworkRequest::LowPriority, QNetworkRequest::LowPriority, QHttpNetworkRequest::NormalPriority, and QNetworkRequest::NormalPriority.

Referenced by postRequest().

+ Here is the caller graph for this function:

◆ createCache()

void QNetworkReplyHttpImplPrivate::createCache ( )

Definition at line 2166 of file qnetworkreplyhttpimpl.cpp.

References QNetworkRequest::attribute(), cacheEnabled, QNetworkRequest::CacheSaveControlAttribute, managerPrivate, QNetworkAccessManagerPrivate::networkCache, QNetworkReplyPrivate::request, and QVariant::toBool().

Referenced by setCachingEnabled().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ createRedirectRequest()

QNetworkRequest QNetworkReplyHttpImplPrivate::createRedirectRequest ( const QNetworkRequest originalRequests,
const QUrl url,
int  maxRedirectsRemainig 
)

Definition at line 1188 of file qnetworkreplyhttpimpl.cpp.

References QNetworkReplyPrivate::originalRequest, QNetworkRequest::setMaximumRedirectsAllowed(), QNetworkRequest::setUrl(), and QNetworkReplyPrivate::url.

Referenced by onRedirected().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ createUploadByteDevice()

QNonContiguousByteDevice * QNetworkReplyHttpImplPrivate::createUploadByteDevice ( )

Definition at line 2056 of file qnetworkreplyhttpimpl.cpp.

References QObject::connect(), QNonContiguousByteDeviceFactory::createShared(), emitReplyUploadProgress(), outgoingData, outgoingDataBuffer, SIGNAL, SLOT, synchronous, and uploadByteDevice.

Referenced by postRequest().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ emitReplyUploadProgress()

void QNetworkReplyHttpImplPrivate::emitReplyUploadProgress ( qint64  bytesSent,
qint64  bytesTotal 
)

Definition at line 2034 of file qnetworkreplyhttpimpl.cpp.

References QElapsedTimer::elapsed(), emit, QNetworkReplyPrivate::emitAllUploadProgressSignals, QNetworkReplyPrivate::isFinished, QElapsedTimer::isValid(), QNetworkReplyPrivate::progressSignalInterval, QElapsedTimer::restart(), setupTransferTimeout(), QElapsedTimer::start(), and QNetworkReplyPrivate::uploadProgressSignalChoke.

Referenced by createUploadByteDevice().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ error()

void QNetworkReplyHttpImplPrivate::error ( QNetworkReply::NetworkError  code,
const QString errorString 
)

Definition at line 2126 of file qnetworkreplyhttpimpl.cpp.

References emit, QNetworkReplyPrivate::errorCode, errorMessage(), QNetworkReply::NoError, and qWarning.

+ Here is the call graph for this function:

◆ fetchCacheMetaData()

QNetworkCacheMetaData QNetworkReplyHttpImplPrivate::fetchCacheMetaData ( const QNetworkCacheMetaData metaData) const

◆ finished()

void QNetworkReplyHttpImplPrivate::finished ( )

Definition at line 2082 of file qnetworkreplyhttpimpl.cpp.

References QNetworkReplyPrivate::Aborted, bytesDownloaded, bytesUploaded, completeCacheSave(), QNetworkRequest::ContentLengthHeader, QNetworkHeadersPrivate::cookedHeaders, decompressHelper, emit, QNetworkReplyPrivate::errorCode, QNetworkReplyPrivate::Finished, isHttpRedirectResponse(), QVariant::isNull(), QDecompressHelper::isValid(), QNetworkReply::NoError, outgoingData, outgoingDataBuffer, state, QTimer::stop(), QVariant::toLongLong(), transferTimeout, and QHash< Key, T >::value().

Referenced by _q_finished(), postRequest(), and replyFinished().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ followRedirect()

void QNetworkReplyHttpImplPrivate::followRedirect ( )

Definition at line 1271 of file qnetworkreplyhttpimpl.cpp.

References QList< T >::clear(), QDecompressHelper::clear(), QHash< Key, T >::clear(), QNetworkHeadersPrivate::cookedHeaders, decompressHelper, QObject::disconnect(), QMetaObject::invokeMethod(), managerPrivate, postRequest(), Q_ASSERT, Qt::QueuedConnection, QNetworkHeadersPrivate::rawHeaders, redirectRequest, and QNetworkAccessManagerPrivate::thread.

Referenced by QNetworkReplyHttpImpl::QNetworkReplyHttpImpl(), and onRedirected().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getRedirectOperation()

QNetworkAccessManager::Operation QNetworkReplyHttpImplPrivate::getRedirectOperation ( QNetworkAccessManager::Operation  currentOp,
int  httpStatus 
)

Definition at line 1163 of file qnetworkreplyhttpimpl.cpp.

References QNetworkAccessManager::GetOperation, and QNetworkAccessManager::HeadOperation.

Referenced by onRedirected().

+ Here is the caller graph for this function:

◆ httpAuthenticationRequired()

void QNetworkReplyHttpImplPrivate::httpAuthenticationRequired ( const QHttpNetworkRequest request,
QAuthenticator auth 
)

Definition at line 1486 of file qnetworkreplyhttpimpl.cpp.

References QNetworkAccessManagerPrivate::authenticationRequired(), managerPrivate, QNetworkReplyPrivate::request, synchronous, QNetworkReplyPrivate::url, and urlForLastAuthentication.

Referenced by postRequest().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ httpError()

void QNetworkReplyHttpImplPrivate::httpError ( QNetworkReply::NetworkError  error,
const QString errorString 
)

Definition at line 1500 of file qnetworkreplyhttpimpl.cpp.

References error, QNetworkReplyPrivate::errorCode, QIODevicePrivate::errorString, and qDebug.

Referenced by postRequest().

+ Here is the caller graph for this function:

◆ initCacheSaveDevice()

void QNetworkReplyHttpImplPrivate::initCacheSaveDevice ( )

◆ invalidateCache()

void QNetworkReplyHttpImplPrivate::invalidateCache ( )

Definition at line 989 of file qnetworkreplyhttpimpl.cpp.

References httpRequest, managerPrivate, QNetworkAccessManagerPrivate::networkCache, QAbstractNetworkCache::remove(), and QHttpNetworkRequest::url().

Referenced by postRequest().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isCachingAllowed()

bool QNetworkReplyHttpImplPrivate::isCachingAllowed ( ) const

Definition at line 2206 of file qnetworkreplyhttpimpl.cpp.

References QNetworkAccessManager::GetOperation, QNetworkAccessManager::HeadOperation, and QNetworkReplyPrivate::operation.

Referenced by replyDownloadData(), and replyDownloadProgressSlot().

+ Here is the caller graph for this function:

◆ isCachingEnabled()

bool QNetworkReplyHttpImplPrivate::isCachingEnabled ( ) const

Definition at line 2175 of file qnetworkreplyhttpimpl.cpp.

References cacheEnabled, managerPrivate, and QNetworkAccessManagerPrivate::networkCache.

Referenced by replyDownloadMetaData().

+ Here is the caller graph for this function:

◆ isHttpRedirectResponse()

bool QNetworkReplyHttpImplPrivate::isHttpRedirectResponse ( ) const

Definition at line 1183 of file qnetworkreplyhttpimpl.cpp.

References httpRequest, QHttpNetworkRequest::isFollowRedirects(), QHttpNetworkReply::isHttpRedirect(), and statusCode.

Referenced by _q_cacheLoadReadyRead(), finished(), replyDownloadData(), replyDownloadMetaData(), replyDownloadProgressSlot(), and sendCacheContents().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ loadFromCacheIfAllowed()

bool QNetworkReplyHttpImplPrivate::loadFromCacheIfAllowed ( QHttpNetworkRequest httpRequest)

Definition at line 472 of file qnetworkreplyhttpimpl.cpp.

References QDateTime::addSecs(), QNetworkRequest::AlwaysNetwork, QNetworkRequest::attribute(), QNetworkRequest::CacheLoadControlAttribute, QList< T >::constEnd(), QListSpecialMethodsBase< T >::contains(), QHash< Key, T >::contains(), QDateTime::currentDateTimeUtc(), QAbstractNetworkCache::data(), QDateTime::daysTo(), QNetworkCacheMetaData::expirationDate(), QNetworkHeadersPrivate::findRawHeader(), QNetworkHeadersPrivate::fromHttpDate(), QNetworkRequest::hasRawHeader(), QHttpNetworkRequest::headerField(), httpRequest, QByteArray::isEmpty(), QDateTime::isValid(), QNetworkCacheMetaData::isValid(), it, QNetworkCacheMetaData::lastModified(), managerPrivate, QAbstractNetworkCache::metaData(), QNetworkAccessManagerPrivate::networkCache, now, parseHttpOptionHeader(), QNetworkRequest::PreferNetwork, qDebug, qMax(), QNetworkRequest::rawHeaderList(), QNetworkCacheMetaData::rawHeaders(), QNetworkHeadersPrivate::rawHeaders, QNetworkReplyPrivate::request, QNetworkCacheMetaData::saveToDisk(), QDateTime::secsTo(), sendCacheContents(), QNetworkHeadersPrivate::setAllRawHeaders(), QHttpNetworkRequest::setHeaderField(), QIODevice::size(), QNetworkHeadersPrivate::toHttpDate(), QVariant::toInt(), QDateTime::toSecsSinceEpoch(), and QHttpNetworkRequest::url().

Referenced by postRequest().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ onRedirected()

void QNetworkReplyHttpImplPrivate::onRedirected ( const QUrl redirectUrl,
int  httpStatus,
int  maxRedirectsRemainig 
)

Definition at line 1199 of file qnetworkreplyhttpimpl.cpp.

References _q_bufferOutgoingData(), _q_bufferOutgoingDataFinished(), QHttpNetworkRequest::clearHeaders(), QNetworkRequest::ContentLengthHeader, QNetworkRequest::ContentTypeHeader, QNetworkRequest::CookieHeader, QNetworkAccessManager::cookieJar(), createRedirectRequest(), QObject::disconnect(), emit, error, followRedirect(), QVariant::fromValue(), QNetworkAccessManager::GetOperation, getRedirectOperation(), QNetworkAccessManager::HeadOperation, httpRequest, QNetworkReply::InsecureRedirectError, QNetworkReplyPrivate::isFinished, QHttpNetworkRequest::isFollowRedirects(), QHstsCache::isKnownHost(), manager, managerPrivate, QNetworkRequest::NoLessSafeRedirectPolicy, QNetworkReplyPrivate::operation, QNetworkReplyPrivate::originalRequest, outgoingData, outgoingDataBuffer, QUrl::port(), Q_ASSERT, QHttpNetworkRequest::redirectPolicy(), redirectRequest, QUrl::scheme(), QNetworkRequest::setHeader(), QUrl::setPort(), QUrl::setScheme(), SIGNAL, SLOT, QNetworkAccessManagerPrivate::stsCache, QNetworkAccessManagerPrivate::stsEnabled, QCoreApplication::translate(), uploadByteDevice, uploadByteDevicePosition, QNetworkReplyPrivate::url, and QNetworkRequest::UserVerifiedRedirectPolicy.

Referenced by postRequest().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ postRequest()

void QNetworkReplyHttpImplPrivate::postRequest ( const QNetworkRequest newHttpRequest)

Definition at line 617 of file qnetworkreplyhttpimpl.cpp.

References QNetworkRequest::attribute(), QHttpThreadDelegate::authenticationManager, QNetworkAccessManagerPrivate::authenticationManager, QNetworkRequest::AuthenticationReuseAttribute, QNetworkRequest::Automatic, Qt::BlockingQueuedConnection, QHttpThreadDelegate::cacheProxy, QNetworkProxy::CachingCapability, QObject::connect(), QObjectPrivate::connect(), QHttpThreadDelegate::connectionCacheExpiryTimeoutSeconds, QNetworkRequest::ConnectionCacheExpiryTimeoutSecondsAttribute, QNetworkRequest::ConnectionEncryptedAttribute, convert(), QNetworkAccessManagerPrivate::createThread(), createUploadByteDevice(), QHttpNetworkRequest::Custom, QNetworkAccessManager::CustomOperation, QNetworkRequest::CustomVerbAttribute, QNetworkProxy::DefaultProxy, QHttpNetworkRequest::Delete, QNetworkAccessManager::DeleteOperation, QObject::destroyed(), Qt::DirectConnection, QObject::disconnect(), QHttpThreadDelegate::downloadBufferMaximumSize, QHttpThreadDelegate::downloadMetaData(), QNetworkReplyPrivate::downloadProgressSignalChoke, emit, QNetworkReplyPrivate::emitAllUploadProgressSignals, QNetworkRequest::EmitAllUploadProgressSignalsAttribute, error, finished(), QHttpNetworkRequest::Get, QNetworkAccessManager::GetOperation, QHttpNetworkRequest::Head, header(), QNetworkAccessManager::HeadOperation, QHttpThreadDelegate::http1Parameters, QNetworkRequest::Http2AllowedAttribute, QNetworkRequest::Http2CleartextAllowedAttribute, QNetworkRequest::Http2DirectAttribute, QHttpThreadDelegate::http2Parameters, httpAuthenticationRequired(), QNetworkProxy::HttpCachingProxy, httpError(), QNetworkRequest::HttpPipeliningAllowedAttribute, QNetworkProxy::HttpProxy, QHttpThreadDelegate::httpRequest, httpRequest, QHttpThreadDelegate::incomingContentLength, QHttpThreadDelegate::incomingErrorCode, QHttpThreadDelegate::incomingErrorDetail, QHttpThreadDelegate::incomingHeaders, QHttpThreadDelegate::incomingReasonPhrase, QHttpThreadDelegate::incomingSslConfiguration, QHttpThreadDelegate::incomingStatusCode, QByteArray::indexOf(), QListSpecialMethodsBase< T >::indexOf(), QElapsedTimer::invalidate(), invalidateCache(), QMetaObject::invokeMethod(), QHttpThreadDelegate::isCompressed, QThread::isFinished(), QHttpThreadDelegate::isHttp2Used, QHttpThreadDelegate::isPipeliningUsed, QVariant::isValid(), QByteArray::left(), loadFromCacheIfAllowed(), loadingFromCache, managerPrivate, QNetworkRequest::Manual, QNetworkRequest::MaximumDownloadBufferSizeAttribute, QNetworkRequest::maximumRedirectsAllowed(), QByteArray::mid(), QObject::moveToThread(), QNetworkReply::NoError, QNetworkRequest::NoLessSafeRedirectPolicy, QNetworkProxy::NoProxy, QByteArray::number(), onRedirected(), QNetworkReplyPrivate::operation, QNetworkRequest::peerVerifyName(), QHttpThreadDelegate::pendingDownloadData, pendingDownloadDataEmissions, QHttpThreadDelegate::pendingDownloadProgress, pendingDownloadProgressEmissions, QHttpNetworkRequest::Post, QNetworkAccessManager::PostOperation, QNetworkRequest::priority(), proxyAuthenticationRequired(), QNetworkReply::ProxyNotFoundError, QHttpNetworkRequest::Put, QNetworkAccessManager::PutOperation, Q_ARG, qEnvironmentVariableIsSet(), QStringLiteral, QNetworkAccessManagerPrivate::queryProxy(), Qt::QueuedConnection, QThread::quit(), rangeIndex, QNetworkRequest::rawHeader(), QNetworkRequest::rawHeaderList(), QNetworkRequest::RedirectPolicyAttribute, QList< T >::removeAt(), QHttpThreadDelegate::removedContentLength, replyDownloadData(), replyDownloadMetaData(), replyDownloadProgressSlot(), replyEncrypted(), replyFinished(), replyPreSharedKeyAuthenticationRequiredSlot(), replySslConfigurationChanged(), replySslErrors(), QNetworkReplyPrivate::request, QHttpThreadDelegate::requestSent(), QNetworkReply::requestSent(), QScopedPointer< T, Cleanup >::reset(), resetUploadDataSlot(), resumeOffset, QUrl::scheme(), sentUploadDataSlot(), QHttpNetworkRequest::setCustomVerb(), QHttpNetworkRequest::setH2cAllowed(), QHttpNetworkRequest::setHeaderField(), QHttpNetworkRequest::setHTTP2Allowed(), QHttpNetworkRequest::setHTTP2Direct(), QObject::setObjectName(), QHttpNetworkRequest::setOperation(), QObject::setParent(), QHttpNetworkRequest::setPeerVerifyName(), QHttpNetworkRequest::setPipeliningAllowed(), QHttpNetworkRequest::setPreConnect(), QHttpNetworkRequest::setPriority(), QHttpNetworkRequest::setRedirectCount(), QHttpNetworkRequest::setRedirectPolicy(), QHttpNetworkRequest::setSsl(), QHttpNetworkRequest::setUploadByteDevice(), QHttpNetworkRequest::setUrl(), QHttpNetworkRequest::setWithCredentials(), SIGNAL, SLOT, QHttpThreadDelegate::socketStartedConnecting(), QNetworkReply::socketStartedConnecting(), QHttpThreadDelegate::ssl, QNetworkRequest::sslConfiguration(), QElapsedTimer::start(), QThread::start(), QHttpThreadDelegate::synchronous, synchronous, QHttpThreadDelegate::synchronousDownloadData, QVariant::toBool(), QVariant::toByteArray(), QVariant::toInt(), QVariant::toLongLong(), QByteArray::toULongLong(), QHttpThreadDelegate::transparentProxy, QNetworkProxy::type(), uploadByteDevice, uploadByteDeviceReadyReadSlot(), QNetworkReplyPrivate::uploadProgressSignalChoke, QNetworkReplyPrivate::url, QNetworkRequest::url(), QThread::wait(), and wantUploadDataSlot().

Referenced by _q_startOperation(), and followRedirect().

+ Here is the caller graph for this function:

◆ proxyAuthenticationRequired()

void QNetworkReplyHttpImplPrivate::proxyAuthenticationRequired ( const QNetworkProxy proxy,
QAuthenticator auth 
)

Definition at line 1493 of file qnetworkreplyhttpimpl.cpp.

References lastProxyAuthentication, managerPrivate, proxy, QNetworkAccessManagerPrivate::proxyAuthenticationRequired(), QNetworkReplyPrivate::request, synchronous, and QNetworkRequest::url().

Referenced by postRequest().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ replyDownloadData()

◆ replyDownloadMetaData()

void QNetworkReplyHttpImplPrivate::replyDownloadMetaData ( const QList< QPair< QByteArray, QByteArray > > &  hm,
int  sc,
const QString rp,
bool  pu,
QSharedPointer< char >  db,
qint64  contentLength,
qint64  removedContentLength,
bool  h2Used,
bool  isCompressed 
)

Definition at line 1307 of file qnetworkreplyhttpimpl.cpp.

References _q_metaDataChanged(), arg, Qt::CaseInsensitive, checkForRedirect(), QByteArray::clear(), QList< T >::constBegin(), QList< T >::constEnd(), QHash< Key, T >::contains(), QSharedPointer< T >::data(), db, decompressHelper, QNetworkRequest::DownloadBufferAttribute, downloadBufferCurrentSize, downloadBufferPointer, downloadZerocopyBuffer, error, QDecompressHelper::errorString(), fetchCacheMetaData(), QNetworkHeadersPrivate::findRawHeader(), QVariant::fromValue(), QNetworkRequest::Http2WasUsedAttribute, QNetworkRequest::HttpPipeliningWasUsedAttribute, QNetworkRequest::HttpReasonPhraseAttribute, httpRequest, QNetworkRequest::HttpStatusCodeAttribute, isCachingEnabled(), QByteArray::isEmpty(), isHttpRedirectResponse(), QDecompressHelper::isValid(), it, managerPrivate, QAbstractNetworkCache::metaData(), QNetworkAccessManagerPrivate::networkCache, QNetworkRequest::OriginalContentLengthAttribute, parseHttpOptionHeader(), Q_UNUSED, qDebug, QNetworkRequest::rawHeader(), QNetworkCacheMetaData::rawHeaders(), QNetworkHeadersPrivate::rawHeaders, reasonPhrase, QNetworkReplyPrivate::request, QUrl::scheme(), sendCacheContents(), QNetworkHeadersPrivate::setAllRawHeaders(), setCachingEnabled(), QDecompressHelper::setCountingBytesEnabled(), QDecompressHelper::setDecompressedSafetyCheckThreshold(), QDecompressHelper::setEncoding(), statusCode, QNetworkAccessManagerPrivate::stsCache, QNetworkAccessManagerPrivate::stsEnabled, synchronous, QCoreApplication::translate(), QNetworkReply::UnknownContentError, QHstsCache::updateFromHeaders(), QAbstractNetworkCache::updateMetaData(), QNetworkRequest::url(), QHttpNetworkRequest::url(), and QNetworkReplyPrivate::url.

Referenced by postRequest().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ replyDownloadProgressSlot()

void QNetworkReplyHttpImplPrivate::replyDownloadProgressSlot ( qint64  bytesReceived,
qint64  bytesTotal 
)

Definition at line 1438 of file qnetworkreplyhttpimpl.cpp.

References bytesDownloaded, cacheEnabled, cacheSaveDevice, downloadBufferCurrentSize, QNetworkReplyPrivate::downloadProgressSignalChoke, downloadZerocopyBuffer, QElapsedTimer::elapsed(), emit, initCacheSaveDevice(), isCachingAllowed(), isHttpRedirectResponse(), pendingDownloadProgressEmissions, QNetworkReplyPrivate::progressSignalInterval, QElapsedTimer::restart(), setupTransferTimeout(), and QIODevice::write().

Referenced by postRequest().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ replyEncrypted()

void QNetworkReplyHttpImplPrivate::replyEncrypted ( )

Definition at line 1512 of file qnetworkreplyhttpimpl.cpp.

References emit.

Referenced by postRequest().

+ Here is the caller graph for this function:

◆ replyFinished()

void QNetworkReplyHttpImplPrivate::replyFinished ( )

Definition at line 1153 of file qnetworkreplyhttpimpl.cpp.

References finished(), and loadingFromCache.

Referenced by postRequest().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ replyPreSharedKeyAuthenticationRequiredSlot()

void QNetworkReplyHttpImplPrivate::replyPreSharedKeyAuthenticationRequiredSlot ( QSslPreSharedKeyAuthenticator authenticator)

Definition at line 1539 of file qnetworkreplyhttpimpl.cpp.

References emit.

Referenced by postRequest().

+ Here is the caller graph for this function:

◆ replySslConfigurationChanged()

void QNetworkReplyHttpImplPrivate::replySslConfigurationChanged ( const QSslConfiguration newSslConfiguration)

Definition at line 1530 of file qnetworkreplyhttpimpl.cpp.

References QScopedPointer< T, Cleanup >::data(), QScopedPointer< T, Cleanup >::reset(), and sslConfiguration.

Referenced by postRequest().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ replySslErrors()

void QNetworkReplyHttpImplPrivate::replySslErrors ( const QList< QSslError > &  list,
bool *  ignoreAll,
QList< QSslError > *  toBeIgnored 
)

Definition at line 1518 of file qnetworkreplyhttpimpl.cpp.

References emit, ignoreAll, QList< T >::isEmpty(), list, pendingIgnoreAllSslErrors, and pendingIgnoreSslErrorsList.

Referenced by postRequest().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ resetUploadDataSlot()

void QNetworkReplyHttpImplPrivate::resetUploadDataSlot ( bool *  r)

Definition at line 1547 of file qnetworkreplyhttpimpl.cpp.

References uploadByteDevice, and uploadByteDevicePosition.

Referenced by postRequest().

+ Here is the caller graph for this function:

◆ sendCacheContents()

bool QNetworkReplyHttpImplPrivate::sendCacheContents ( const QNetworkCacheMetaData metaData)

◆ sentUploadDataSlot()

void QNetworkReplyHttpImplPrivate::sentUploadDataSlot ( qint64  pos,
qint64  amount 
)

Definition at line 1557 of file qnetworkreplyhttpimpl.cpp.

References error, QIODevicePrivate::pos, QNetworkReply::UnknownNetworkError, uploadByteDevice, and uploadByteDevicePosition.

Referenced by postRequest().

+ Here is the caller graph for this function:

◆ setCachingEnabled()

void QNetworkReplyHttpImplPrivate::setCachingEnabled ( bool  enable)

Definition at line 2180 of file qnetworkreplyhttpimpl.cpp.

References bytesDownloaded, cacheEnabled, cacheSaveDevice, createCache(), managerPrivate, QNetworkAccessManagerPrivate::networkCache, Q_UNLIKELY, qCritical, qDebug, QAbstractNetworkCache::remove(), and QNetworkReplyPrivate::url.

Referenced by replyDownloadMetaData(), and sendCacheContents().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setResumeOffset()

void QNetworkReplyHttpImplPrivate::setResumeOffset ( quint64  offset)

Definition at line 1856 of file qnetworkreplyhttpimpl.cpp.

References resumeOffset.

◆ setupTransferTimeout()

void QNetworkReplyHttpImplPrivate::setupTransferTimeout ( )

Definition at line 2013 of file qnetworkreplyhttpimpl.cpp.

References _q_transferTimedOut(), QObject::connect(), QMetaObject::invokeMethod(), Qt::QueuedConnection, QNetworkReplyPrivate::request, QTimer::setInterval(), QTimer::setSingleShot(), SIGNAL, SLOT, QTimer::stop(), and transferTimeout.

Referenced by _q_startOperation(), emitReplyUploadProgress(), replyDownloadData(), and replyDownloadProgressSlot().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ uploadByteDeviceReadyReadSlot()

void QNetworkReplyHttpImplPrivate::uploadByteDeviceReadyReadSlot ( )

Definition at line 1599 of file qnetworkreplyhttpimpl.cpp.

References uploadDeviceChoking, and wantUploadDataSlot().

Referenced by postRequest().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ wantUploadDataSlot()

void QNetworkReplyHttpImplPrivate::wantUploadDataSlot ( qint64  maxSize)

Definition at line 1572 of file qnetworkreplyhttpimpl.cpp.

References emit, uploadByteDevice, uploadByteDevicePosition, and uploadDeviceChoking.

Referenced by postRequest(), and uploadByteDeviceReadyReadSlot().

+ Here is the caller graph for this function:

Member Data Documentation

◆ bytesBuffered

qint64 QNetworkReplyHttpImplPrivate::bytesBuffered

Definition at line 202 of file qnetworkreplyhttpimpl_p.h.

Referenced by _q_bufferOutgoingData(), and replyDownloadData().

◆ bytesDownloaded

qint64 QNetworkReplyHttpImplPrivate::bytesDownloaded

◆ bytesUploaded

qint64 QNetworkReplyHttpImplPrivate::bytesUploaded

Definition at line 174 of file qnetworkreplyhttpimpl_p.h.

Referenced by finished().

◆ cacheEnabled

bool QNetworkReplyHttpImplPrivate::cacheEnabled

◆ cacheLoadDevice

QIODevice* QNetworkReplyHttpImplPrivate::cacheLoadDevice

Definition at line 184 of file qnetworkreplyhttpimpl_p.h.

Referenced by _q_cacheLoadReadyRead(), and sendCacheContents().

◆ cacheSaveDevice

◆ decompressHelper

QDecompressHelper QNetworkReplyHttpImplPrivate::decompressHelper

◆ downloadBufferCurrentSize

qint64 QNetworkReplyHttpImplPrivate::downloadBufferCurrentSize

Definition at line 213 of file qnetworkreplyhttpimpl_p.h.

Referenced by replyDownloadMetaData(), and replyDownloadProgressSlot().

◆ downloadBufferPointer

QSharedPointer<char> QNetworkReplyHttpImplPrivate::downloadBufferPointer

Definition at line 214 of file qnetworkreplyhttpimpl_p.h.

Referenced by replyDownloadMetaData().

◆ downloadBufferReadPosition

qint64 QNetworkReplyHttpImplPrivate::downloadBufferReadPosition

Definition at line 212 of file qnetworkreplyhttpimpl_p.h.

◆ downloadZerocopyBuffer

char* QNetworkReplyHttpImplPrivate::downloadZerocopyBuffer

◆ httpRequest

◆ lastProxyAuthentication

QNetworkProxy QNetworkReplyHttpImplPrivate::lastProxyAuthentication

Definition at line 193 of file qnetworkreplyhttpimpl_p.h.

Referenced by proxyAuthenticationRequired().

◆ lastReadyReadEmittedSize

qint64 QNetworkReplyHttpImplPrivate::lastReadyReadEmittedSize = 0

Definition at line 206 of file qnetworkreplyhttpimpl_p.h.

Referenced by replyDownloadData().

◆ loadingFromCache

bool QNetworkReplyHttpImplPrivate::loadingFromCache

Definition at line 185 of file qnetworkreplyhttpimpl_p.h.

Referenced by postRequest(), replyFinished(), and sendCacheContents().

◆ manager

QNetworkAccessManager* QNetworkReplyHttpImplPrivate::manager

Definition at line 153 of file qnetworkreplyhttpimpl_p.h.

Referenced by _q_metaDataChanged(), and onRedirected().

◆ managerPrivate

◆ outgoingData

QIODevice* QNetworkReplyHttpImplPrivate::outgoingData

◆ outgoingDataBuffer

std::shared_ptr<QRingBuffer> QNetworkReplyHttpImplPrivate::outgoingDataBuffer

◆ pendingDownloadDataEmissions

std::shared_ptr<QAtomicInt> QNetworkReplyHttpImplPrivate::pendingDownloadDataEmissions

Definition at line 218 of file qnetworkreplyhttpimpl_p.h.

Referenced by postRequest(), and replyDownloadData().

◆ pendingDownloadProgressEmissions

std::shared_ptr<QAtomicInt> QNetworkReplyHttpImplPrivate::pendingDownloadProgressEmissions

Definition at line 219 of file qnetworkreplyhttpimpl_p.h.

Referenced by postRequest(), and replyDownloadProgressSlot().

◆ pendingIgnoreAllSslErrors

bool QNetworkReplyHttpImplPrivate::pendingIgnoreAllSslErrors

Definition at line 224 of file qnetworkreplyhttpimpl_p.h.

Referenced by replySslErrors().

◆ pendingIgnoreSslErrorsList

QList<QSslError> QNetworkReplyHttpImplPrivate::pendingIgnoreSslErrorsList

Definition at line 225 of file qnetworkreplyhttpimpl_p.h.

Referenced by replySslErrors().

◆ reasonPhrase

QString QNetworkReplyHttpImplPrivate::reasonPhrase

Definition at line 162 of file qnetworkreplyhttpimpl_p.h.

Referenced by fetchCacheMetaData(), and replyDownloadMetaData().

◆ redirectRequest

QNetworkRequest QNetworkReplyHttpImplPrivate::redirectRequest

Definition at line 228 of file qnetworkreplyhttpimpl_p.h.

Referenced by followRedirect(), and onRedirected().

◆ resumeOffset

quint64 QNetworkReplyHttpImplPrivate::resumeOffset

Definition at line 199 of file qnetworkreplyhttpimpl_p.h.

Referenced by postRequest(), and setResumeOffset().

◆ sslConfiguration

QScopedPointer<QSslConfiguration> QNetworkReplyHttpImplPrivate::sslConfiguration

Definition at line 223 of file qnetworkreplyhttpimpl_p.h.

Referenced by replySslConfigurationChanged().

◆ state

State QNetworkReplyHttpImplPrivate::state

◆ statusCode

int QNetworkReplyHttpImplPrivate::statusCode

◆ synchronous

◆ transferTimeout

QTimer* QNetworkReplyHttpImplPrivate::transferTimeout

Definition at line 208 of file qnetworkreplyhttpimpl_p.h.

Referenced by finished(), and setupTransferTimeout().

◆ uploadByteDevice

std::shared_ptr<QNonContiguousByteDevice> QNetworkReplyHttpImplPrivate::uploadByteDevice

◆ uploadByteDevicePosition

qint64 QNetworkReplyHttpImplPrivate::uploadByteDevicePosition

◆ uploadDeviceChoking

bool QNetworkReplyHttpImplPrivate::uploadDeviceChoking

Definition at line 168 of file qnetworkreplyhttpimpl_p.h.

Referenced by uploadByteDeviceReadyReadSlot(), and wantUploadDataSlot().

◆ urlForLastAuthentication

QUrl QNetworkReplyHttpImplPrivate::urlForLastAuthentication

Definition at line 191 of file qnetworkreplyhttpimpl_p.h.

Referenced by httpAuthenticationRequired().


The documentation for this class was generated from the following files: