org.apache.myfaces.extensions.cdi.jsf.impl.util
Class RequestParameter

java.lang.Object
  extended by org.apache.myfaces.extensions.cdi.jsf.impl.util.RequestParameter

public class RequestParameter
extends Object

Author:
Gerhard Petracek

Constructor Summary
RequestParameter(String key, String[] values)
          Constructor for creating a parameter for the given key and values
 
Method Summary
 String getKey()
          Key of the parameter
 List<String> getValueList()
          Exposes the values of the parameter as list
 String[] getValues()
          Exposes the values of the parameter as array
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestParameter

public RequestParameter(String key,
                        String[] values)
Constructor for creating a parameter for the given key and values

Parameters:
key - current key
values - current values
Method Detail

getKey

public String getKey()
Key of the parameter

Returns:
current key

getValueList

public List<String> getValueList()
Exposes the values of the parameter as list

Returns:
values of the parameter

getValues

public String[] getValues()
Exposes the values of the parameter as array

Returns:
values of the parameter


Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.