Qt 4.8
|
#include <qhttpnetworkreply_p.h>
Public Types | |
enum | ReplyState { NothingDoneState, ReadingStatusState, ReadingHeaderState, ReadingDataState, AllDoneState } |
Public Types inherited from QObjectPrivate | |
typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
Additional Inherited Members | |
Static Public Functions inherited from QObjectPrivate | |
static void | clearGuards (QObject *) |
static QObjectPrivate * | get (QObject *o) |
static void | resetCurrentSender (QObject *receiver, Sender *currentSender, Sender *previousSender) |
static Sender * | setCurrentSender (QObject *receiver, Sender *sender) |
static void | signalSignature (const QMetaMethod &signal, QVarLengthArray< char > *result) |
Definition at line 177 of file qhttpnetworkreply_p.h.
Enumerator | |
---|---|
NothingDoneState | |
ReadingStatusState | |
ReadingHeaderState | |
ReadingDataState | |
AllDoneState |
Definition at line 217 of file qhttpnetworkreply_p.h.
Definition at line 264 of file qhttpnetworkreply.cpp.
QHttpNetworkReplyPrivate::~QHttpNetworkReplyPrivate | ( | ) |
Definition at line 281 of file qhttpnetworkreply.cpp.
void QHttpNetworkReplyPrivate::appendCompressedReplyData | ( | QByteDataBuffer & | data | ) |
Definition at line 914 of file qhttpnetworkreply.cpp.
Referenced by QHttpNetworkConnectionChannel::_q_receiveReply().
void QHttpNetworkReplyPrivate::appendUncompressedReplyData | ( | QByteArray & | qba | ) |
Definition at line 896 of file qhttpnetworkreply.cpp.
Referenced by QHttpNetworkConnectionChannel::_q_receiveReply().
void QHttpNetworkReplyPrivate::appendUncompressedReplyData | ( | QByteDataBuffer & | data | ) |
Definition at line 905 of file qhttpnetworkreply.cpp.
QAuthenticatorPrivate::Method QHttpNetworkReplyPrivate::authenticationMethod | ( | bool | isProxy | ) | const |
Definition at line 359 of file qhttpnetworkreply.cpp.
qint64 QHttpNetworkReplyPrivate::bytesAvailable | ( | ) | const |
Definition at line 315 of file qhttpnetworkreply.cpp.
Referenced by getChunkSize().
void QHttpNetworkReplyPrivate::clear | ( | ) |
Definition at line 306 of file qhttpnetworkreply.cpp.
Referenced by QHttpNetworkConnectionChannel::sendRequest().
void QHttpNetworkReplyPrivate::clearHttpLayerInformation | ( | ) |
Definition at line 285 of file qhttpnetworkreply.cpp.
Referenced by QHttpNetworkConnectionChannel::_q_receiveReply(), and clear().
void QHttpNetworkReplyPrivate::eraseData | ( | ) |
Definition at line 952 of file qhttpnetworkreply.cpp.
bool QHttpNetworkReplyPrivate::expectContent | ( | ) |
Definition at line 933 of file qhttpnetworkreply.cpp.
Referenced by QHttpNetworkConnectionChannel::_q_receiveReply().
bool QHttpNetworkReplyPrivate::findChallenge | ( | bool | forProxy, |
QByteArray & | challenge | ||
) | const |
Definition at line 343 of file qhttpnetworkreply.cpp.
qint64 QHttpNetworkReplyPrivate::getChunkSize | ( | QAbstractSocket * | in, |
qint64 * | chunkSize | ||
) |
Definition at line 856 of file qhttpnetworkreply.cpp.
Referenced by readReplyBodyChunked().
int QHttpNetworkReplyPrivate::gunzipBodyPartially | ( | QByteArray & | compressed, |
QByteArray & | inflated | ||
) |
Definition at line 439 of file qhttpnetworkreply.cpp.
void QHttpNetworkReplyPrivate::gunzipBodyPartiallyEnd | ( | ) |
bool QHttpNetworkReplyPrivate::gzipCheckHeader | ( | QByteArray & | content, |
int & | pos | ||
) |
Definition at line 382 of file qhttpnetworkreply.cpp.
Referenced by gunzipBodyPartially().
bool QHttpNetworkReplyPrivate::isChunked | ( | ) |
Definition at line 686 of file qhttpnetworkreply.cpp.
Referenced by QHttpNetworkConnectionChannel::_q_receiveReply(), and readBody().
bool QHttpNetworkReplyPrivate::isConnectionCloseEnabled | ( | ) |
Definition at line 691 of file qhttpnetworkreply.cpp.
bool QHttpNetworkReplyPrivate::isGzipped | ( | ) |
Definition at line 320 of file qhttpnetworkreply.cpp.
Referenced by QHttpNetworkConnectionChannel::_q_receiveReply().
void QHttpNetworkReplyPrivate::parseHeader | ( | const QByteArray & | header | ) |
Definition at line 652 of file qhttpnetworkreply.cpp.
Referenced by readHeader().
bool QHttpNetworkReplyPrivate::parseStatus | ( | const QByteArray & | status | ) |
Definition at line 553 of file qhttpnetworkreply.cpp.
Referenced by readStatus().
qint64 QHttpNetworkReplyPrivate::readBody | ( | QAbstractSocket * | socket, |
QByteDataBuffer * | out | ||
) |
Definition at line 743 of file qhttpnetworkreply.cpp.
Referenced by QHttpNetworkConnectionChannel::_q_receiveReply().
qint64 QHttpNetworkReplyPrivate::readBodyFast | ( | QAbstractSocket * | socket, |
QByteDataBuffer * | rb | ||
) |
Definition at line 717 of file qhttpnetworkreply.cpp.
Referenced by QHttpNetworkConnectionChannel::_q_receiveReply().
qint64 QHttpNetworkReplyPrivate::readBodyVeryFast | ( | QAbstractSocket * | socket, |
char * | b | ||
) |
Definition at line 698 of file qhttpnetworkreply.cpp.
Referenced by QHttpNetworkConnectionChannel::_q_receiveReply().
qint64 QHttpNetworkReplyPrivate::readHeader | ( | QAbstractSocket * | socket | ) |
Definition at line 589 of file qhttpnetworkreply.cpp.
Referenced by QHttpNetworkConnectionChannel::_q_receiveReply().
qint64 QHttpNetworkReplyPrivate::readReplyBodyChunked | ( | QAbstractSocket * | in, |
QByteDataBuffer * | out | ||
) |
Definition at line 794 of file qhttpnetworkreply.cpp.
Referenced by readBody().
qint64 QHttpNetworkReplyPrivate::readReplyBodyRaw | ( | QAbstractSocket * | in, |
QByteDataBuffer * | out, | ||
qint64 | size | ||
) |
Definition at line 762 of file qhttpnetworkreply.cpp.
Referenced by readBody(), and readReplyBodyChunked().
qint64 QHttpNetworkReplyPrivate::readStatus | ( | QAbstractSocket * | socket | ) |
Definition at line 503 of file qhttpnetworkreply.cpp.
void QHttpNetworkReplyPrivate::removeAutoDecompressHeader | ( | ) |
Definition at line 326 of file qhttpnetworkreply.cpp.
Referenced by QHttpNetworkConnectionChannel::_q_receiveReply().
bool QHttpNetworkReplyPrivate::shouldEmitSignals | ( | ) |
Definition at line 926 of file qhttpnetworkreply.cpp.
Referenced by QHttpNetworkConnectionChannel::_q_receiveReply().
bool QHttpNetworkReplyPrivate::autoDecompress |
Definition at line 250 of file qhttpnetworkreply_p.h.
Referenced by QHttpNetworkConnectionChannel::_q_receiveReply(), clear(), and QHttpNetworkConnectionChannel::sendRequest().
qint64 QHttpNetworkReplyPrivate::bodyLength |
Definition at line 232 of file qhttpnetworkreply_p.h.
Referenced by QHttpNetworkConnectionChannel::_q_receiveReply(), clearHttpLayerInformation(), expectContent(), readBody(), readBodyFast(), readBodyVeryFast(), and readHeader().
bool QHttpNetworkReplyPrivate::chunkedTransferEncoding |
Definition at line 236 of file qhttpnetworkreply_p.h.
Referenced by isChunked(), and readHeader().
QByteArray QHttpNetworkReplyPrivate::compressedData |
Definition at line 253 of file qhttpnetworkreply_p.h.
Referenced by appendCompressedReplyData(), and eraseData().
QPointer<QHttpNetworkConnection> QHttpNetworkReplyPrivate::connection |
Definition at line 243 of file qhttpnetworkreply_p.h.
Referenced by clear(), and QHttpNetworkConnectionChannel::sendRequest().
QPointer<QHttpNetworkConnectionChannel> QHttpNetworkReplyPrivate::connectionChannel |
Definition at line 244 of file qhttpnetworkreply_p.h.
Referenced by clear(), and QHttpNetworkConnectionChannel::sendRequest().
bool QHttpNetworkReplyPrivate::connectionCloseEnabled |
Definition at line 237 of file qhttpnetworkreply_p.h.
Referenced by clearHttpLayerInformation(), isConnectionCloseEnabled(), and readHeader().
qint64 QHttpNetworkReplyPrivate::contentRead |
Definition at line 233 of file qhttpnetworkreply_p.h.
Referenced by clearHttpLayerInformation(), readBody(), readBodyFast(), and readBodyVeryFast().
qint64 QHttpNetworkReplyPrivate::currentChunkRead |
Definition at line 241 of file qhttpnetworkreply_p.h.
Referenced by clearHttpLayerInformation(), and readReplyBodyChunked().
qint64 QHttpNetworkReplyPrivate::currentChunkSize |
Definition at line 240 of file qhttpnetworkreply_p.h.
Referenced by clearHttpLayerInformation(), and readReplyBodyChunked().
bool QHttpNetworkReplyPrivate::downstreamLimited |
Definition at line 257 of file qhttpnetworkreply_p.h.
Referenced by QHttpNetworkConnectionChannel::_q_receiveReply().
QString QHttpNetworkReplyPrivate::errorString |
Definition at line 230 of file qhttpnetworkreply_p.h.
bool QHttpNetworkReplyPrivate::forceConnectionCloseEnabled |
Definition at line 238 of file qhttpnetworkreply_p.h.
Referenced by isConnectionCloseEnabled(), and readReplyBodyChunked().
QByteArray QHttpNetworkReplyPrivate::fragment |
Definition at line 235 of file qhttpnetworkreply_p.h.
Referenced by bytesAvailable(), getChunkSize(), readHeader(), and readStatus().
z_stream QHttpNetworkReplyPrivate::inflateStrm |
Definition at line 248 of file qhttpnetworkreply_p.h.
Referenced by clearHttpLayerInformation(), gunzipBodyPartially(), and gunzipBodyPartiallyEnd().
bool QHttpNetworkReplyPrivate::initInflate |
Definition at line 245 of file qhttpnetworkreply_p.h.
Referenced by clearHttpLayerInformation(), gunzipBodyPartially(), and gunzipBodyPartiallyEnd().
bool QHttpNetworkReplyPrivate::lastChunkRead |
Definition at line 239 of file qhttpnetworkreply_p.h.
Referenced by clearHttpLayerInformation(), and readReplyBodyChunked().
int QHttpNetworkReplyPrivate::majorVersion |
Definition at line 228 of file qhttpnetworkreply_p.h.
Referenced by parseStatus(), and readHeader().
int QHttpNetworkReplyPrivate::minorVersion |
Definition at line 229 of file qhttpnetworkreply_p.h.
Referenced by parseStatus(), and readHeader().
bool QHttpNetworkReplyPrivate::pipeliningUsed |
Definition at line 256 of file qhttpnetworkreply_p.h.
Referenced by QHttpNetworkConnectionChannel::sendRequest().
qint64 QHttpNetworkReplyPrivate::readBufferMaxSize |
Definition at line 242 of file qhttpnetworkreply_p.h.
Referenced by readBodyFast(), readReplyBodyChunked(), and readReplyBodyRaw().
QString QHttpNetworkReplyPrivate::reasonPhrase |
Definition at line 231 of file qhttpnetworkreply_p.h.
Referenced by parseStatus().
QHttpNetworkRequest QHttpNetworkReplyPrivate::request |
Definition at line 225 of file qhttpnetworkreply_p.h.
Referenced by expectContent().
bool QHttpNetworkReplyPrivate::requestIsPrepared |
Definition at line 254 of file qhttpnetworkreply_p.h.
QByteDataBuffer QHttpNetworkReplyPrivate::responseData |
Definition at line 252 of file qhttpnetworkreply_p.h.
Referenced by QHttpNetworkConnectionChannel::_q_receiveReply(), appendUncompressedReplyData(), and eraseData().
bool QHttpNetworkReplyPrivate::ssl |
Definition at line 226 of file qhttpnetworkreply_p.h.
enum QHttpNetworkReplyPrivate::ReplyState QHttpNetworkReplyPrivate::state |
int QHttpNetworkReplyPrivate::statusCode |
Definition at line 227 of file qhttpnetworkreply_p.h.
Referenced by QHttpNetworkConnectionChannel::_q_receiveReply(), clearHttpLayerInformation(), expectContent(), parseStatus(), and shouldEmitSignals().
bool QHttpNetworkReplyPrivate::streamEnd |
Definition at line 246 of file qhttpnetworkreply_p.h.
Referenced by clearHttpLayerInformation(), and gunzipBodyPartially().
qint64 QHttpNetworkReplyPrivate::totalProgress |
Definition at line 234 of file qhttpnetworkreply_p.h.
Referenced by QHttpNetworkConnectionChannel::_q_receiveReply(), and clearHttpLayerInformation().
char* QHttpNetworkReplyPrivate::userProvidedDownloadBuffer |
Definition at line 259 of file qhttpnetworkreply_p.h.
Referenced by QHttpNetworkConnectionChannel::_q_receiveReply().