OpendTect
7.0
|
Public Types | |
enum | AccessType { Get , Put , Delete , Post , Head } |
Public Member Functions | |
HttpRequest (const char *url, AccessType) | |
HttpRequest (const HttpRequest &) | |
HttpRequest & | contentType (const BufferString &) |
HttpRequest & | payloadData (const DataBuffer &) |
HttpRequest & | rawHeader (const char *key, const char *val) |
void | setContentType (const BufferString &) |
void | setPayloadData (const DataBuffer &) |
For post/put requests Data is copied. More... | |
void | setRawHeader (const char *key, const char *val) |
Public Member Functions inherited from RefCount::Referenced | |
void | addObserver (WeakPtrBase *obs) |
Not for normal use. May become private. More... | |
int | nrRefs () const |
Only for expert use. More... | |
void | ref () const |
bool | refIfReffed () const |
Don't use in production, for debugging. More... | |
void | removeObserver (WeakPtrBase *obs) |
Not for normal use. May become private. More... | |
bool | tryRef () const |
Not for normal use. May become private. More... | |
void | unRef () const |
void | unRefNoDelete () const |
Protected Member Functions | |
~HttpRequest () | |
Protected Member Functions inherited from RefCount::Referenced | |
Referenced () | |
Referenced (const Referenced &) | |
virtual | ~Referenced () |
Referenced & | operator= (const Referenced &) |
Private Member Functions | |
void | fillRequest (QNetworkRequest &) const |
Private Attributes | |
const AccessType | accesstype_ |
BufferString | contenttype_ |
QByteArray * | payload_ = nullptr |
IOPar | rawheaders_ |
BufferString | url_ |
Friends | |
class | HttpRequestManager |
Additional Inherited Members | |
Static Public Member Functions inherited from RefCount::Referenced | |
static bool | isSane (const Referenced *) |
Description of an HTTP request, including headers and post-data
<>
Network::HttpRequest::HttpRequest | ( | const char * | url, |
AccessType | |||
) |
Network::HttpRequest::HttpRequest | ( | const HttpRequest & | ) |
|
protected |
HttpRequest& Network::HttpRequest::contentType | ( | const BufferString & | ) |
|
private |
HttpRequest& Network::HttpRequest::payloadData | ( | const DataBuffer & | ) |
HttpRequest& Network::HttpRequest::rawHeader | ( | const char * | key, |
const char * | val | ||
) |
void Network::HttpRequest::setContentType | ( | const BufferString & | ) |
void Network::HttpRequest::setPayloadData | ( | const DataBuffer & | ) |
For post/put requests Data is copied.
void Network::HttpRequest::setRawHeader | ( | const char * | key, |
const char * | val | ||
) |
|
friend |
|
private |
|
private |
|
private |
|
private |
|
private |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024