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
QNetworkAccessManagerPrivate Class Reference

#include <qnetworkaccessmanager_p.h>

+ Inheritance diagram for QNetworkAccessManagerPrivate:
+ Collaboration diagram for QNetworkAccessManagerPrivate:

Public Member Functions

 QNetworkAccessManagerPrivate ()
 
 ~QNetworkAccessManagerPrivate ()
 
QThreadcreateThread ()
 
void destroyThread ()
 
void _q_replyFinished (QNetworkReply *reply)
 
void _q_replyEncrypted (QNetworkReply *reply)
 
void _q_replySslErrors (const QList< QSslError > &errors)
 
void _q_replyPreSharedKeyAuthenticationRequired (QSslPreSharedKeyAuthenticator *authenticator)
 
QNetworkReplypostProcess (QNetworkReply *reply)
 
void createCookieJar () const
 
void authenticationRequired (QAuthenticator *authenticator, QNetworkReply *reply, bool synchronous, QUrl &url, QUrl *urlForLastAuthentication, bool allowAuthenticationReuse=true)
 
void cacheCredentials (const QUrl &url, const QAuthenticator *auth)
 
QNetworkAuthenticationCredentialfetchCachedCredentials (const QUrl &url, const QAuthenticator *auth=nullptr)
 
void proxyAuthenticationRequired (const QUrl &url, const QNetworkProxy &proxy, bool synchronous, QAuthenticator *authenticator, QNetworkProxy *lastProxyAuthentication)
 
void cacheProxyCredentials (const QNetworkProxy &proxy, const QAuthenticator *auth)
 
QNetworkAuthenticationCredentialfetchCachedProxyCredentials (const QNetworkProxy &proxy, const QAuthenticator *auth=nullptr)
 
QList< QNetworkProxyqueryProxy (const QNetworkProxyQuery &query)
 
QNetworkAccessBackendfindBackend (QNetworkAccessManager::Operation op, const QNetworkRequest &request)
 
QStringList backendSupportedSchemes () const
 
void ensureBackendPluginsLoaded ()
 
- 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)
 
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
 
QMetaObjectdynamicMetaObject () const
 

Static Public Member Functions

static Q_AUTOTEST_EXPORT void clearAuthenticationCache (QNetworkAccessManager *manager)
 
static Q_AUTOTEST_EXPORT void clearConnectionCache (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)
 

Public Attributes

QAbstractNetworkCachenetworkCache
 
QNetworkCookieJarcookieJar
 
QThreadthread
 
QNetworkProxy proxy
 
QNetworkProxyFactoryproxyFactory
 
bool cookieJarCreated
 
bool defaultAccessControl
 
QNetworkRequest::RedirectPolicy redirectPolicy = QNetworkRequest::NoLessSafeRedirectPolicy
 
std::shared_ptr< QNetworkAccessAuthenticationManagerauthenticationManager
 
QNetworkAccessCache objectCache
 
QHstsCache stsCache
 
bool stsEnabled = false
 
bool autoDeleteReplies = false
 
std::chrono::milliseconds transferTimeout {0}
 
- 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
 

Additional Inherited Members

- Public Types inherited from QObjectPrivate
typedef void(*) StaticMetaCallFunction(QObject *, QMetaObject::Call, int, void **)
 
using ConnectionDataPointer = QExplicitlySharedDataPointer<ConnectionData>
 

Detailed Description

Definition at line 40 of file qnetworkaccessmanager_p.h.

Constructor & Destructor Documentation

◆ QNetworkAccessManagerPrivate()

QNetworkAccessManagerPrivate::QNetworkAccessManagerPrivate ( )
inline

Definition at line 43 of file qnetworkaccessmanager_p.h.

References QNetworkAccessManagerPrivate(), cookieJar, cookieJarCreated, defaultAccessControl, networkCache, and proxyFactory.

Referenced by QNetworkAccessManagerPrivate().

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

◆ ~QNetworkAccessManagerPrivate()

QNetworkAccessManagerPrivate::~QNetworkAccessManagerPrivate ( )

Definition at line 1725 of file qnetworkaccessmanager.cpp.

Member Function Documentation

◆ _q_replyEncrypted()

void QNetworkAccessManagerPrivate::_q_replyEncrypted ( QNetworkReply * reply)

Definition at line 1539 of file qnetworkaccessmanager.cpp.

◆ _q_replyFinished()

void QNetworkAccessManagerPrivate::_q_replyFinished ( QNetworkReply * reply)

Definition at line 1530 of file qnetworkaccessmanager.cpp.

◆ _q_replyPreSharedKeyAuthenticationRequired()

void QNetworkAccessManagerPrivate::_q_replyPreSharedKeyAuthenticationRequired ( QSslPreSharedKeyAuthenticator * authenticator)

Definition at line 1562 of file qnetworkaccessmanager.cpp.

◆ _q_replySslErrors()

void QNetworkAccessManagerPrivate::_q_replySslErrors ( const QList< QSslError > & errors)

Definition at line 1549 of file qnetworkaccessmanager.cpp.

◆ authenticationRequired()

void QNetworkAccessManagerPrivate::authenticationRequired ( QAuthenticator * authenticator,
QNetworkReply * reply,
bool synchronous,
QUrl & url,
QUrl * urlForLastAuthentication,
bool allowAuthenticationReuse = true )

Definition at line 1599 of file qnetworkaccessmanager.cpp.

◆ backendSupportedSchemes()

QStringList QNetworkAccessManagerPrivate::backendSupportedSchemes ( ) const

Definition at line 76 of file qnetworkaccessbackend.cpp.

◆ cacheCredentials()

void QNetworkAccessManagerPrivate::cacheCredentials ( const QUrl & url,
const QAuthenticator * auth )

