Return-Path: Delivered-To: apmail-hc-dev-archive@www.apache.org Received: (qmail 32281 invoked from network); 7 Feb 2008 20:29:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Feb 2008 20:29:30 -0000 Received: (qmail 7404 invoked by uid 500); 7 Feb 2008 20:29:22 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 7378 invoked by uid 500); 7 Feb 2008 20:29:22 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 7369 invoked by uid 99); 7 Feb 2008 20:29:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Feb 2008 12:29:22 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Feb 2008 20:29:01 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 048DB714076 for ; Thu, 7 Feb 2008 12:29:09 -0800 (PST) Message-ID: <13844284.1202416149014.JavaMail.jira@brutus> Date: Thu, 7 Feb 2008 12:29:09 -0800 (PST) From: "Roland Weber (JIRA)" To: dev@hc.apache.org Subject: [jira] Updated: (HTTPCLIENT-525) Part.isRepeatable() should be abstract MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HTTPCLIENT-525?page=3Dcom.atla= ssian.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=C3=AFc P=C3=A9ron > 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, alway= s > returning true. > Part.isRepeatable should be abstract and implemented in the same class as > Part.sendData(). StringPart would always return true, FilePart would dele= gate to > PartSource, and FilePartSource and ByteArrayPartSource would also return = true. > This would allow a non-repeatable InputStream to be wrapped by a PartSour= ce and > correctly indicating it is not repeatable. --=20 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: dev-unsubscribe@hc.apache.org For additional commands, e-mail: dev-help@hc.apache.org