File Information
Library: OSP/Web
Package: Web
Header: Poco/OSP/Web/WebRequestHandlerFactory.h
Description
WebRequestHandlerFactory is a HTTPRequestHandlerFactory that was extended to allow RequestHandlers easy access to the SessionManager and the owner's BundleContext.
Inheritance
Direct Base Classes: Poco::Net::HTTPRequestHandlerFactory
All Base Classes: Poco::Net::HTTPRequestHandlerFactory
Member Summary
Member Functions: context, init, initImpl
Inherited Functions: createRequestHandler
Constructors
WebRequestHandlerFactory
Creates the unintialized WebRequestHandlerFactory. The default constructor is called by the classloader (which requires a default constructor) followed by a call to init.
Destructor
~WebRequestHandlerFactory
Destroys the WebRequestHandlerFactory.
Member Functions
init
void init(
BundleContext::Ptr pContext
);
Initializes the object with the given BundleContext.
context
BundleContext::Ptr context() const;
Returns the context. The pointer is guaranteed to be valid.
initImpl
virtual void initImpl();
Add extra initialization code by overriding this method in your subclass.