NetServices Stack source

Dependents:   HelloWorld ServoInterfaceBoardExample1 4180_Lab4

Embed: (wiki syntax)

« Back to documentation index

HTTPRequestHandler Class Reference

HTTPRequestHandler Class Reference

HTTP Server's generic request handler. More...

#include <HTTPRequestHandler.h>

Inherits NetService.

Inherited by FSHandler, RPCHandler, and SimpleHandler.

Public Member Functions

 HTTPRequestHandler (const char *rootPath, const char *path, TCPSocket *pTCPSocket)
 Instantiated by the HTTP Server.
virtual void close ()
 This flags the service as to be destructed if owned by the pool.
virtual void poll ()
 This method can be inherited so that it is called on each Net::poll() call.

Detailed Description

HTTP Server's generic request handler.

Definition at line 44 of file HTTPRequestHandler.h.


Constructor & Destructor Documentation

HTTPRequestHandler ( const char *  rootPath,
const char *  path,
TCPSocket pTCPSocket 
)

Instantiated by the HTTP Server.

Definition at line 34 of file HTTPRequestHandler.cpp.


Member Function Documentation

void close (  ) [virtual]

This flags the service as to be destructed if owned by the pool.

Reimplemented from NetService.

Definition at line 55 of file HTTPRequestHandler.cpp.

void poll (  ) [virtual, inherited]

This method can be inherited so that it is called on each Net::poll() call.

Reimplemented in HTTPClient, MySQLClient, and NTPClient.

Definition at line 49 of file netservice.cpp.