com.facetmap.servlet
Class ServletUtil

java.lang.Object
  extended by com.facetmap.servlet.ServletUtil

public class ServletUtil
extends java.lang.Object

Utilities for servlet processing; notably, processes the querystring parameters used in this package (see package docs).


Field Summary
static Logger logger
           
 
Constructor Summary
ServletUtil()
           
 
Method Summary
 java.lang.Integer getInteger(ServletRequest request, java.lang.String parameterName)
           
 FacetNavigationBean parseRequest(ServletRequest request)
          Produces a data structure representing the querystring or form parameters of this request.
 Selection processRequest(ServletRequest request, Facetmap facetmap)
          Returns the Selection encapsulated by the given request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

public static final Logger logger
Constructor Detail

ServletUtil

public ServletUtil()
Method Detail

parseRequest

public FacetNavigationBean parseRequest(ServletRequest request)
Produces a data structure representing the querystring or form parameters of this request.


processRequest

public Selection processRequest(ServletRequest request,
                                Facetmap facetmap)
                         throws InternalException,
                                DataException
Returns the Selection encapsulated by the given request. TODO allow input properties

Throws:
InternalException
DataException

getInteger

public java.lang.Integer getInteger(ServletRequest request,
                                    java.lang.String parameterName)