commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <James.R...@ga.gov.au>
Subject RE: [FILEUPLOAD] RfC: Proposed API changes for streaming
Date Wed, 14 Jun 2006 23:52:23 GMT
Hi there,

I haven't had much experience with FileUpload, so forgive me if my question
is way off...

> -----Original Message-----
> From: Jochen Wiedmann [mailto:jochen.wiedmann@gmail.com] 
> Sent: Saturday, 10 June 2006 6:05 AM
> To: commons-dev@jakarta.apache.org
> Subject: [FILEUPLOAD] RfC: Proposed API changes for streaming
> 
> 
> 
> Hi,
>
> As you can see, the FileItem can be changed to extend SlimFileItem.
> Additionally, FileItem has a semantic difference: It allows to invoke
> getInputStream() more than once, while SlimFileItem should throw an
> IllegalStateException on the second invocation. So far, these 
> changes should
> not introduce a problem.
> 

Why do you want to throw an IllegalStateException on subsequent invocations
of getInputStream()?

> Jochen

Regards,
James

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


Mime
View raw message