sullis 2004/12/07 19:02:26
Modified: fileupload/src/java/org/apache/commons/fileupload/portlet
PortletRequestContext.java
Log:
added toString() method
Revision Changes Path
1.2 +9 -1
jakarta-commons/fileupload/src/java/org/apache/commons/fileupload/portlet/PortletRequestContext.java
Index: PortletRequestContext.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/fileupload/src/java/org/apache/commons/fileupload/portlet/PortletRequestContext.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- PortletRequestContext.java 31 Oct 2004 05:21:43 -0000 1.1
+++ PortletRequestContext.java 8 Dec 2004 03:02:26 -0000 1.2
@@ -80,4 +80,12 @@
public InputStream getInputStream() throws IOException {
return request.getPortletInputStream();
}
+
+ public String toString() {
+ return "ContentLength="
+ + this.getContentLength()
+ + ", ContentType="
+ + this.getContentType();
+ }
+
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]