namespace Akenti class URLHandlerFactoryImpl
Contains a map of URL protocols and their URLHandlers
Public Methods
| URLHandlerFactoryImpl ()
Constructor
|
virtual | ~URLHandlerFactoryImpl ()
Destructor
|
void | addURLHandler (const string& protocol, const URLHandler& handler)
Adds a new URLHandler/protocol entry
|
URLHandler& | getURLHandler (const string& name)
Returns the URLHandler associated with a protocol
|
Documentation
Contains a map of URL protocols and their URLHandlers. Provides
methods to add a new protocol and handler and to return the handler
for a given protocol.
URLHandlerFactoryImpl()
-
Constructor
virtual ~URLHandlerFactoryImpl()
-
Destructor
void addURLHandler(const string& protocol, const URLHandler& handler)
-
Adds a new URLHandler/protocol entry
- Throws:
- Error if either the handler or protocol arguments are null
- Parameters:
- protocol - name of protocol, e.g. http, file or ldap
handler - A URLHandler which wraps a URLHandlerImpl for the prtocol
URLHandler& getURLHandler(const string& name)
-
Returns the URLHandler associated with a protocol
- Returns:
- a URLHandler that wraps a URLHandlerImpl that provides the
correct methods for this protocol.
- Parameters:
- name - the name of the protocol, e.g. http, ldap or file
- This class has no child classes.
- Author:
- Srilekha Mudumbai
Abdelilah Essiari
- Version:
- 1.1 00/11/01
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