Dependencies:   mbed

Dependents:   TCP

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, and NetService.

Inherited by FSHandler, FSHandler, RPCHandler, RPCHandler, SimpleHandler, 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.
 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.
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 LPC1768/services/http/server/HTTPRequestHandler.h.


Constructor & Destructor Documentation

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

Instantiated by the HTTP Server.

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

Instantiated by the HTTP Server.


Member Function Documentation

virtual void close (  ) [virtual]

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

Reimplemented from NetService.

virtual void close (  ) [virtual]

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

Reimplemented from NetService.

virtual void poll (  ) [virtual, inherited]

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

Reimplemented in HTTPClient, and HTTPClient.

virtual void poll (  ) [virtual, inherited]

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

Reimplemented in HTTPClient, and HTTPClient.