Kyoto Tycoon
|
#include <kthttp.h>
Public Member Functions | |
URL () | |
Default constructor. | |
URL (const std::string &expr) | |
Constructor. | |
URL (const URL &src) | |
Copy constructor. | |
~URL () | |
Destructor. | |
void | set_expression (const std::string &expr) |
Set the string expression of the URL. | |
void | set_scheme (const std::string &scheme) |
Set the scheme. | |
void | set_host (const std::string &host) |
Set the host name. | |
void | set_port (int32_t port) |
Set the port number. | |
void | set_authority (const std::string &authority) |
Set the authority information. | |
void | set_path (const std::string &path) |
Set the path. | |
void | set_query (const std::string &query) |
Set the query string. | |
void | set_fragment (const std::string &fragment) |
Set the fragment string. | |
std::string | expression () |
Get the string expression of the URL. | |
std::string | path_query () |
Get the path and the query string for HTTP request. | |
std::string | scheme () |
Get the scheme. | |
std::string | host () |
Get the host name. | |
int32_t | port () |
Get the port number. | |
std::string | authority () |
Get the authority information. | |
std::string | path () |
Get the path. | |
std::string | query () |
Get the query string. | |
std::string | fragment () |
Get the fragment string. | |
URL & | operator= (const URL &right) |
Assignment operator from the self type. |
URL accessor.
kyototycoon::URL::URL | ( | ) | [explicit] |
Default constructor.
kyototycoon::URL::URL | ( | const std::string & | expr | ) | [explicit] |
Constructor.
expr | the string expression of the URL. |
kyototycoon::URL::URL | ( | const URL & | src | ) | [explicit] |
Copy constructor.
src | the source object. |
Destructor.
void kyototycoon::URL::set_expression | ( | const std::string & | expr | ) |
Set the string expression of the URL.
void kyototycoon::URL::set_scheme | ( | const std::string & | scheme | ) |
Set the scheme.
void kyototycoon::URL::set_host | ( | const std::string & | host | ) |
Set the host name.
void kyototycoon::URL::set_port | ( | int32_t | port | ) |
Set the port number.
void kyototycoon::URL::set_authority | ( | const std::string & | authority | ) |
Set the authority information.
void kyototycoon::URL::set_path | ( | const std::string & | path | ) |
Set the path.
void kyototycoon::URL::set_query | ( | const std::string & | query | ) |
Set the query string.
void kyototycoon::URL::set_fragment | ( | const std::string & | fragment | ) |
Set the fragment string.
std::string kyototycoon::URL::expression | ( | ) |
std::string kyototycoon::URL::path_query | ( | ) |
Get the path and the query string for HTTP request.
std::string kyototycoon::URL::scheme | ( | ) |
Get the scheme.
std::string kyototycoon::URL::host | ( | ) |
Get the host name.
int32_t kyototycoon::URL::port | ( | ) |
Get the port number.
std::string kyototycoon::URL::authority | ( | ) |
Get the authority information.
std::string kyototycoon::URL::path | ( | ) |
Get the path.
std::string kyototycoon::URL::query | ( | ) |
Get the query string.
std::string kyototycoon::URL::fragment | ( | ) |
Get the fragment string.