Poco::OSP::Web

class WebRequestHandlerFactory

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

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 virtual

~WebRequestHandlerFactory();

Destroys the WebRequestHandlerFactory.

Member Functions

init

void init(
    BundleContext::Ptr pContext
);

Initializes the object with the given BundleContext.

context protected inline

BundleContext::Ptr context() const;

Returns the context. The pointer is guaranteed to be valid.

initImpl protected virtual

virtual void initImpl();

Add extra initialization code by overriding this method in your subclass.

Securely control IoT edge devices from anywhere   Connect a Device