#include <davixuri.hpp>
Public Member Functions | |
Uri () | |
Construct an empty invalid Uri. | |
Uri (const std::string &uri_string) | |
construct a new Davix Uri from a string URL | |
Uri (const Uri &uri) | |
Copy constructor. | |
Uri & | operator= (const Uri &orig) |
const std::string & | getString () const |
int | getPort () const |
const std::string & | getProtocol () const |
const std::string & | getHost () const |
const std::string & | getPath () const |
const std::string & | getPathAndQuery () const |
const std::string & | getQuery () const |
StatusCode::Code | getStatus () const |
Protected Member Functions | |
void | _init () |
Protected Attributes | |
std::string | uri_string |
UriPrivate * | d_ptr |
const std::string& Davix::Uri::getHost | ( | ) | const |
get the host name
const std::string& Davix::Uri::getPath | ( | ) | const |
const std::string& Davix::Uri::getPathAndQuery | ( | ) | const |
get a concatenation of the path and the query argument of the URI
int Davix::Uri::getPort | ( | ) | const |
get the port number
const std::string& Davix::Uri::getProtocol | ( | ) | const |
get the protocol scheme
const std::string& Davix::Uri::getQuery | ( | ) | const |
get the query argument part of the uri
StatusCode::Code Davix::Uri::getStatus | ( | ) | const |
Status of the Uri see StatusCode::Code
const std::string& Davix::Uri::getString | ( | ) | const |
get a string representation of the full uri