This is a low-level, efficient representation of a server request. Most fields are GC-free, expensive operations are delayed until the user code needs the information. Processing is delegated to modules, using a hook mechanism. This class is not intended for user code - it is used internally by tomcat for processing the request in the most efficient way. Users ( servlets ) can access the information using a facade, which provides the high-level view of the request. For lazy evaluation, the request uses the getInfo() hook. The following ids are defined:
- req.encoding - returns the request encoding
- req.attribute - returns a module-specific attribute ( like SSL keys, etc ).
Tomcat defines a number of attributes:
- "org.apache.tomcat.request" - allows access to the low-level request object in trusted applications
@author James Duncan Davidson [duncan@eng.sun.com]
@author James Todd [gonzo@eng.sun.com]
@author Jason Hunter [jch@eng.sun.com]
@author Harish Prabandham
@author Alex Cruikshank [alex@epitonic.com]
@author Hans Bergsten [hans@gefionsoftware.com]
@author Costin Manolache
@author Remy Maucherat