#include <URIComponents.h>
Public Member Functions | |
| CServerAuthority::CServerAuthority () | |
| Default constructor. | |
| CServerAuthority::CServerAuthority (const char *authorityString, std::string::size_type authorityStringLen) | |
| Constructor which parses the passed in authority. | |
| CServerAuthority::CServerAuthority (const std::string &authorityString) | |
| Constructor which parses the passed in authority. | |
| void | parse (const char *authorityString, std::string::size_type authorityStringLen) |
| Parse an authority into its component parts. | |
| std::string | make () const |
| Reassemble the authority components to make a complete authority. | |
| void | setHost (const std::string &host) |
| Set the host component of the authority. | |
| void | setHost (const char *host) |
| Set the host component of the authority. | |
| const std::string & | getHost () const |
| Get the host component of the authority. | |
| void | setPort (const int port) |
| Set the port component of the authority. | |
| const int | getPort () const |
| Get the port component of the authority. | |
| void | setUser (const char *user) |
| Set the user name component of the authority. | |
| void | setUser (const std::string &user) |
| Set the user name component of the authority. | |
| const std::string & | getUser () const |
| Get the user component of the authority. | |
| void | setPassword (const std::string &password) |
| Set the password component of the authority. | |
| void | setPassword (const char *password) |
| Set the password component of the authority. | |
| const std::string & | getPassword () const |
| Get the password component of the authority. | |
|
|
Constructor which parses the passed in authority.
|
|
||||||||||||
|
Constructor which parses the passed in authority.
|
|
|
Get the host component of the authority.
|
|
|
Get the password component of the authority.
|
|
|
Get the port component of the authority. Returns -1 if the port is not defined. |
|
|
Get the user component of the authority.
|
|
|
Reassemble the authority components to make a complete authority.
|
|
||||||||||||
|
Parse an authority into its component parts.
|
|
|
Set the host component of the authority.
|
|
|
Set the host component of the authority.
|
|
|
Set the password component of the authority.
|
|
|
Set the password component of the authority.
|
|
|
Set the port component of the authority.
|
|
|
Set the user name component of the authority.
|
|
|
Set the user name component of the authority.
|
1.3.9.1