org.apache.commons.latka.http
Interface Parameters

All Known Implementing Classes:
ParametersImpl

public interface Parameters

Create a new set of parameters

Version:
$Id: Parameters.java 155424 2005-02-26 13:09:29Z dirkv $
Author:
Morgan Delagrange, dIon Gillard

Method Summary
 void addParameter(java.lang.String paramName, java.lang.String paramValue)
          Add a parameter to the request
 java.util.List getParameters()
          Returns a list of all the parameters for the request.
 

Method Detail

addParameter

void addParameter(java.lang.String paramName,
                  java.lang.String paramValue)
Add a parameter to the request

Parameters:
paramName - parameter name
paramValue - parameter value, or null for an empty value

getParameters

java.util.List getParameters()
Returns a list of all the parameters for the request. Elements of the list are a String array with the parameter name as the first value and the parameter value as the second (can be null).

Returns:
all parameters for the request


Copyright © 2002-2009 The Apache Software Foundation. All Rights Reserved.