Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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)
void maybeDropUploadDevice (const QNetworkRequest &newHttpRequest)
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 QHttpHeaders &, 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 (decltype(QObjectPrivateVersion) version=QObjectPrivateVersion)
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, ReadLineOption option=ReadLineOption::NullTerminated)
virtual qint64 peek (char *data, qint64 maxSize)
virtual QByteArray peek (qint64 maxSize)
qint64 skipByReading (qint64 maxSize)
qint64 skipLine ()
void write (const char *data, qint64 size)
bool isWriteChunkCached (const char *data, qint64 size) const
Public Member Functions inherited from QObjectPrivate
void ensureExtraData ()
void setObjectNameWithoutBindings (const QString &name)
 QObjectPrivate (decltype(QObjectPrivateVersion) version=QObjectPrivateVersion)
virtual ~QObjectPrivate ()
void deleteChildren ()
void clearBindingStorage ()
void setParent_helper (QObject *)
void moveToThread_helper ()
void setThreadData_helper (QThreadData *currentData, QThreadData *targetData, QBindingStatus *status)
QObjectList receiverList (const char *signal) 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
virtual void writeToDebugStream (QDebug &) const
QtPrivate::QPropertyAdaptorSlotObjectgetPropertyAdaptorSlotObject (const QMetaProperty &property)
Public Member Functions inherited from QObjectData
 QObjectData ()=default
virtual ~QObjectData ()=0
const QMetaObjectdynamicMetaObject () const
Public Member Functions inherited from QNetworkHeadersPrivate
const RawHeadersListallRawHeaders () const
QList< QByteArrayrawHeadersKeys () const
QByteArray rawHeader (QAnyStringView headerName) const
void setRawHeader (const QByteArray &key, const QByteArray &value)
void setCookedHeader (QNetworkRequest::KnownHeaders header, const QVariant &value)
QHttpHeaders headers () const
void setHeaders (const QHttpHeaders &newHeaders)
void setHeaders (QHttpHeaders &&newHeaders)
void setHeader (QHttpHeaders::WellKnownHeader name, QByteArrayView value)
void clearHeaders ()

Static Public Member Functions

