Mercurial > dive4elements > http-client
comparison src/main/java/org/dive4elements/artifacts/httpclient/http/HttpClientImpl.java @ 92:fcbfc6c597b1
Renamed setEncoding to setOutEncoding.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Wed, 25 Sep 2013 10:38:54 +0200 |
parents | 8bd13f10d555 |
children | 30b7ca3951c7 |
comparison
equal
deleted
inserted
replaced
91:f5eb5131aef0 | 92:fcbfc6c597b1 |
---|---|
96 } | 96 } |
97 }; | 97 }; |
98 | 98 |
99 public HttpClientImpl(String serverUrl) { | 99 public HttpClientImpl(String serverUrl) { |
100 this.serverUrl = serverUrl; | 100 this.serverUrl = serverUrl; |
101 setEncoding(null); | 101 setOutEncoding(null); |
102 } | 102 } |
103 | 103 |
104 | 104 |
105 /** | 105 /** |
106 * Sets the encoding. | 106 * Sets the encoding. |
110 * | 110 * |
111 * It was implemented to allow csv export to be in another than the | 111 * It was implemented to allow csv export to be in another than the |
112 * sensible default (UTF-8) and allow easier integration | 112 * sensible default (UTF-8) and allow easier integration |
113 * e.g. in proprietary products. | 113 * e.g. in proprietary products. |
114 */ | 114 */ |
115 public void setEncoding(Charset charset) { | 115 public void setOutEncoding(Charset charset) { |
116 this.charset = charset; | 116 this.charset = charset; |
117 } | 117 } |
118 | 118 |
119 | 119 |
120 /** | 120 /** |