hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BLa...@flsg.follett.com
Subject [PATCH] FilePart class
Date Mon, 26 Jan 2004 22:53:15 GMT




Hi All,

I'm currently working on a subclass of
org.apache.commons.httpclient.methods.multipart.FilePart that allows the
multipart post to be stopped prematurely.  It would be really nice to have
protected access on the member variable source in FilePart, so I only have
to override the sendData function as opposed to most of the class.  Any
chance of getting this changed?

--- FilePart.java.orig  Mon Jan 26 16:40:39 2004
+++ FilePart.java Mon Jan 26 16:41:38 2004
@@ -109,7 +109,7 @@
         EncodingUtil.getAsciiBytes(FILE_NAME);

     /** Source of the file part. */
-    private PartSource source;
+    protected PartSource source;

     /**
      * FilePart Constructor.


Thanks.
- Robert Lasch
Follett Library and School Group


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


Mime
View raw message