RetsHttpRequest Class Reference

(Internal) RetsHttpRequest is a class that defines the http client requests that can be made through libcurl. More...

#include <librets/RetsHttpRequest.h>

Inheritance diagram for RetsHttpRequest:

RetsObject SearchRequest ServerInformationRequest UpdateRequest

List of all members.

Public Types

enum  Method { GET, POST }

Public Member Functions

 RetsHttpRequest ()
virtual ~RetsHttpRequest ()
virtual Method GetMethod () const
virtual void SetMethod (Method method)
virtual std::string GetUrl () const
virtual void SetUrl (std::string url)
virtual void SetHeader (std::string name, std::string value)
virtual void ClearHeader (std::string name)
StringMap GetHeaderMap () const
virtual void SetQueryParameter (std::string, std::string value)
virtual void SetQueryParameter (std::string, int value)
virtual std::string GetQueryString () const
bool GetLogging ()
void SetNoLogging ()
void SetLogging ()
virtual std::ostream & Print (std::ostream &outputStream) const
std::string ToString () const
virtual bool Equals (const RetsObject *object) const


Detailed Description

(Internal) RetsHttpRequest is a class that defines the http client requests that can be made through libcurl.

Member Enumeration Documentation

enum Method

Enumerator:
GET 
POST 


Constructor & Destructor Documentation

RetsHttpRequest (  ) 

virtual ~RetsHttpRequest (  )  [virtual]


Member Function Documentation

virtual void ClearHeader ( std::string  name  )  [virtual]

virtual bool Equals ( const RetsObject object  )  const [virtual, inherited]

StringMap GetHeaderMap (  )  const

bool GetLogging (  ) 

virtual Method GetMethod (  )  const [virtual]

virtual std::string GetQueryString (  )  const [virtual]

virtual std::string GetUrl (  )  const [virtual]

virtual std::ostream& Print ( std::ostream &  outputStream  )  const [virtual, inherited]

virtual void SetHeader ( std::string  name,
std::string  value 
) [virtual]

void SetLogging (  ) 

virtual void SetMethod ( Method  method  )  [virtual]

void SetNoLogging (  ) 

virtual void SetQueryParameter ( std::string  ,
int  value 
) [virtual]

virtual void SetQueryParameter ( std::string  ,
std::string  value 
) [virtual]

virtual void SetUrl ( std::string  url  )  [virtual]

std::string ToString (  )  const [inherited]


Generated by  doxygen