Qt 4.8
|
#include <qhttpnetworkrequest_p.h>
Public Types | |
enum | Operation { Options, Get, Head, Post, Put, Delete, Trace, Connect, Custom } |
enum | Priority { HighPriority, NormalPriority, LowPriority } |
Properties | |
QSharedDataPointer< QHttpNetworkRequestPrivate > | d |
Friends | |
class | QHttpNetworkConnectionChannel |
class | QHttpNetworkConnectionPrivate |
class | QHttpNetworkRequestPrivate |
Definition at line 64 of file qhttpnetworkrequest_p.h.
Enumerator | |
---|---|
Options | |
Get | |
Head | |
Post | |
Put | |
Delete | |
Trace | |
Connect | |
Custom |
Definition at line 67 of file qhttpnetworkrequest_p.h.
Enumerator | |
---|---|
HighPriority | |
NormalPriority | |
LowPriority |
Definition at line 79 of file qhttpnetworkrequest_p.h.
QHttpNetworkRequest::QHttpNetworkRequest | ( | const QUrl & | url = QUrl() , |
Operation | operation = Get , |
||
Priority | priority = NormalPriority |
||
) |
Definition at line 186 of file qhttpnetworkrequest.cpp.
QHttpNetworkRequest::QHttpNetworkRequest | ( | const QHttpNetworkRequest & | other | ) |
Definition at line 191 of file qhttpnetworkrequest.cpp.
|
virtual |
Definition at line 196 of file qhttpnetworkrequest.cpp.
|
virtual |
Implements QHttpNetworkHeader.
Definition at line 218 of file qhttpnetworkrequest.cpp.
Referenced by QHttpNetworkConnectionPrivate::prepareRequest(), and QHttpNetworkConnectionChannel::sendRequest().
QByteArray QHttpNetworkRequest::customVerb | ( | ) | const |
Definition at line 264 of file qhttpnetworkrequest.cpp.
Referenced by setCustomVerb().
|
virtual |
Implements QHttpNetworkHeader.
Definition at line 228 of file qhttpnetworkrequest.cpp.
Referenced by QHttpNetworkRequestPrivate::header().
|
virtual |
Implements QHttpNetworkHeader.
Definition at line 233 of file qhttpnetworkrequest.cpp.
Referenced by QHttpNetworkConnectionChannel::ensureConnection(), QHttpNetworkRequestPrivate::header(), QNetworkAccessHttpBackend::loadFromCacheIfAllowed(), and QHttpNetworkConnectionPrivate::prepareRequest().
bool QHttpNetworkRequest::isPipeliningAllowed | ( | ) | const |
Definition at line 284 of file qhttpnetworkrequest.cpp.
Referenced by QHttpNetworkConnectionPrivate::fillPipeline().
bool QHttpNetworkRequest::isSsl | ( | ) | const |
Definition at line 209 of file qhttpnetworkrequest.cpp.
Referenced by QHttpNetworkReply::setRequest().
|
virtual |
Implements QHttpNetworkHeader.
Definition at line 314 of file qhttpnetworkrequest.cpp.
Referenced by QHttpNetworkRequestPrivate::header().
|
virtual |
Implements QHttpNetworkHeader.
Definition at line 319 of file qhttpnetworkrequest.cpp.
Referenced by QHttpNetworkRequestPrivate::header().
QHttpNetworkRequest::Operation QHttpNetworkRequest::operation | ( | ) | const |
Definition at line 254 of file qhttpnetworkrequest.cpp.
Referenced by QHttpNetworkReplyPrivate::expectContent(), QNetworkAccessHttpBackend::fetchCacheMetaData(), QHttpNetworkConnectionPrivate::fillPipeline(), and setOperation().
QHttpNetworkRequest & QHttpNetworkRequest::operator= | ( | const QHttpNetworkRequest & | other | ) |
Definition at line 243 of file qhttpnetworkrequest.cpp.
bool QHttpNetworkRequest::operator== | ( | const QHttpNetworkRequest & | other | ) | const |
Definition at line 249 of file qhttpnetworkrequest.cpp.
QHttpNetworkRequest::Priority QHttpNetworkRequest::priority | ( | ) | const |
Definition at line 274 of file qhttpnetworkrequest.cpp.
Referenced by QHttpNetworkConnectionPrivate::queueRequest(), QHttpNetworkConnectionPrivate::requeueRequest(), and setPriority().
|
virtual |
Implements QHttpNetworkHeader.
Definition at line 223 of file qhttpnetworkrequest.cpp.
Referenced by QHttpNetworkConnectionPrivate::prepareRequest().
void QHttpNetworkRequest::setCustomVerb | ( | const QByteArray & | customOperation | ) |
Definition at line 269 of file qhttpnetworkrequest.cpp.
Referenced by QNetworkAccessHttpBackend::postRequest().
|
virtual |
Implements QHttpNetworkHeader.
Definition at line 238 of file qhttpnetworkrequest.cpp.
Referenced by QHttpNetworkConnectionPrivate::createAuthorization(), QNetworkAccessHttpBackend::loadFromCacheIfAllowed(), QNetworkAccessHttpBackend::postRequest(), and QHttpNetworkConnectionPrivate::prepareRequest().
void QHttpNetworkRequest::setOperation | ( | Operation | operation | ) |
Definition at line 259 of file qhttpnetworkrequest.cpp.
Referenced by QNetworkAccessHttpBackend::postRequest().
void QHttpNetworkRequest::setPipeliningAllowed | ( | bool | b | ) |
Definition at line 289 of file qhttpnetworkrequest.cpp.
Referenced by QNetworkAccessHttpBackend::postRequest().
void QHttpNetworkRequest::setPriority | ( | Priority | priority | ) |
Definition at line 279 of file qhttpnetworkrequest.cpp.
Referenced by QNetworkAccessHttpBackend::postRequest().
void QHttpNetworkRequest::setSsl | ( | bool | s | ) |
Definition at line 213 of file qhttpnetworkrequest.cpp.
Referenced by QNetworkAccessHttpBackend::postRequest().
void QHttpNetworkRequest::setUploadByteDevice | ( | QNonContiguousByteDevice * | bd | ) |
Definition at line 304 of file qhttpnetworkrequest.cpp.
Referenced by QNetworkAccessHttpBackend::postRequest().
|
virtual |
Implements QHttpNetworkHeader.
Definition at line 204 of file qhttpnetworkrequest.cpp.
Referenced by QNetworkAccessHttpBackend::postRequest(), and QHttpNetworkConnectionChannel::sendRequest().
void QHttpNetworkRequest::setWithCredentials | ( | bool | b | ) |
Definition at line 299 of file qhttpnetworkrequest.cpp.
Referenced by QNetworkAccessHttpBackend::postRequest().
QNonContiguousByteDevice * QHttpNetworkRequest::uploadByteDevice | ( | ) | const |
Definition at line 309 of file qhttpnetworkrequest.cpp.
Referenced by QHttpNetworkConnectionPrivate::prepareRequest(), QHttpNetworkConnectionChannel::resetUploadData(), and QHttpNetworkConnectionChannel::sendRequest().
|
virtual |
Implements QHttpNetworkHeader.
Definition at line 200 of file qhttpnetworkrequest.cpp.
Referenced by QHttpThreadDelegate::cacheCredentialsSlot(), QHttpNetworkConnectionChannel::ensureConnection(), QHttpNetworkConnectionPrivate::fillPipeline(), QHttpThreadDelegate::finishedSlot(), QHttpNetworkConnectionPrivate::prepareRequest(), QHttpNetworkConnectionPrivate::queueRequest(), QHttpNetworkConnectionChannel::sendRequest(), setUrl(), QHttpThreadDelegate::startRequest(), QHttpThreadDelegate::synchronousAuthenticationRequiredSlot(), and QHttpThreadDelegate::synchronousFinishedSlot().
bool QHttpNetworkRequest::withCredentials | ( | ) | const |
Definition at line 294 of file qhttpnetworkrequest.cpp.
Referenced by QHttpNetworkConnectionPrivate::handleAuthenticateChallenge(), and QHttpNetworkConnectionChannel::sendRequest().
|
friend |
Definition at line 129 of file qhttpnetworkrequest_p.h.
|
friend |
Definition at line 128 of file qhttpnetworkrequest_p.h.
|
friend |
Definition at line 127 of file qhttpnetworkrequest_p.h.
|
private |
Definition at line 126 of file qhttpnetworkrequest_p.h.
Referenced by contentLength(), QHttpNetworkConnectionPrivate::createAuthorization(), customVerb(), header(), QHttpNetworkRequestPrivate::header(), headerField(), isPipeliningAllowed(), isSsl(), operation(), operator=(), operator==(), QHttpNetworkConnectionChannel::pipelineInto(), QHttpNetworkConnectionPrivate::prepareRequest(), priority(), QHttpNetworkConnectionChannel::sendRequest(), setContentLength(), setCustomVerb(), setHeaderField(), setOperation(), setPipeliningAllowed(), setPriority(), setSsl(), setUploadByteDevice(), setUrl(), setWithCredentials(), uploadByteDevice(), url(), and withCredentials().