freemarker.ext.servlet
Class HttpRequestParametersHashModel

java.lang.Object
  |
  +--freemarker.ext.servlet.HttpRequestParametersHashModel
All Implemented Interfaces:
TemplateHashModel, TemplateModel

public class HttpRequestParametersHashModel
extends java.lang.Object
implements TemplateHashModel

TemplateHashModel wrapper for a HttpServletRequest parameters.

Version:
1.0
Author:
Attila Szegedi, szegedia@freemail.hu

Constructor Summary
HttpRequestParametersHashModel(javax.servlet.http.HttpServletRequest request)
           
 
Method Summary
 TemplateModel get(java.lang.String key)
          Gets a TemplateModel from the hash.
 boolean isEmpty()
           
protected  java.lang.String transcode(java.lang.String string)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpRequestParametersHashModel

public HttpRequestParametersHashModel(javax.servlet.http.HttpServletRequest request)
Method Detail

get

public TemplateModel get(java.lang.String key)
Description copied from interface: TemplateHashModel
Gets a TemplateModel from the hash.
Specified by:
get in interface TemplateHashModel
Following copied from interface: freemarker.template.TemplateHashModel
Parameters:
key - the name by which the TemplateModel is identified in the template.
Returns:
the TemplateModel referred to by the key, or null if not found.

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface TemplateModel
Following copied from interface: freemarker.template.TemplateModel
Returns:
true if this object is empty.

transcode

protected java.lang.String transcode(java.lang.String string)