#include <librets/RetsHttpResponse.h>

Public Member Functions | |
| virtual | ~RetsHttpResponse () |
| virtual std::string | GetHeader (std::string name) const =0 |
| Return a header value. | |
| std::string | GetContentType () const |
| virtual istreamPtr | GetInputStream () const =0 |
| Return an input stream to the data. | |
| virtual int | GetResponseCode () const =0 |
| Return the HTTP response code. | |
| virtual void | SetResponseCode (int responseCode)=0 |
| Set the HTTP response code. | |
| virtual std::string | GetAdditionalErrorText ()=0 |
| Return any extended error text. | |
| virtual void | SetAdditionalErrorText (std::string errorText)=0 |
| Set any extended error text. | |
| virtual ~RetsHttpResponse | ( | ) | [virtual] |
| virtual std::string GetAdditionalErrorText | ( | ) | [pure virtual] |
Return any extended error text.
Implemented in CurlHttpResponse.
| std::string GetContentType | ( | ) | const |
| virtual std::string GetHeader | ( | std::string | name | ) | const [pure virtual] |
Return a header value.
| RetsException |
Implemented in CurlHttpResponse.
| virtual istreamPtr GetInputStream | ( | ) | const [pure virtual] |
Return an input stream to the data.
| RetsException |
Implemented in CurlHttpResponse.
| virtual int GetResponseCode | ( | ) | const [pure virtual] |
Return the HTTP response code.
| RetsException |
Implemented in CurlHttpResponse.
| virtual void SetAdditionalErrorText | ( | std::string | errorText | ) | [pure virtual] |
Set any extended error text.
| errorText | A string with additional error text. |
Implemented in CurlHttpResponse.
| virtual void SetResponseCode | ( | int | responseCode | ) | [pure virtual] |
Set the HTTP response code.
| responseCode | An integer representing the http response code for this transaction. |
Implemented in CurlHttpResponse.