hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1051680 - in /httpcomponents/httpclient/trunk/httpmime/src/main/java/org/apache/http/entity/mime: HttpMultipartMode.java MIME.java
Date Tue, 21 Dec 2010 22:24:00 GMT
Author: sebb
Date: Tue Dec 21 22:23:59 2010
New Revision: 1051680

URL: http://svn.apache.org/viewvc?rev=1051680&view=rev
Log:
Javadoc

Modified:
    httpcomponents/httpclient/trunk/httpmime/src/main/java/org/apache/http/entity/mime/HttpMultipartMode.java
    httpcomponents/httpclient/trunk/httpmime/src/main/java/org/apache/http/entity/mime/MIME.java

Modified: httpcomponents/httpclient/trunk/httpmime/src/main/java/org/apache/http/entity/mime/HttpMultipartMode.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpmime/src/main/java/org/apache/http/entity/mime/HttpMultipartMode.java?rev=1051680&r1=1051679&r2=1051680&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpmime/src/main/java/org/apache/http/entity/mime/HttpMultipartMode.java
(original)
+++ httpcomponents/httpclient/trunk/httpmime/src/main/java/org/apache/http/entity/mime/HttpMultipartMode.java
Tue Dec 21 22:23:59 2010
@@ -33,7 +33,9 @@ package org.apache.http.entity.mime;
  */
 public enum HttpMultipartMode {
 
+    /** RFC 822, RFC 2045, RFC 2046 compliant */
     STRICT,
+    /** browser-compatible mode, i.e. only write Content-Disposition; use content charset
*/
     BROWSER_COMPATIBLE
 
 }

Modified: httpcomponents/httpclient/trunk/httpmime/src/main/java/org/apache/http/entity/mime/MIME.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpmime/src/main/java/org/apache/http/entity/mime/MIME.java?rev=1051680&r1=1051679&r2=1051680&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpmime/src/main/java/org/apache/http/entity/mime/MIME.java
(original)
+++ httpcomponents/httpclient/trunk/httpmime/src/main/java/org/apache/http/entity/mime/MIME.java
Tue Dec 21 22:23:59 2010
@@ -42,6 +42,7 @@ public final class MIME {
     public static final String ENC_8BIT              = "8bit";
     public static final String ENC_BINARY            = "binary";
 
+    /** The default character set to be used, i.e. "US-ASCII" */
     public static final Charset DEFAULT_CHARSET      = Charset.forName("US-ASCII");
 
 }



Mime
View raw message