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.22.2.1 $ $Date: 2007/02/01 10:01:25 $
- Author:
- Ernst de Haan, Anthony Goubard
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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/.