Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
HydraExpress Servlet Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

rwsf::Servlet

Package:  Servlet


Base Class

Local Index

Members

Non-Members

Header File

#include <rwsf/servlet/Servlet.h>

Description

rwsf::Servlet is an abstract base class for servlets. A servlet is a small piece of code that executes inside an Agent running on a server. Users will typically use one of the derived classes for creating their own servlets. To create a generic servlet use the rwsf::GenericServlet class. To create a servlet that uses the HTTP protocol use rwsf::HttpServlet.

Public Destructor

virtual
~Servlet();

Public Member Functions

virtual void
destroy() = 0;
virtual rwsf::ServletConfig
getServletConfig() const;
virtual std::string
getServletInfo() const = 0;
virtual void
init(const rwsf::ServletConfig& config) = 0;
virtual void
service(rwsf::ServletRequest& request,
        rwsf::ServletResponse& response) = 0;

Global Macros

rwsf_DEFINE_SERVLET(servletName)
rwsf_DEFINE_SERVLET_NAME(servletName, createMethod)

See Also

rwsf::GenericServletrwsf::HttpServletrwsf::ServletConfig



Previous fileTop of DocumentContentsIndex pageNext file

©2004-2007 Copyright Quovadx, Inc. All Rights Reserved.
Quovadx and Rogue Wave are registered trademarks of Quovadx, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.