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