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(String paramName, String paramValue)
          Add a parameter to the request
 List getParameters()
          Returns a list of all the parameters for the request.
 

Method Detail

addParameter

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

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

getParameters

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 © 2001-2010 The Apache Software Foundation. All Rights Reserved.