[
https://issues.apache.org/jira/browse/HTTPCLIENT-525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Roland Weber updated HTTPCLIENT-525:
------------------------------------
Component/s: (was: HttpClient)
HttpMime
I assume that this is no longer relevant for the mime4j based entity.
> Part.isRepeatable() should be abstract
> --------------------------------------
>
> Key: HTTPCLIENT-525
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-525
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: HttpMime
> Affects Versions: 3.0 RC4
> Environment: Operating System: other
> Platform: Other
> Reporter: Loïc Péron
> Fix For: 4.0 Final
>
>
> 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]