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

#include <qhttpnetworkheader_p.h>

+ Inheritance diagram for QHttpNetworkHeaderPrivate:
+ Collaboration diagram for QHttpNetworkHeaderPrivate:

Public Member Functions

 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
 

Public Attributes

QUrl url
 
QHttpHeaderParser parser
 
- Public Attributes inherited from QSharedData
QAtomicInt ref
 

Detailed Description

Definition at line 49 of file qhttpnetworkheader_p.h.

Constructor & Destructor Documentation

◆ QHttpNetworkHeaderPrivate() [1/2]

QHttpNetworkHeaderPrivate::QHttpNetworkHeaderPrivate ( const QUrl & newUrl = QUrl())

Definition at line 13 of file qhttpnetworkheader.cpp.

◆ QHttpNetworkHeaderPrivate() [2/2]

QHttpNetworkHeaderPrivate::QHttpNetworkHeaderPrivate ( const QHttpNetworkHeaderPrivate & other)
default

Member Function Documentation

◆ clearHeaders()

void QHttpNetworkHeaderPrivate::clearHeaders ( )

Definition at line 64 of file qhttpnetworkheader.cpp.

◆ contentLength()

qint64 QHttpNetworkHeaderPrivate::contentLength ( ) const

Definition at line 18 of file qhttpnetworkheader.cpp.

◆ headerField()

QByteArray QHttpNetworkHeaderPrivate::headerField ( QByteArrayView name,
const QByteArray & defaultValue = QByteArray() ) const

Definition at line 35 of file qhttpnetworkheader.cpp.

◆ headerFieldValues()

QList< QByteArray > QHttpNetworkHeaderPrivate::headerFieldValues ( QByteArrayView name) const

Definition at line 44 of file qhttpnetworkheader.cpp.

◆ headers()

QHttpHeaders QHttpNetworkHeaderPrivate::headers ( ) const

Definition at line 59 of file qhttpnetworkheader.cpp.

◆ operator==()

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

Definition at line 69 of file qhttpnetworkheader.cpp.

◆ prependHeaderField()

void QHttpNetworkHeaderPrivate::prependHeaderField ( const QByteArray & name,
const QByteArray & data )

Definition at line 54 of file qhttpnetworkheader.cpp.

◆ setContentLength()

void QHttpNetworkHeaderPrivate::setContentLength ( qint64 length)

Definition at line 30 of file qhttpnetworkheader.cpp.

◆ setHeaderField()

void QHttpNetworkHeaderPrivate::setHeaderField ( const QByteArray & name,
const QByteArray & data )

Definition at line 49 of file qhttpnetworkheader.cpp.

Member Data Documentation

◆ parser

QHttpHeaderParser QHttpNetworkHeaderPrivate::parser

Definition at line 53 of file qhttpnetworkheader_p.h.

◆ url

QUrl QHttpNetworkHeaderPrivate::url

Definition at line 52 of file qhttpnetworkheader_p.h.


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