You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2002/07/08 16:11:05 UTC
DO NOT REPLY [Bug 10553] New: -
New method to add an array of parameters to a HttpMethod
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10553>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10553
New method to add an array of parameters to a HttpMethod
Summary: New method to add an array of parameters to a HttpMethod
Product: Commons
Version: Nightly Builds
Platform: All
OS/Version: Other
Status: NEW
Severity: Enhancement
Priority: Other
Component: HttpClient
AssignedTo: commons-dev@jakarta.apache.org
ReportedBy: jsdever@sympatico.ca
When posting a form a web page may have many parameters to post to the
webserver. Currently in PostMethod, if you wanted to add multiple parameters,
you would have to call addParameter(name, value) for each one.
A new convinence method should be added to allow for simpler client code by
taking an array of NameValuePair objects and adding all parameters in a single
function call.
void addParameters(NameValuePair[] parameters)
Also, the comments for PostMethod functions that deal with parameters
state "Override method of HttpMethodBase ..." which is incorrect. More
informative comments should be added to this public API.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>