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

A.3 Differences in the Servlet Package

Table 10 describes Servlet package differences between the Servlet Specification and the HydraExpress C++ implementation.

Table 10: Differences in the Servlet package between HydraExpress and the Servlet Specification  

Non-standard Class Non-standard Members Description of Difference

rwsf::Config

all

An extension to the specification that provides a base class for other Config classes

rwsf::Enumeration

all

An extension to the specification that takes advantage of C++ capabilities for iterating over a sequence of values

rwsf::FilterConfig

getInitParameter()

getInitParameterName()

getServletContext()

In HydraExpress, these methods are inherited from the base class rwsf::Config

rwsf::ServletConfig

getInitParameter()

getInitParameterName()

getServletContext()

In HydraExpress, these methods are inherited from the base class rwsf::Config

rwsf::ServletContext

getRequestDispatcher()

In HydraExpress, this method accepts an HTTP URL

getResource()

Not included in this implementation. Use getResourceData() from rwsf::ServletContext instead

getResourceData()

HydraExpress added this method as a safer alternative for C++ than the getResourceAsStream() method

getResourceAsStream()

Not included in this implementation. Use getResourceData() from rwsf::ServletContext instead

rwsf::ServletOutputStream

 

Inherits from the basic ostream in C++ Standard Library

rwsf::ServletRequest

getLocale()

not supported in this release

getParameterMap()

not supported in this release

getPayload()

added method

getReader()

not supported in this release

rwsf::ServletResponse

appendPayload()

added method

getBufferSize()

not supported in this release

getCharacterEncoding()

not supported in this release

getLocale()

not supported in this release

getPayload()

added method

setBufferSize(int size)

not supported in this release

setLocale()

not supported in this release

setPayload()

added method

rwsf::ServletException

all methods

Inherits methods from C++ Standard Library exception class

why()

added method

rwsf::ServletUnavailableException

 

This implementation adds two constructors

SingleThreadModel

all

not supported. The deployment descriptor for a servlet provides similar functionality. See the HydraExpress Servlet Development Guide for details

ServletInputStream

all

not supported in this release

ServletRequestWrapper

all

not supported in this release

ServletResponseWrapper

all

not supported in this release



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.