diff options
author | Peter Hartmann <phartmann@blackberry.com> | 2014-01-22 17:51:43 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-13 03:26:48 +0100 |
commit | 57f209497c3799c28838cbca314fa93140302aba (patch) | |
tree | 293656869f4020a782b227e776e45839425f434b /src/network/access/qhttpnetworkrequest_p.h | |
parent | 4f23f0530a9c59400a7f3821cd2c9355801ed8cd (diff) |
HTTP internals: move some methods inside HTTP request class
... from the private to the public class, because we need to access
these methods from other classes.
Change-Id: I2c5ea84e0f5d3641c1dc02342348f1022d886249
Reviewed-by: Richard J. Moore <rich@kde.org>
Diffstat (limited to 'src/network/access/qhttpnetworkrequest_p.h')
-rw-r--r-- | src/network/access/qhttpnetworkrequest_p.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/network/access/qhttpnetworkrequest_p.h b/src/network/access/qhttpnetworkrequest_p.h index ce9fbb1509..f224f7329d 100644 --- a/src/network/access/qhttpnetworkrequest_p.h +++ b/src/network/access/qhttpnetworkrequest_p.h @@ -126,11 +126,15 @@ public: void setUploadByteDevice(QNonContiguousByteDevice *bd); QNonContiguousByteDevice* uploadByteDevice() const; + QByteArray methodName() const; + QByteArray uri(bool throughProxy) const; + private: QSharedDataPointer<QHttpNetworkRequestPrivate> d; friend class QHttpNetworkRequestPrivate; friend class QHttpNetworkConnectionPrivate; friend class QHttpNetworkConnectionChannel; + friend class QHttpProtocolHandler; }; class QHttpNetworkRequestPrivate : public QHttpNetworkHeaderPrivate @@ -141,8 +145,6 @@ public: QHttpNetworkRequestPrivate(const QHttpNetworkRequestPrivate &other); ~QHttpNetworkRequestPrivate(); bool operator==(const QHttpNetworkRequestPrivate &other) const; - QByteArray methodName() const; - QByteArray uri(bool throughProxy) const; static QByteArray header(const QHttpNetworkRequest &request, bool throughProxy); |