◆ cacheProxyCredentials()

void QNetworkAccessManagerPrivate::cacheProxyCredentials ( const QNetworkProxy & proxy,
const QAuthenticator * auth )

◆ clearAuthenticationCache()

void QNetworkAccessManagerPrivate::clearAuthenticationCache ( QNetworkAccessManager * manager)
static

Definition at line 1714 of file qnetworkaccessmanager.cpp.

◆ clearConnectionCache()

void QNetworkAccessManagerPrivate::clearConnectionCache ( QNetworkAccessManager * manager)
static

Definition at line 1719 of file qnetworkaccessmanager.cpp.

◆ createCookieJar()

void QNetworkAccessManagerPrivate::createCookieJar ( ) const

Definition at line 1589 of file qnetworkaccessmanager.cpp.

◆ createThread()

QThread * QNetworkAccessManagerPrivate::createThread ( )

Definition at line 1730 of file qnetworkaccessmanager.cpp.

◆ destroyThread()

void QNetworkAccessManagerPrivate::destroyThread ( )

Definition at line 1741 of file qnetworkaccessmanager.cpp.

◆ ensureBackendPluginsLoaded()

void QNetworkAccessManagerPrivate::ensureBackendPluginsLoaded ( )

Go through the instances so the factories will be created and register themselves to QNetworkAccessBackendFactoryData

Definition at line 1813 of file qnetworkaccessmanager.cpp.

◆ fetchCachedCredentials()

QNetworkAuthenticationCredential * QNetworkAccessManagerPrivate::fetchCachedCredentials ( const QUrl & url,
const QAuthenticator * auth = nullptr )

◆ fetchCachedProxyCredentials()

QNetworkAuthenticationCredential * QNetworkAccessManagerPrivate::fetchCachedProxyCredentials ( const QNetworkProxy & proxy,
const QAuthenticator * auth = nullptr )

◆ findBackend()

QNetworkAccessBackend * QNetworkAccessManagerPrivate::findBackend ( QNetworkAccessManager::Operation op,
const QNetworkRequest & request )

Definition at line 57 of file qnetworkaccessbackend.cpp.

◆ postProcess()

QNetworkReply * QNetworkAccessManagerPrivate::postProcess ( QNetworkReply * reply)

Definition at line 1571 of file qnetworkaccessmanager.cpp.

◆ proxyAuthenticationRequired()

void QNetworkAccessManagerPrivate::proxyAuthenticationRequired ( const QUrl & url,
const QNetworkProxy & proxy,
bool synchronous,
QAuthenticator * authenticator,
QNetworkProxy * lastProxyAuthentication )

Definition at line 1646 of file qnetworkaccessmanager.cpp.

◆ queryProxy()

QList< QNetworkProxy > QNetworkAccessManagerPrivate::queryProxy ( const QNetworkProxyQuery & query)

Definition at line 1693 of file qnetworkaccessmanager.cpp.

Member Data Documentation

◆ authenticationManager

std::shared_ptr<QNetworkAccessAuthenticationManager> QNetworkAccessManagerPrivate::authenticationManager

Definition at line 117 of file qnetworkaccessmanager_p.h.

◆ autoDeleteReplies

bool QNetworkAccessManagerPrivate::autoDeleteReplies = false

Definition at line 132 of file qnetworkaccessmanager_p.h.

◆ cookieJar

QNetworkCookieJar* QNetworkAccessManagerPrivate::cookieJar

Definition at line 102 of file qnetworkaccessmanager_p.h.

Referenced by QNetworkAccessManagerPrivate().

◆ cookieJarCreated

bool QNetworkAccessManagerPrivate::cookieJarCreated

Definition at line 112 of file qnetworkaccessmanager_p.h.

Referenced by QNetworkAccessManagerPrivate().

◆ defaultAccessControl

bool QNetworkAccessManagerPrivate::defaultAccessControl

Definition at line 113 of file qnetworkaccessmanager_p.h.

Referenced by QNetworkAccessManagerPrivate().

◆ networkCache

QAbstractNetworkCache* QNetworkAccessManagerPrivate::networkCache

Definition at line 100 of file qnetworkaccessmanager_p.h.

Referenced by QNetworkAccessManagerPrivate().

◆ objectCache

QNetworkAccessCache QNetworkAccessManagerPrivate::objectCache

Definition at line 121 of file qnetworkaccessmanager_p.h.

◆ proxy

QNetworkProxy QNetworkAccessManagerPrivate::proxy

Definition at line 108 of file qnetworkaccessmanager_p.h.

◆ proxyFactory

QNetworkProxyFactory* QNetworkAccessManagerPrivate::proxyFactory

Definition at line 109 of file qnetworkaccessmanager_p.h.

Referenced by QNetworkAccessManagerPrivate().

◆ redirectPolicy

QNetworkRequest::RedirectPolicy QNetworkAccessManagerPrivate::redirectPolicy = QNetworkRequest::NoLessSafeRedirectPolicy

Definition at line 114 of file qnetworkaccessmanager_p.h.

◆ stsCache

QHstsCache QNetworkAccessManagerPrivate::stsCache

Definition at line 126 of file qnetworkaccessmanager_p.h.

◆ stsEnabled

bool QNetworkAccessManagerPrivate::stsEnabled = false

Definition at line 130 of file qnetworkaccessmanager_p.h.

◆ thread

QThread* QNetworkAccessManagerPrivate::thread

Definition at line 104 of file qnetworkaccessmanager_p.h.

◆ transferTimeout

std::chrono::milliseconds QNetworkAccessManagerPrivate::transferTimeout {0}

Definition at line 134 of file qnetworkaccessmanager_p.h.


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