ServerInformationRequest Class Reference

ServerInformationRequest is the API that allows access to the RETS 1.7 SERVERINFORMATION transaction. More...

#include <librets/ServerInfoRequest.h>

Inheritance diagram for ServerInformationRequest:

RetsHttpRequest RetsObject

List of all members.

Public Types

enum  Method { GET, POST }

Public Member Functions

 ServerInformationRequest ()
 Create a server information request.
void SetClassName (std::string className)
 Set the RETS class name for this request.
void SetResourceName (std::string resourceName)
 Set the RETS resource name for this request.
void SetStandardNames (bool standardNames)
 Set the flag to indicate whether or not StandardNames are being used.
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

ServerInformationRequest is the API that allows access to the RETS 1.7 SERVERINFORMATION transaction.

Member Enumeration Documentation

enum Method [inherited]

Enumerator:
GET 
POST 


Constructor & Destructor Documentation

Create a server information request.

This is for RETS 1.7 and later.


Member Function Documentation

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

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

StringMap GetHeaderMap (  )  const [inherited]

bool GetLogging (  )  [inherited]

virtual Method GetMethod (  )  const [virtual, inherited]

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

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

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

void SetClassName ( std::string  className  ) 

Set the RETS class name for this request.

Parameters:
className RETS class name

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

void SetLogging (  )  [inherited]

virtual void SetMethod ( Method  method  )  [virtual, inherited]

void SetNoLogging (  )  [inherited]

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

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

void SetResourceName ( std::string  resourceName  ) 

Set the RETS resource name for this request.

Parameters:
resourceName RETS resource name

void SetStandardNames ( bool  standardNames  ) 

Set the flag to indicate whether or not StandardNames are being used.

Parameters:
standardNames Flag if true indicates that StandardNames is being used.

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

std::string ToString (  )  const [inherited]


Generated by  doxygen