commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mart...@apache.org
Subject svn commit: r349328 - in /jakarta/commons/proper/fileupload/trunk/src/java/org/apache/commons/fileupload: RequestContext.java portlet/PortletRequestContext.java servlet/ServletRequestContext.java
Date Sun, 27 Nov 2005 23:04:48 GMT
Author: martinc
Date: Sun Nov 27 15:04:45 2005
New Revision: 349328

URL: http://svn.apache.org/viewcvs?rev=349328&view=rev
Log:
Add getCharacterEncoding to the request context.

Modified:
    jakarta/commons/proper/fileupload/trunk/src/java/org/apache/commons/fileupload/RequestContext.java
    jakarta/commons/proper/fileupload/trunk/src/java/org/apache/commons/fileupload/portlet/PortletRequestContext.java
    jakarta/commons/proper/fileupload/trunk/src/java/org/apache/commons/fileupload/servlet/ServletRequestContext.java

Modified: jakarta/commons/proper/fileupload/trunk/src/java/org/apache/commons/fileupload/RequestContext.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/fileupload/trunk/src/java/org/apache/commons/fileupload/RequestContext.java?rev=349328&r1=349327&r2=349328&view=diff
==============================================================================
--- jakarta/commons/proper/fileupload/trunk/src/java/org/apache/commons/fileupload/RequestContext.java
(original)
+++ jakarta/commons/proper/fileupload/trunk/src/java/org/apache/commons/fileupload/RequestContext.java
Sun Nov 27 15:04:45 2005
@@ -32,6 +32,13 @@
 public interface RequestContext {
 
     /**
+     * Retrieve the character encoding for the request.
+     *
+     * @return The character encoding for the request.
+     */
+    String getCharacterEncoding();
+
+    /**
      * Retrieve the content type of the request.
      *
      * @return The content type of the request.

Modified: jakarta/commons/proper/fileupload/trunk/src/java/org/apache/commons/fileupload/portlet/PortletRequestContext.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/fileupload/trunk/src/java/org/apache/commons/fileupload/portlet/PortletRequestContext.java?rev=349328&r1=349327&r2=349328&view=diff
==============================================================================
--- jakarta/commons/proper/fileupload/trunk/src/java/org/apache/commons/fileupload/portlet/PortletRequestContext.java
(original)
+++ jakarta/commons/proper/fileupload/trunk/src/java/org/apache/commons/fileupload/portlet/PortletRequestContext.java
Sun Nov 27 15:04:45 2005
@@ -53,6 +53,15 @@
     // --------------------------------------------------------- Public Methods
 
     /**
+     * Retrieve the character encoding for the request.
+     *
+     * @return The character encoding for the request.
+     */
+    public String getCharacterEncoding() {
+        return request.getCharacterEncoding();
+    }
+
+    /**
      * Retrieve the content type of the request.
      *
      * @return The content type of the request.

Modified: jakarta/commons/proper/fileupload/trunk/src/java/org/apache/commons/fileupload/servlet/ServletRequestContext.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/fileupload/trunk/src/java/org/apache/commons/fileupload/servlet/ServletRequestContext.java?rev=349328&r1=349327&r2=349328&view=diff
==============================================================================
--- jakarta/commons/proper/fileupload/trunk/src/java/org/apache/commons/fileupload/servlet/ServletRequestContext.java
(original)
+++ jakarta/commons/proper/fileupload/trunk/src/java/org/apache/commons/fileupload/servlet/ServletRequestContext.java
Sun Nov 27 15:04:45 2005
@@ -55,6 +55,15 @@
     // --------------------------------------------------------- Public Methods
 
     /**
+     * Retrieve the character encoding for the request.
+     *
+     * @return The character encoding for the request.
+     */
+    public String getCharacterEncoding() {
+        return request.getCharacterEncoding();
+    }
+
+    /**
      * Retrieve the content type of the request.
      *
      * @return The content type of the request.



---------------------------------------------------------------------
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