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 2005/11/10 14:41:50 UTC
DO NOT REPLY [Bug 37445] New: -
Part.isRepeatable() should be abstract
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=37445>.
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=37445
Summary: Part.isRepeatable() should be abstract
Product: HttpClient
Version: 3.0 RC4
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: Commons HttpClient
AssignedTo: httpclient-dev@jakarta.apache.org
ReportedBy: loic.peron@bigfoot.com
Part.isRepeatable() indicates if Part.sendData may be call multiple times
reliably. Part.sendData() is abstract but Part.isRepeatable is not, always
returning true.
Part.isRepeatable should be abstract and implemented in the same class as
Part.sendData(). StringPart would always return true, FilePart would delegate to
PartSource, and FilePartSource and ByteArrayPartSource would also return true.
This would allow a non-repeatable InputStream to be wrapped by a PartSource and
correctly indicating it is not repeatable.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org