comparison src/main/java/org/dive4elements/artifacts/httpclient/http/HttpClient.java @ 96:4ffbc9f79905 3.0.17

Removed encoding handling from http client.
author Sascha L. Teichmann <teichmann@intevation.de>
date Thu, 31 Oct 2013 19:00:13 +0100
parents fcbfc6c597b1
children
comparison
equal deleted inserted replaced
95:bacb661e6d3d 96:4ffbc9f79905
7 */ 7 */
8 package org.dive4elements.artifacts.httpclient.http; 8 package org.dive4elements.artifacts.httpclient.http;
9 9
10 import java.io.InputStream; 10 import java.io.InputStream;
11 import java.io.OutputStream; 11 import java.io.OutputStream;
12
13 import java.nio.charset.Charset;
14 12
15 import org.w3c.dom.Document; 13 import org.w3c.dom.Document;
16 14
17 import org.dive4elements.artifacts.httpclient.exceptions.ConnectionException; 15 import org.dive4elements.artifacts.httpclient.exceptions.ConnectionException;
18 import org.dive4elements.artifacts.httpclient.http.response.ResponseHandler; 16 import org.dive4elements.artifacts.httpclient.http.response.ResponseHandler;
25 */ 23 */
26 public interface HttpClient { 24 public interface HttpClient {
27 25
28 ArtifactFactory[] getArtifactFactories() 26 ArtifactFactory[] getArtifactFactories()
29 throws ConnectionException; 27 throws ConnectionException;
30
31 public void setOutEncoding(Charset charset);
32
33 28
34 /******************************* 29 /*******************************
35 * Artifact API 30 * Artifact API
36 *******************************/ 31 *******************************/
37 32

http://dive4elements.wald.intevation.org