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
QHttpHeadersPrivate Class Reference
Inheritance diagram for QHttpHeadersPrivate:
Collaboration diagram for QHttpHeadersPrivate:

Public Types

using Self = QExplicitlySharedDataPointer<QHttpHeadersPrivate>
using Self = QExplicitlySharedDataPointer<QHttpHeadersPrivate>

Public Member Functions

 QHttpHeadersPrivate ()=default
void combinedValue (const HeaderName &name, QByteArray &result) const
void values (const HeaderName &name, QList< QByteArray > &result) const
QByteArrayView value (const HeaderName &name, QByteArrayView defaultValue) const noexcept
void forEachHeader (QAnyStringView name, qxp::function_ref< void(QByteArrayView)> yield)
std::optional< QByteArrayViewfindValue (const HeaderName &name) const noexcept
 QHttpHeadersPrivate ()=default
void combinedValue (const HeaderName &name, QByteArray &result) const
void values (const HeaderName &name, QList< QByteArray > &result) const
QByteArrayView value (const HeaderName &name, QByteArrayView defaultValue) const noexcept
void forEachHeader (QAnyStringView name, qxp::function_ref< void(QByteArrayView)> yield)
std::optional< QByteArrayViewfindValue (const HeaderName &name) const noexcept
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 void removeAll (Self &d, const HeaderName &name)
static void replaceOrAppend (Self &d, const HeaderName &name, QByteArray value)
static void removeAll (Self &d, const HeaderName &name)
static void replaceOrAppend (Self &d, const HeaderName &name, QByteArray value)

Public Attributes

QList< Headerheaders
Public Attributes inherited from QSharedData
QAtomicInt ref

Detailed Description

Definition at line 789 of file qhttpheaders.cpp.

Member Typedef Documentation

◆ Self [1/2]

◆ Self [2/2]

Constructor & Destructor Documentation

◆ QHttpHeadersPrivate() [1/2]

QHttpHeadersPrivate::QHttpHeadersPrivate ( )
default

◆ QHttpHeadersPrivate() [2/2]

QHttpHeadersPrivate::QHttpHeadersPrivate ( )
default

Member Function Documentation

◆ combinedValue() [1/2]

void QHttpHeadersPrivate::combinedValue ( const HeaderName & name,
QByteArray & result ) const

Definition at line 836 of file qhttpheaders.cpp.

◆ combinedValue() [2/2]

void QHttpHeadersPrivate::combinedValue ( const HeaderName & name,
QByteArray & result ) const

◆ findValue() [1/2]

std::optional< QByteArrayView > QHttpHeadersPrivate::findValue ( const HeaderName & name) const
noexcept

Definition at line 891 of file qhttpheaders.cpp.

◆ findValue() [2/2]

std::optional< QByteArrayView > QHttpHeadersPrivate::findValue ( const HeaderName & name) const
noexcept

◆ forEachHeader() [1/2]

void QHttpHeadersPrivate::forEachHeader ( QAnyStringView name,
qxp::function_ref< void(QByteArrayView)> yield )

Definition at line 882 of file qhttpheaders.cpp.

◆ forEachHeader() [2/2]

void QHttpHeadersPrivate::forEachHeader ( QAnyStringView name,
qxp::function_ref< void(QByteArrayView)> yield )

◆ removeAll() [1/2]

void QHttpHeadersPrivate::removeAll ( Self & d,
const HeaderName & name )
static

Definition at line 821 of file qhttpheaders.cpp.

References headerNameMatches().

Here is the call graph for this function:

◆ removeAll() [2/2]

void QHttpHeadersPrivate::removeAll ( Self & d,
const HeaderName & name )
static

◆ replaceOrAppend() [1/2]

void QHttpHeadersPrivate::replaceOrAppend ( Self & d,
const HeaderName & name,
QByteArray value )
static

Definition at line 865 of file qhttpheaders.cpp.

References headerNameMatches().

Here is the call graph for this function:

◆ replaceOrAppend() [2/2]

void QHttpHeadersPrivate::replaceOrAppend ( Self & d,
const HeaderName & name,
QByteArray value )
static

◆ value() [1/2]

QByteArrayView QHttpHeadersPrivate::value ( const HeaderName & name,
QByteArrayView defaultValue ) const
noexcept

Definition at line 856 of file qhttpheaders.cpp.

◆ value() [2/2]

QByteArrayView QHttpHeadersPrivate::value ( const HeaderName & name,
QByteArrayView defaultValue ) const
noexcept

◆ values() [1/2]

void QHttpHeadersPrivate::values ( const HeaderName & name,
QList< QByteArray > & result ) const

Definition at line 848 of file qhttpheaders.cpp.

◆ values() [2/2]

void QHttpHeadersPrivate::values ( const HeaderName & name,
QList< QByteArray > & result ) const

Member Data Documentation

◆ headers

QList< Header > QHttpHeadersPrivate::headers

Definition at line 807 of file qhttpheaders.cpp.


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