java.lang.Object
com.tripi.asp.Request.FormObj
- All Implemented Interfaces:
- SimpleMap
- Enclosing class:
- Request
- public static class Request.FormObj
- extends java.lang.Object
- implements SimpleMap
The FormObj class implements the interface between ASP Request.Form
object and the Servlet API. The form values are 'lazy' evaluated
to keep from accessing the Servlet's input stream until required,
in case the BinaryRead function will be called.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Contents
public AspCollection Contents
- AspCollection to store form data
request
javax.servlet.http.HttpServletRequest request
- Java Servlet request object
Request.FormObj
Request.FormObj(javax.servlet.http.HttpServletRequest request)
- Constructor.
getKeys
public java.util.Enumeration getKeys()
throws AspException
- Obtains the list of keys in this object.
- Specified by:
getKeys in interface SimpleMap
get
public java.lang.Object get(java.lang.Object obj)
throws AspException
- Obtains a form value with the specified key.
- Specified by:
get in interface SimpleMap
put
public void put(java.lang.Object key,
java.lang.Object value)
throws AspException
- Implements the SimpleMap.put interface function. Will always
throw a AspReadOnlyException becaues Request.Form is read-only.
- Specified by:
put in interface SimpleMap
Count
public int Count()
throws AspException
- ASP-Accessible function to obtain the number of items in this form.