Poco::OSP::Web

class WebServerRequestHandler

File Information

Library: OSP/Web
Package: Web
Header: Poco/OSP/Web/WebServerRequestHandler.h

Description

A WebServerRequestHandler is some sort of MetaHttpRequestHandlerFactory. It uses an instance of WebServerDispatcher to dispatch the request to an appropriate request handler.

Inheritance

Direct Base Classes: Poco::Net::HTTPRequestHandler

All Base Classes: Poco::Net::HTTPRequestHandler

Member Summary

Member Functions: handleRequest

Inherited Functions: handleRequest

Constructors

WebServerRequestHandler

WebServerRequestHandler(
    WebServerDispatcher & dispatcher,
    bool secure
);

Creates the WebServerRequestHandler, using the given WebServerDispatcher.

Destructor

~WebServerRequestHandler virtual

~WebServerRequestHandler();

Destroys the WebServerRequestHandler.

Member Functions

handleRequest

void handleRequest(
    Poco::Net::HTTPServerRequest & request,
    Poco::Net::HTTPServerResponse & response
);