Package org.openxava.filters
Class BaseContextFilter
java.lang.Object
org.openxava.filters.BaseContextFilter
- All Implemented Interfaces:
Serializable,IFilter,IRequestFilter
Base filter to allow access to a context object of
current module and the other modules too.
- Author:
- Javier Paniza
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Objectprotected ModuleContextprotected EnvironmentEnvironment allows you access to the environment variables for the current module.protected IntegergetInteger(String name) protected Longprotected StringvoidsetRequest(javax.servlet.http.HttpServletRequest request)
-
Constructor Details
-
BaseContextFilter
public BaseContextFilter()
-
-
Method Details
-
setRequest
public void setRequest(javax.servlet.http.HttpServletRequest request) - Specified by:
setRequestin interfaceIRequestFilter
-
getContext
-
get
- Throws:
XavaException
-
getString
- Throws:
XavaException
-
getInteger
- Throws:
XavaException
-
getLong
- Throws:
XavaException
-
getEnvironment
Environment allows you access to the environment variables for the current module.- Returns:
- Throws:
XavaException
-