Poco::RemotingNG::REST

class RESTRequestHandler

Library: RemotingNG/REST
Package: REST
Header: Poco/RemotingNG/REST/RESTRequestHandler.h

Description

The HTTPRequestHandler implementation for RemotingNG REST.

Inheritance

Direct Base Classes: Poco::Net::HTTPRequestHandler

All Base Classes: Poco::Net::HTTPRequestHandler

Member Summary

Member Functions: handleCORS, handleRequest

Inherited Functions: handleRequest

Constructors

RESTRequestHandler

RESTRequestHandler(
    Listener & listener
);

Creates a RESTRequestHandler, using the given Listener.

Destructor

~RESTRequestHandler virtual

~RESTRequestHandler();

Destroys the RESTRequestHandler.

Member Functions

handleRequest

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

handleCORS protected

bool handleCORS(
    Poco::Net::HTTPServerRequest & request,
    Poco::Net::HTTPServerResponse & response
);