com.facetmap.servlet
Class ServletUtil
java.lang.Object
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
|
|
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 |
logger
public static final Logger logger
ServletUtil
public ServletUtil()
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)