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

Public Types

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
 
- 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, const QByteArray &value)
 

Public Attributes

QList< Headerheaders
 
- Public Attributes inherited from QSharedData
QAtomicInt ref
 

Detailed Description

Definition at line 783 of file qhttpheaders.cpp.

Member Typedef Documentation

◆ Self

Constructor & Destructor Documentation

◆ QHttpHeadersPrivate()

QHttpHeadersPrivate::QHttpHeadersPrivate ( )
default

Member Function Documentation

◆ combinedValue()

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

Definition at line 827 of file qhttpheaders.cpp.

◆ removeAll()

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

Definition at line 812 of file qhttpheaders.cpp.

References QSet< T >::cbegin(), QSet< T >::cend(), d, headerNameMatches(), and it.

Referenced by QHttpHeaders::removeAll(), and QHttpHeaders::removeAll().

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

◆ replaceOrAppend()

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

Definition at line 856 of file qhttpheaders.cpp.

References d, QSet< T >::end(), headerNameMatches(), and it.

Referenced by QHttpHeaders::replaceOrAppend(), and QHttpHeaders::replaceOrAppend().

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

◆ value()

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

Definition at line 847 of file qhttpheaders.cpp.

◆ values()

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

Definition at line 839 of file qhttpheaders.cpp.

Member Data Documentation

◆ headers

QList<Header> QHttpHeadersPrivate::headers

Definition at line 798 of file qhttpheaders.cpp.


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