You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by bu...@apache.org on 2004/06/16 08:52:22 UTC

DO NOT REPLY [Bug 29588] - Allow polymorphic use of addParameter

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29588>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29588

Allow polymorphic use of addParameter





------- Additional Comments From rolweber@de.ibm.com  2004-06-16 06:52 -------
I don't think ExpectContinueMethod is the place to add this, from a design
point of view. EntityEnclosingMethod sounds more appropriate, except that
MultiPartPostMethod is not derived from it. There's probably an implementation
specific reason for that. However, both would affect PutMethod, which does not
allow parameters to be set at all.
I guess the best approach would be to define an interface, something like
ParameterCarryingMethod, which could be implemented by PostMethod as well
as MultipartPostMethod. That's for the 3.0 API of course, since the 2.0 API
has already been finalized.

cheers,
  Roland

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org