org.xins.common.servlet
Class ServletRequestPropertyReader
java.lang.Object
org.xins.common.collections.AbstractPropertyReader
org.xins.common.servlet.ServletRequestPropertyReader
- All Implemented Interfaces:
- PropertyReader, Serializable
- public final class ServletRequestPropertyReader
- extends AbstractPropertyReader
Implementation of a PropertyReader
that returns the
request parameters from a ServletRequest
object.
- Since:
- XINS 1.0.0
- Version:
- $Revision: 1.28 $ $Date: 2007/09/18 08:45:14 $
- Author:
- Ernst de Haan, Anthony Goubard
- See Also:
- Serialized Form
ServletRequestPropertyReader
public ServletRequestPropertyReader(ServletRequest request)
throws NullPointerException
- Constructs a new
ServletRequestPropertyReader
for a
ServletRequest
.
- Parameters:
request
- the ServletRequest
object, cannot be null
.
- Throws:
NullPointerException
- if request == null
.
ServletRequestPropertyReader
public ServletRequestPropertyReader(HttpServletRequest request)
throws IllegalArgumentException,
ParseException
- Constructs a new
ServletRequestPropertyReader
for an
HttpServletRequest
.
- Parameters:
request
- the HttpServletRequest
object, cannot be null
.
- Throws:
IllegalArgumentException
- if request == null
.
ParseException
- if the query string in the specified servlet request cannot be
parsed.- Since:
- XINS 1.4.0
See http://www.xins.org/.