com.bowstreet.webapp
Interface RequestInputs


public interface RequestInputs

RequestInputs Accessor (not creation) methods for Request Inputs. This interface is intended to mirror that supplied by the Servlet Engine (container) and it's implementation of the Standard Servlet API HttpServletRequest's use of getParameter()... but specifically for Factory Web Engine request inputs.


Method Summary
 java.util.Iterator getInputNames()
          Get an Iterator of all the input names found in the request.
 java.lang.String getInputValue(java.lang.String name)
          Get the FIRST value associated with the specified input name ONLY use this method if you are certain there's only one input value with this particular name.
 java.util.Iterator getInputValues(java.lang.String name)
          Get an Iterator of values for a specified input name
 

Method Detail

getInputNames

java.util.Iterator getInputNames()
Get an Iterator of all the input names found in the request.

Returns:
Iterator of String values corresponding to input names.

getInputValue

java.lang.String getInputValue(java.lang.String name)
Get the FIRST value associated with the specified input name ONLY use this method if you are certain there's only one input value with this particular name.

Parameters:
name - The key used to look up a particular input value
Returns:
String or null

getInputValues

java.util.Iterator getInputValues(java.lang.String name)
Get an Iterator of values for a specified input name

Parameters:
name - The name corresponding to an Iterator of input values
Returns:
Iterator of String input values, an empty Iterator if no such input found


Copyright © 2009 IBM. All Rights Reserved.