commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sul...@apache.org
Subject cvs commit: jakarta-commons/fileupload/src/java/org/apache/commons/fileupload/portlet PortletRequestContext.java
Date Wed, 08 Dec 2004 03:02:26 GMT
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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message