Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QHttpNetworkRequestPrivate Class Reference

#include <qhttpnetworkrequest_p.h>

+ Inheritance diagram for QHttpNetworkRequestPrivate:
+ Collaboration diagram for QHttpNetworkRequestPrivate:

Public Member Functions

 QHttpNetworkRequestPrivate (QHttpNetworkRequest::Operation op, QHttpNetworkRequest::Priority pri, const QUrl &newUrl=QUrl())
 
 QHttpNetworkRequestPrivate (const QHttpNetworkRequestPrivate &other)
 
 ~QHttpNetworkRequestPrivate ()
 
bool operator== (const QHttpNetworkRequestPrivate &other) const
 
- Public Member Functions inherited from QHttpNetworkHeaderPrivate
 QHttpNetworkHeaderPrivate (const QUrl &newUrl=QUrl())
 
 QHttpNetworkHeaderPrivate (const QHttpNetworkHeaderPrivate &other)=default
 
qint64 contentLength () const
 
void setContentLength (qint64 length)
 
QByteArray headerField (QByteArrayView name, const QByteArray &defaultValue=QByteArray()) const
 
QList< QByteArrayheaderFieldValues (QByteArrayView name) const
 
void setHeaderField (const QByteArray &name, const QByteArray &data)
 
void prependHeaderField (const QByteArray &name, const QByteArray &data)
 
void clearHeaders ()
 
QHttpHeaders headers () const
 
bool operator== (const QHttpNetworkHeaderPrivate &other) const
 
- Public Member Functions inherited from QSharedData
 QSharedData () noexcept
 Constructs a QSharedData object with a reference count of 0.
 
 QSharedData (const QSharedData &) noexcept
 Constructs a QSharedData object with reference count 0.
 
QSharedDataoperator= (const QSharedData &)=delete
 
 ~QSharedData ()=default
 

Static Public Member Functions

static QByteArray header (const QHttpNetworkRequest &request, bool throughProxy)
 

Public Attributes

QHttpNetworkRequest::Operation operation
 
QByteArray customVerb
 
QHttpNetworkRequest::Priority priority
 
QNonContiguousByteDeviceuploadByteDevice
 
bool autoDecompress
 
bool pipeliningAllowed
 
bool http2Allowed
 
bool http2Direct
 
bool h2cAllowed = false
 
bool withCredentials
 
bool ssl
 
bool preConnect
 
bool needResendWithCredentials = false
 
int redirectCount
 
QNetworkRequest::RedirectPolicy redirectPolicy
 
QString peerVerifyName
 
- Public Attributes inherited from QHttpNetworkHeaderPrivate
QUrl url
 
QHttpHeaderParser parser
 
- Public Attributes inherited from QSharedData
QAtomicInt ref
 

Detailed Description

Definition at line 130 of file qhttpnetworkrequest_p.h.

Constructor & Destructor Documentation

◆ QHttpNetworkRequestPrivate() [1/2]

QT_BEGIN_NAMESPACE QHttpNetworkRequestPrivate::QHttpNetworkRequestPrivate ( QHttpNetworkRequest::Operation op,
QHttpNetworkRequest::Priority pri,
const QUrl & newUrl = QUrl() )

Definition at line 11 of file qhttpnetworkrequest.cpp.

◆ QHttpNetworkRequestPrivate() [2/2]

QHttpNetworkRequestPrivate::QHttpNetworkRequestPrivate ( const QHttpNetworkRequestPrivate & other)

Definition at line 20 of file qhttpnetworkrequest.cpp.

◆ ~QHttpNetworkRequestPrivate()

QHttpNetworkRequestPrivate::~QHttpNetworkRequestPrivate ( )

Definition at line 41 of file qhttpnetworkrequest.cpp.

Member Function Documentation

◆ header()

QByteArray QHttpNetworkRequestPrivate::header ( const QHttpNetworkRequest & request,
bool throughProxy )
static

Definition at line 113 of file qhttpnetworkrequest.cpp.

References ba, QUrl::FullyEncoded, QUrl::hasQuery(), QNetworkRequest::header(), QHttpNetworkHeaderPrivate::headers(), i, QHttpHeaders::nameAt(), QByteArray::number(), QHttpNetworkRequest::Post, QUrl::query(), qWarning, request, QByteArray::reserve(), QHttpHeaders::size(), QString::toLatin1(), QNetworkRequestPrivate::url, and QHttpHeaders::valueAt().

Referenced by QHttpNetworkConnectionChannel::pipelineInto(), and QHttpProtocolHandler::sendRequest().

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

◆ operator==()

bool QHttpNetworkRequestPrivate::operator== ( const QHttpNetworkRequestPrivate & other) const

Definition at line 45 of file qhttpnetworkrequest.cpp.

References autoDecompress, QHttpNetworkRequest::Custom, customVerb, h2cAllowed, http2Allowed, http2Direct, needResendWithCredentials, operation, QHttpNetworkHeaderPrivate::operator==(), other(), peerVerifyName, pipeliningAllowed, preConnect, priority, redirectPolicy, ssl, uploadByteDevice, and withCredentials.

+ Here is the call graph for this function:

Member Data Documentation

◆ autoDecompress

bool QHttpNetworkRequestPrivate::autoDecompress

◆ customVerb

◆ h2cAllowed

bool QHttpNetworkRequestPrivate::h2cAllowed = false

◆ http2Allowed

bool QHttpNetworkRequestPrivate::http2Allowed

◆ http2Direct

bool QHttpNetworkRequestPrivate::http2Direct

◆ needResendWithCredentials

bool QHttpNetworkRequestPrivate::needResendWithCredentials = false

Definition at line 153 of file qhttpnetworkrequest_p.h.

Referenced by operator==().

◆ operation

◆ peerVerifyName

QString QHttpNetworkRequestPrivate::peerVerifyName

◆ pipeliningAllowed

bool QHttpNetworkRequestPrivate::pipeliningAllowed

◆ preConnect

bool QHttpNetworkRequestPrivate::preConnect

◆ priority

QHttpNetworkRequest::Priority QHttpNetworkRequestPrivate::priority

◆ redirectCount

int QHttpNetworkRequestPrivate::redirectCount

◆ redirectPolicy

◆ ssl

bool QHttpNetworkRequestPrivate::ssl

◆ uploadByteDevice

◆ withCredentials

bool QHttpNetworkRequestPrivate::withCredentials

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