hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1439913 - /httpcomponents/httpclient/trunk/fluent-hc/src/main/java/org/apache/http/client/fluent/Request.java
Date Tue, 29 Jan 2013 14:40:27 GMT
Author: olegk
Date: Tue Jan 29 14:40:26 2013
New Revision: 1439913

URL: http://svn.apache.org/viewvc?rev=1439913&view=rev
Log:
Deprecated Request#elementCharset in the fluent facade API

Modified:
    httpcomponents/httpclient/trunk/fluent-hc/src/main/java/org/apache/http/client/fluent/Request.java

Modified: httpcomponents/httpclient/trunk/fluent-hc/src/main/java/org/apache/http/client/fluent/Request.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/fluent-hc/src/main/java/org/apache/http/client/fluent/Request.java?rev=1439913&r1=1439912&r2=1439913&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/fluent-hc/src/main/java/org/apache/http/client/fluent/Request.java
(original)
+++ httpcomponents/httpclient/trunk/fluent-hc/src/main/java/org/apache/http/client/fluent/Request.java
Tue Jan 29 14:40:26 2013
@@ -232,6 +232,11 @@ public class Request {
         return this;
     }
 
+    /**
+     * This parameter can no longer be used at the request level.
+     * @deprecated (4.3)
+     */
+    @Deprecated
     public Request elementCharset(final String charset) {
         return config(CoreProtocolPNames.HTTP_ELEMENT_CHARSET, charset);
     }



Mime
View raw message