Pyro higlevel network API
Classes | Public Member Functions | List of all members
net::Url Class Reference

Classes

class  Private
 

Public Member Functions

 Url (void)
 Default constructor. More...
 
 Url (const os::String &cUrl)
 Constructor. More...
 
virtual ~Url (void)
 
os::String GetUrl (void)
 
void SetUrl (os::String &cUrl)
 
os::String GetProtocol (void)
 
void SetProtocol (os::String &cProtocol)
 
os::String GetHostName (void)
 
void SetHostName (os::String &cHostName)
 
uint32 GetPort (void)
 
void SetPort (uint32 nPort)
 
os::String GetPath (void)
 
void SetPath (os::String &cPath)
 
os::String GetUsername (void)
 
void SetUsername (os::String &cUsername)
 
os::String GetPassword (void)
 
void SetPassword (os::String &cPassword)
 

Constructor & Destructor Documentation

Url::Url ( void  )
Url::Url ( const os::String &  cUrl)
Description:
Creates a URL from a "Standard" URL in the form proto://[user:pass]www.example.com[:port][/path/to/file.txt]
See Also
SetUrl()
Author
Kristian Van Der Vliet (vande.nosp@m.rs@l.nosp@m.iqwyd.nosp@m..com)
Url::~Url ( void  )
virtual

Member Function Documentation

os::String Url::GetHostName ( void  )
Description:
Returns the hostname part of the URL E.g. www.example.com
Author
Kristian Van Der Vliet (vande.nosp@m.rs@l.nosp@m.iqwyd.nosp@m..com)
os::String Url::GetPassword ( void  )
Description:
Returns the password part of the URL if one was specified
Author
Kristian Van Der Vliet (vande.nosp@m.rs@l.nosp@m.iqwyd.nosp@m..com)
os::String Url::GetPath ( void  )
Description:
Returns the path part of the URL if one was specified E.g. /file.txt
Author
Kristian Van Der Vliet (vande.nosp@m.rs@l.nosp@m.iqwyd.nosp@m..com)
uint32 Url::GetPort ( void  )
Description:
Returns the port part of the URL if one was specified E.g. 8080
Author
Kristian Van Der Vliet (vande.nosp@m.rs@l.nosp@m.iqwyd.nosp@m..com)
os::String Url::GetProtocol ( void  )
Description:
Returns the protocol part of the URL E.g. http
Author
Kristian Van Der Vliet (vande.nosp@m.rs@l.nosp@m.iqwyd.nosp@m..com)
os::String Url::GetUrl ( void  )
os::String Url::GetUsername ( void  )
Description:
Returns the username part of the URL if one was specified
Author
Kristian Van Der Vliet (vande.nosp@m.rs@l.nosp@m.iqwyd.nosp@m..com)
void Url::SetHostName ( os::String &  cHostName)
void Url::SetPassword ( os::String &  cPassword)
void Url::SetPath ( os::String &  cPath)
void Url::SetPort ( uint32  nPort)
void Url::SetProtocol ( os::String &  cProtocol)
void Url::SetUrl ( os::String &  cUrl)
void Url::SetUsername ( os::String &  cUsername)