#include <librets/CurlHttpResponse.h>

Public Member Functions | |
| CurlHttpResponse () | |
| virtual | ~CurlHttpResponse () |
| void | SetUrl (std::string url) |
| virtual std::string | GetHeader (std::string name) const |
| Return a header value. | |
| void | SetHeader (std::string name, std::string value) |
| virtual istreamPtr | GetInputStream () const |
| Return an input stream to the data. | |
| void | SetStream (iostreamPtr inputStream) |
| void | WriteData (const char *data, size_t bytes) |
| virtual int | GetResponseCode () const |
| Return the HTTP response code. | |
| virtual void | SetResponseCode (int responseCode) |
| Set the HTTP response code. | |
| void | SetHttpClient (CurlHttpClient *httpClient) |
| void | SetHttpRequest (RetsHttpRequest *httpRequest) |
| void | SetInProgress (bool inProgress) |
| virtual std::string | GetAdditionalErrorText () |
| Return any extended error text. | |
| virtual void | SetAdditionalErrorText (std::string errorText) |
| Set any extended error text. | |
| std::string | GetContentType () const |
| CurlHttpResponse | ( | ) |
| virtual ~CurlHttpResponse | ( | ) | [virtual] |
| virtual std::string GetAdditionalErrorText | ( | ) | [virtual] |
Return any extended error text.
Implements RetsHttpResponse.
| std::string GetContentType | ( | ) | const [inherited] |
| virtual std::string GetHeader | ( | std::string | name | ) | const [virtual] |
| virtual istreamPtr GetInputStream | ( | ) | const [virtual] |
Return an input stream to the data.
| RetsException |
Implements RetsHttpResponse.
| virtual int GetResponseCode | ( | ) | const [virtual] |
Return the HTTP response code.
| RetsException |
Implements RetsHttpResponse.
| virtual void SetAdditionalErrorText | ( | std::string | errorText | ) | [virtual] |
Set any extended error text.
| errorText | A string with additional error text. |
Implements RetsHttpResponse.
| void SetHeader | ( | std::string | name, | |
| std::string | value | |||
| ) |
| void SetHttpClient | ( | CurlHttpClient * | httpClient | ) |
| void SetHttpRequest | ( | RetsHttpRequest * | httpRequest | ) |
| void SetInProgress | ( | bool | inProgress | ) |
| virtual void SetResponseCode | ( | int | responseCode | ) | [virtual] |
Set the HTTP response code.
| responseCode | An integer representing the http response code for this transaction. |
Implements RetsHttpResponse.
| void SetStream | ( | iostreamPtr | inputStream | ) |
| void SetUrl | ( | std::string | url | ) |
| void WriteData | ( | const char * | data, | |
| size_t | bytes | |||
| ) |