Main Page   Class Hierarchy   Compound List   File List   Compound Members  

Url Class Reference

Manupulate URLs. More...

#include <Url.hpp>

List of all members.

Public Types

enum  Protocol {
  http, https, ftp, file,
  unknown
}

Public Methods

 Url ()
 Url (std::string url)
 ~Url ()
void SetProtocol (std::string prot)
void SetProtocol (Protocol prot)
void SetHostName (std::string host)
void SetResource (std::string path)
void SetPort (unsigned short port)
Protocol GetProtocol ()
std::string GetHostName ()
std::string GetResource ()
unsigned short GetPort ()


Detailed Description

Manupulate URLs.

Implementation of URL to manupulate URLs.

This implementation only supports subset of a URL note that # references, userinfo query string processing are not supported for this version.

URLs are of the form:

URL = protocol "://" server "/" [path]["?" query] server = [userinfo "@"] hostname-port hostname-port = hostname [ ":" port ] userinfo = user[:password]


The documentation for this class was generated from the following files:
Generated on Mon Dec 1 15:18:43 2003 for axisc++ by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002