static QHttpNetworkRequest::Priority convert (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 (QByteArrayView value)
static QByteArray toHttpDate (const QDateTime &dt)
static std::optional< qint64toInt (QByteArrayView value)
static QByteArray fromCookieList (const NetworkCookieList &cookies)
static std::optional< NetworkCookieListtoSetCookieList (const QList< QByteArray > &values)
static std::optional< NetworkCookieListtoCookieList (const QList< QByteArray > &values)
static RawHeadersList fromHttpToRaw (const QHttpHeaders &headers)
static QHttpHeaders fromRawToHttp (const RawHeadersList &raw)

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
std::unique_ptr< 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 receiveParentEvents: 1
uint unused: 20
QAtomicInt postedEvents
QDynamicMetaObjectDatametaObject
QBindingStorage bindingStorage
Public Attributes inherited from QNetworkHeadersPrivate
struct { 
   RawHeadersList   headersList 
   bool   isCached = false 
rawHeaderCache
QHttpHeaders httpHeaders
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 class  ReadLineOption { NotNullTerminated , NullTerminated }
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 std::pair< QByteArray, QByteArrayRawHeaderPair
typedef QList< RawHeaderPairRawHeadersList
typedef QHash< QNetworkRequest::KnownHeaders, QVariantCookedHeadersMap
typedef QHash< QNetworkRequest::Attribute, QVariantAttributesMap
typedef QList< QNetworkCookieNetworkCookieList
Static Public Attributes inherited from QNetworkReplyPrivate
static const int progressSignalInterval = 100

Detailed Description

Definition at line 124 of file qnetworkreplyhttpimpl_p.h.

Constructor & Destructor Documentation

◆ QNetworkReplyHttpImplPrivate()

QNetworkReplyHttpImplPrivate::QNetworkReplyHttpImplPrivate ( )

Definition at line 461 of file qnetworkreplyhttpimpl.cpp.

References QNetworkReplyHttpImplPrivate(), cacheEnabled, cacheLoadDevice, cacheSaveDevice, downloadZerocopyBuffer, loadingFromCache, outgoingData, pendingIgnoreAllSslErrors, statusCode, synchronous, and uploadDeviceChoking.

Referenced by QNetworkReplyHttpImplPrivate().

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

◆ ~QNetworkReplyHttpImplPrivate()

QNetworkReplyHttpImplPrivate::~QNetworkReplyHttpImplPrivate ( )

Definition at line 492 of file qnetworkreplyhttpimpl.cpp.

Member Function Documentation

◆ _q_bufferOutgoingData()

void QNetworkReplyHttpImplPrivate::_q_bufferOutgoingData ( )

Definition at line 2077 of file qnetworkreplyhttpimpl.cpp.

◆ _q_bufferOutgoingDataFinished()

void QNetworkReplyHttpImplPrivate::_q_bufferOutgoingDataFinished ( )

Definition at line 2053 of file qnetworkreplyhttpimpl.cpp.

◆ _q_cacheLoadReadyRead()

void QNetworkReplyHttpImplPrivate::_q_cacheLoadReadyRead ( )

Definition at line 1990 of file qnetworkreplyhttpimpl.cpp.

References cacheLoadDevice, and isHttpRedirectResponse().

Here is the call graph for this function:

◆ _q_cacheSaveDeviceAboutToClose()

void QNetworkReplyHttpImplPrivate::_q_cacheSaveDeviceAboutToClose ( )

Definition at line 2070 of file qnetworkreplyhttpimpl.cpp.

References cacheSaveDevice.

◆ _q_error()

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

Definition at line 2233 of file qnetworkreplyhttpimpl.cpp.

◆ _q_finished()

void QNetworkReplyHttpImplPrivate::_q_finished ( )

Definition at line 2187 of file qnetworkreplyhttpimpl.cpp.

References finished().

Here is the call graph for this function:

◆ _q_metaDataChanged()

void QNetworkReplyHttpImplPrivate::_q_metaDataChanged ( )

Definition at line 2259 of file qnetworkreplyhttpimpl.cpp.

Referenced by replyDownloadMetaData().

Here is the caller graph for this function:

◆ _q_startOperation()

void QNetworkReplyHttpImplPrivate::_q_startOperation ( )

Definition at line 1972 of file qnetworkreplyhttpimpl.cpp.

References setupTransferTimeout(), and synchronous.

Here is the call graph for this function:

◆ _q_transferTimedOut()

void QNetworkReplyHttpImplPrivate::_q_transferTimedOut ( )

Definition at line 2120 of file qnetworkreplyhttpimpl.cpp.

◆ canResume()

bool QNetworkReplyHttpImplPrivate::canResume ( ) const

Definition at line 1937 of file qnetworkreplyhttpimpl.cpp.

References downloadZerocopyBuffer.

◆ checkForRedirect()

void QNetworkReplyHttpImplPrivate::checkForRedirect ( const int statusCode)

Definition at line 1396 of file qnetworkreplyhttpimpl.cpp.

Referenced by replyDownloadMetaData(), and sendCacheContents().

Here is the caller graph for this function:

◆ completeCacheSave()

void QNetworkReplyHttpImplPrivate::completeCacheSave ( )

Definition at line 2327 of file qnetworkreplyhttpimpl.cpp.

References cacheEnabled, and cacheSaveDevice.

Referenced by finished().

Here is the caller graph for this function:

◆ convert()

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

Definition at line 637 of file qnetworkreplyhttpimpl.cpp.

◆ createCache()

void QNetworkReplyHttpImplPrivate::createCache ( )

Definition at line 2282 of file qnetworkreplyhttpimpl.cpp.

References cacheEnabled.

Referenced by setCachingEnabled().

Here is the caller graph for this function:

◆ createRedirectRequest()

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

Definition at line 1284 of file qnetworkreplyhttpimpl.cpp.

◆ createUploadByteDevice()

QNonContiguousByteDevice * QNetworkReplyHttpImplPrivate::createUploadByteDevice ( )

Definition at line 2167 of file qnetworkreplyhttpimpl.cpp.

References outgoingData.

◆ emitReplyUploadProgress()

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

Definition at line 2147 of file qnetworkreplyhttpimpl.cpp.

References setupTransferTimeout().

Here is the call graph for this function:

◆ error()

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

Definition at line 2239 of file qnetworkreplyhttpimpl.cpp.

◆ fetchCacheMetaData()

QNetworkCacheMetaData QNetworkReplyHttpImplPrivate::fetchCacheMetaData ( const QNetworkCacheMetaData & metaData) const

Definition at line 1809 of file qnetworkreplyhttpimpl.cpp.

References statusCode.

◆ finished()

void QNetworkReplyHttpImplPrivate::finished ( )

Definition at line 2193 of file qnetworkreplyhttpimpl.cpp.

References completeCacheSave().

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 1379 of file qnetworkreplyhttpimpl.cpp.

Referenced by onRedirected().

Here is the caller graph for this function:

◆ getRedirectOperation()

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

Definition at line 1259 of file qnetworkreplyhttpimpl.cpp.

◆ httpAuthenticationRequired()

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

Definition at line 1582 of file qnetworkreplyhttpimpl.cpp.

◆ httpError()

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

Definition at line 1596 of file qnetworkreplyhttpimpl.cpp.

◆ initCacheSaveDevice()

void QNetworkReplyHttpImplPrivate::initCacheSaveDevice ( )

Definition at line 1091 of file qnetworkreplyhttpimpl.cpp.

References cacheEnabled, and cacheSaveDevice.

Referenced by replyDownloadData(), and replyDownloadProgressSlot().

Here is the caller graph for this function:

◆ invalidateCache()

void QNetworkReplyHttpImplPrivate::invalidateCache ( )

Definition at line 1084 of file qnetworkreplyhttpimpl.cpp.

Referenced by postRequest().

Here is the caller graph for this function:

◆ isCachingAllowed()

bool QNetworkReplyHttpImplPrivate::isCachingAllowed ( ) const

Definition at line 2322 of file qnetworkreplyhttpimpl.cpp.

Referenced by replyDownloadData(), and replyDownloadProgressSlot().

Here is the caller graph for this function:

◆ isCachingEnabled()

bool QNetworkReplyHttpImplPrivate::isCachingEnabled ( ) const

Definition at line 2291 of file qnetworkreplyhttpimpl.cpp.

Referenced by replyDownloadMetaData().

Here is the caller graph for this function:

◆ isHttpRedirectResponse()

bool QNetworkReplyHttpImplPrivate::isHttpRedirectResponse ( ) const

Definition at line 1279 of file qnetworkreplyhttpimpl.cpp.

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

Here is the caller graph for this function:

◆ loadFromCacheIfAllowed()

bool QNetworkReplyHttpImplPrivate::loadFromCacheIfAllowed ( QHttpNetworkRequest & httpRequest)

Definition at line 504 of file qnetworkreplyhttpimpl.cpp.

◆ maybeDropUploadDevice()

void QNetworkReplyHttpImplPrivate::maybeDropUploadDevice ( const QNetworkRequest & newHttpRequest)

Definition at line 650 of file qnetworkreplyhttpimpl.cpp.

References outgoingData.

◆ onRedirected()

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

Definition at line 1295 of file qnetworkreplyhttpimpl.cpp.

References followRedirect(), QNetworkHeadersPrivate::fromCookieList(), and outgoingData.

Here is the call graph for this function:

◆ postRequest()

void QNetworkReplyHttpImplPrivate::postRequest ( const QNetworkRequest & newHttpRequest)

Definition at line 693 of file qnetworkreplyhttpimpl.cpp.

References finished(), invalidateCache(), loadingFromCache, outgoingData, QHttpThreadDelegate::ssl, QHttpThreadDelegate::synchronous, and synchronous.

Here is the call graph for this function:

◆ proxyAuthenticationRequired()

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

Definition at line 1589 of file qnetworkreplyhttpimpl.cpp.

◆ replyDownloadData()

void QNetworkReplyHttpImplPrivate::replyDownloadData ( QByteArray d)

Definition at line 1132 of file qnetworkreplyhttpimpl.cpp.

References cacheEnabled, cacheSaveDevice, initCacheSaveDevice(), isCachingAllowed(), isHttpRedirectResponse(), setupTransferTimeout(), and synchronous.

Here is the call graph for this function:

◆ replyDownloadMetaData()

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

Definition at line 1416 of file qnetworkreplyhttpimpl.cpp.

References _q_metaDataChanged(), checkForRedirect(), isCachingEnabled(), isHttpRedirectResponse(), setCachingEnabled(), and statusCode.

Here is the call graph for this function:

◆ replyDownloadProgressSlot()

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

Definition at line 1533 of file qnetworkreplyhttpimpl.cpp.

References cacheEnabled, cacheSaveDevice, downloadZerocopyBuffer, initCacheSaveDevice(), isCachingAllowed(), isHttpRedirectResponse(), and setupTransferTimeout().

Here is the call graph for this function:

◆ replyEncrypted()

void QNetworkReplyHttpImplPrivate::replyEncrypted ( )

Definition at line 1608 of file qnetworkreplyhttpimpl.cpp.

◆ replyFinished()

void QNetworkReplyHttpImplPrivate::replyFinished ( )

Definition at line 1249 of file qnetworkreplyhttpimpl.cpp.

References finished(), and loadingFromCache.

Here is the call graph for this function:

◆ replyPreSharedKeyAuthenticationRequiredSlot()

void QNetworkReplyHttpImplPrivate::replyPreSharedKeyAuthenticationRequiredSlot ( QSslPreSharedKeyAuthenticator * authenticator)

Definition at line 1635 of file qnetworkreplyhttpimpl.cpp.

◆ replySslConfigurationChanged()

void QNetworkReplyHttpImplPrivate::replySslConfigurationChanged ( const QSslConfiguration & newSslConfiguration)

Definition at line 1626 of file qnetworkreplyhttpimpl.cpp.

◆ replySslErrors()

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

Definition at line 1614 of file qnetworkreplyhttpimpl.cpp.

References pendingIgnoreAllSslErrors.

◆ resetUploadDataSlot()

void QNetworkReplyHttpImplPrivate::resetUploadDataSlot ( bool * r)

Definition at line 1643 of file qnetworkreplyhttpimpl.cpp.

◆ sendCacheContents()

bool QNetworkReplyHttpImplPrivate::sendCacheContents ( const QNetworkCacheMetaData & metaData)

Definition at line 1710 of file qnetworkreplyhttpimpl.cpp.

References cacheLoadDevice, checkForRedirect(), isHttpRedirectResponse(), loadingFromCache, setCachingEnabled(), and statusCode.

Here is the call graph for this function:

◆ sentUploadDataSlot()

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

Definition at line 1653 of file qnetworkreplyhttpimpl.cpp.

◆ setCachingEnabled()

void QNetworkReplyHttpImplPrivate::setCachingEnabled ( bool enable)

Definition at line 2296 of file qnetworkreplyhttpimpl.cpp.

References cacheEnabled, cacheSaveDevice, and createCache().

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 1967 of file qnetworkreplyhttpimpl.cpp.

◆ setupTransferTimeout()

void QNetworkReplyHttpImplPrivate::setupTransferTimeout ( )

Definition at line 2126 of file qnetworkreplyhttpimpl.cpp.

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

Here is the caller graph for this function:

◆ uploadByteDeviceReadyReadSlot()

void QNetworkReplyHttpImplPrivate::uploadByteDeviceReadyReadSlot ( )

Definition at line 1695 of file qnetworkreplyhttpimpl.cpp.

References uploadDeviceChoking.

◆ wantUploadDataSlot()

void QNetworkReplyHttpImplPrivate::wantUploadDataSlot ( qint64 maxSize)

Definition at line 1668 of file qnetworkreplyhttpimpl.cpp.

References uploadDeviceChoking.

Member Data Documentation

◆ bytesBuffered

qint64 QNetworkReplyHttpImplPrivate::bytesBuffered

Definition at line 205 of file qnetworkreplyhttpimpl_p.h.

◆ bytesDownloaded

qint64 QNetworkReplyHttpImplPrivate::bytesDownloaded

Definition at line 204 of file qnetworkreplyhttpimpl_p.h.

◆ bytesUploaded

qint64 QNetworkReplyHttpImplPrivate::bytesUploaded

Definition at line 177 of file qnetworkreplyhttpimpl_p.h.

◆ cacheEnabled

◆ cacheLoadDevice

QIODevice* QNetworkReplyHttpImplPrivate::cacheLoadDevice

◆ cacheSaveDevice

◆ decompressHelper

QDecompressHelper QNetworkReplyHttpImplPrivate::decompressHelper

Definition at line 233 of file qnetworkreplyhttpimpl_p.h.

◆ downloadBufferCurrentSize

qint64 QNetworkReplyHttpImplPrivate::downloadBufferCurrentSize

Definition at line 216 of file qnetworkreplyhttpimpl_p.h.

◆ downloadBufferPointer

QSharedPointer<char> QNetworkReplyHttpImplPrivate::downloadBufferPointer

Definition at line 217 of file qnetworkreplyhttpimpl_p.h.

◆ downloadBufferReadPosition

qint64 QNetworkReplyHttpImplPrivate::downloadBufferReadPosition

Definition at line 215 of file qnetworkreplyhttpimpl_p.h.

◆ downloadZerocopyBuffer

char* QNetworkReplyHttpImplPrivate::downloadZerocopyBuffer

◆ httpRequest

QHttpNetworkRequest QNetworkReplyHttpImplPrivate::httpRequest

Definition at line 157 of file qnetworkreplyhttpimpl_p.h.

◆ lastProxyAuthentication

QNetworkProxy QNetworkReplyHttpImplPrivate::lastProxyAuthentication

Definition at line 196 of file qnetworkreplyhttpimpl_p.h.

◆ lastReadyReadEmittedSize

qint64 QNetworkReplyHttpImplPrivate::lastReadyReadEmittedSize = 0

Definition at line 209 of file qnetworkreplyhttpimpl_p.h.

◆ loadingFromCache

bool QNetworkReplyHttpImplPrivate::loadingFromCache

◆ manager

QNetworkAccessManager* QNetworkReplyHttpImplPrivate::manager

Definition at line 155 of file qnetworkreplyhttpimpl_p.h.

◆ managerPrivate

QNetworkAccessManagerPrivate* QNetworkReplyHttpImplPrivate::managerPrivate

Definition at line 156 of file qnetworkreplyhttpimpl_p.h.

◆ outgoingData

QIODevice* QNetworkReplyHttpImplPrivate::outgoingData

◆ outgoingDataBuffer

std::shared_ptr<QRingBuffer> QNetworkReplyHttpImplPrivate::outgoingDataBuffer

Definition at line 173 of file qnetworkreplyhttpimpl_p.h.

◆ pendingDownloadDataEmissions

std::shared_ptr<QAtomicInt> QNetworkReplyHttpImplPrivate::pendingDownloadDataEmissions

Definition at line 221 of file qnetworkreplyhttpimpl_p.h.

◆ pendingDownloadProgressEmissions

std::shared_ptr<QAtomicInt> QNetworkReplyHttpImplPrivate::pendingDownloadProgressEmissions

Definition at line 222 of file qnetworkreplyhttpimpl_p.h.

◆ pendingIgnoreAllSslErrors

bool QNetworkReplyHttpImplPrivate::pendingIgnoreAllSslErrors

Definition at line 227 of file qnetworkreplyhttpimpl_p.h.

Referenced by QNetworkReplyHttpImplPrivate(), and replySslErrors().

◆ pendingIgnoreSslErrorsList

QList<QSslError> QNetworkReplyHttpImplPrivate::pendingIgnoreSslErrorsList

Definition at line 228 of file qnetworkreplyhttpimpl_p.h.

◆ reasonPhrase

QString QNetworkReplyHttpImplPrivate::reasonPhrase

Definition at line 164 of file qnetworkreplyhttpimpl_p.h.

◆ redirectRequest

QNetworkRequest QNetworkReplyHttpImplPrivate::redirectRequest

Definition at line 231 of file qnetworkreplyhttpimpl_p.h.

◆ resumeOffset

quint64 QNetworkReplyHttpImplPrivate::resumeOffset

Definition at line 202 of file qnetworkreplyhttpimpl_p.h.

◆ sslConfiguration

std::unique_ptr<QSslConfiguration> QNetworkReplyHttpImplPrivate::sslConfiguration

Definition at line 226 of file qnetworkreplyhttpimpl_p.h.

◆ state

State QNetworkReplyHttpImplPrivate::state

Definition at line 160 of file qnetworkreplyhttpimpl_p.h.

◆ statusCode

int QNetworkReplyHttpImplPrivate::statusCode

◆ synchronous

bool QNetworkReplyHttpImplPrivate::synchronous

◆ transferTimeout

QTimer* QNetworkReplyHttpImplPrivate::transferTimeout

Definition at line 211 of file qnetworkreplyhttpimpl_p.h.

◆ uploadByteDevice

std::shared_ptr<QNonContiguousByteDevice> QNetworkReplyHttpImplPrivate::uploadByteDevice

Definition at line 169 of file qnetworkreplyhttpimpl_p.h.

◆ uploadByteDevicePosition

qint64 QNetworkReplyHttpImplPrivate::uploadByteDevicePosition

Definition at line 170 of file qnetworkreplyhttpimpl_p.h.

◆ uploadDeviceChoking

bool QNetworkReplyHttpImplPrivate::uploadDeviceChoking

◆ urlForLastAuthentication

QUrl QNetworkReplyHttpImplPrivate::urlForLastAuthentication

Definition at line 194 of file qnetworkreplyhttpimpl_p.h.


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