A URLHandlerImpl is base class for URL protocol-specific handlers
![]() | ~URLHandlerImpl () Destroys this object |
![]() | parseURL (URL& url, const string& spec) const Parses the string spec to set the fields in the URL |
![]() | initURL (URL& url, const string& host, int port, const string& file) const Initializes the URL with the host, port and name of file |
![]() | toExternalForm (const URL& url) const Formats the URL to an external string |
![]() | getURLConnection (const URL& url) const Returns the URL connection given the URL |
![]() | URLHandlerImpl () Constructs this object |
![]() | setHost (URL& url, const string& host) const Sets the host in the URL |
![]() | setPort (URL &url, int port) const Sets the port in the URL |
![]() | setFile (URL& url, const string& file) const Sets the file in the URL |
A URLHandlerImpl is base class for URL protocol-specific handlers. It provides methods such parsing the URL string representation, initializing the URL from a given string, returning the external format for the URL, and returning the default port for its protocol. In general this base class implments methods for the http protocol, which thus need to be overridden by the subclasses for file and ldap. URLHandlerImpls are created by the URLHandlerFactoryImpl which defines one URLHandlerImpl for each of the supported protocols: http, file or ldap.
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de