Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

InfoServlet Class Reference

A servlet that infos the incoming HTTP request. More...

#include <infoservlet.h>

Inheritance diagram for InfoServlet:

QHttpServlet QGenericServlet QServlet List of all members.

Public Methods

 InfoServlet (QServletConfig *cfg, const char *info=0)
 ~InfoServlet ()
virtual QDateTime lastModified (QHttpServletRequest *req)
virtual bool service (QServletRequest *req, QServletResponse *res)
void log (const QString &msg)
QServletConfigservletConfig ()
QString servletInfo ()
QServletContextservletContext ()

Protected Methods

virtual bool doGet (QHttpServletRequest *req, QHttpServletResponse *res)
virtual bool doPost (QHttpServletRequest *req, QHttpServletResponse *res)
virtual bool doOptions (QHttpServletRequest *req, QHttpServletResponse *res)
virtual bool doPut (QHttpServletRequest *req, QHttpServletResponse *res)
virtual bool doDelete (QHttpServletRequest *req, QHttpServletResponse *res)
virtual bool doTrace (QHttpServletRequest *req, QHttpServletResponse *res)

Detailed Description

A servlet that infos the incoming HTTP request.

Richard Moore

Definition at line 13 of file infoservlet.h.

Member Function Documentation

virtual QDateTime InfoServlet::lastModified QHttpServletRequest   req [virtual]

Returns the time the results of the specified request last changed.

The default implementation returns a null time to indicate that the content should always be reloaded.

Reimplemented from QHttpServlet.

virtual bool QHttpServlet::service QServletRequest   req,
QServletResponse   res
[virtual, inherited]

Reimplemented to call the appropriate doXXX(...) method.

Returns true if the request was successful, and false otherwise. Generally, subclasses should not reimplement this method, but should instead use the doXXX(...) methods.

Reimplemented from QGenericServlet.

The documentation for this class was generated from the following file:
Generated on Wed Apr 9 23:50:21 2003 for QXServlet by doxygen1.2.17