tnt::Mapping Class Reference

#include <tnt/dispatcher.h>

Public Types

typedef Maptarget::args_type args_type

Public Member Functions

 Mapping ()
 Mapping (const std::string &vhost_, const std::string &url_, const std::string &method_, int ssl_, const Maptarget &target_)
const std::string & getVHost () const
const std::string & getUrl () const
const std::string & getMethod () const
int getSsl () const
const MaptargetgetTarget () const
MappingsetPathInfo (const std::string &p)
MappingsetArgs (const args_type &a)
MappingsetVHost (const std::string &vhost_)
MappingsetUrl (const std::string &url_)
MappingsetMethod (const std::string &method_)
MappingsetSsl (bool sw)
MappingunsetSsl ()
bool match (const HttpRequest &request, cxxtools::RegexSMatch &smatch) const

Member Typedef Documentation

Constructor & Destructor Documentation

tnt::Mapping::Mapping ( )
inline
tnt::Mapping::Mapping ( const std::string &  vhost_,
const std::string &  url_,
const std::string &  method_,
int  ssl_,
const Maptarget target_ 
)

Member Function Documentation

const std::string& tnt::Mapping::getMethod ( ) const
inline
int tnt::Mapping::getSsl ( ) const
inline
const Maptarget& tnt::Mapping::getTarget ( ) const
inline
const std::string& tnt::Mapping::getUrl ( ) const
inline
const std::string& tnt::Mapping::getVHost ( ) const
inline
bool tnt::Mapping::match ( const HttpRequest request,
cxxtools::RegexSMatch smatch 
) const
Mapping& tnt::Mapping::setArgs ( const args_type a)
inline
Mapping& tnt::Mapping::setMethod ( const std::string &  method_)
inline
Mapping& tnt::Mapping::setPathInfo ( const std::string &  p)
inline
Mapping& tnt::Mapping::setSsl ( bool  sw)
inline
Mapping& tnt::Mapping::setUrl ( const std::string &  url_)
inline
Mapping& tnt::Mapping::setVHost ( const std::string &  vhost_)
inline
Mapping& tnt::Mapping::unsetSsl ( )
inline

The documentation for this class was generated from the following file: