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 50 of file qhttpnetworkheader_p.h.

Constructor & Destructor Documentation

◆ QHttpNetworkHeaderPrivate() [1/2]

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

Definition at line 14 of file qhttpnetworkheader.cpp.

◆ QHttpNetworkHeaderPrivate() [2/2]

QHttpNetworkHeaderPrivate::QHttpNetworkHeaderPrivate ( const QHttpNetworkHeaderPrivate & other)
default

Member Function Documentation

◆ clearHeaders()

void QHttpNetworkHeaderPrivate::clearHeaders ( )

Definition at line 65 of file qhttpnetworkheader.cpp.

◆ contentLength()

qint64 QHttpNetworkHeaderPrivate::contentLength ( ) const

Definition at line 19 of file qhttpnetworkheader.cpp.

◆ headerField()

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

Definition at line 36 of file qhttpnetworkheader.cpp.

◆ headerFieldValues()

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

Definition at line 45 of file qhttpnetworkheader.cpp.

◆ headers()

QHttpHeaders QHttpNetworkHeaderPrivate::headers ( ) const

Definition at line 60 of file qhttpnetworkheader.cpp.

◆ operator==()

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

Definition at line 70 of file qhttpnetworkheader.cpp.

◆ prependHeaderField()

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

Definition at line 55 of file qhttpnetworkheader.cpp.

◆ setContentLength()

void QHttpNetworkHeaderPrivate::setContentLength ( qint64 length)

Definition at line 31 of file qhttpnetworkheader.cpp.

◆ setHeaderField()

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

Definition at line 50 of file qhttpnetworkheader.cpp.

Member Data Documentation

◆ parser

QHttpHeaderParser QHttpNetworkHeaderPrivate::parser

Definition at line 54 of file qhttpnetworkheader_p.h.

◆ url

QUrl QHttpNetworkHeaderPrivate::url

Definition at line 53 of file qhttpnetworkheader_p.h.


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