Mercurial > dive4elements > http-client
changeset 91:f5eb5131aef0
issue1494: Added setEncoding() to HttpClient interface.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Wed, 25 Sep 2013 10:31:18 +0200 |
parents | 8bd13f10d555 |
children | fcbfc6c597b1 |
files | src/main/java/org/dive4elements/artifacts/httpclient/http/HttpClient.java |
diffstat | 1 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/java/org/dive4elements/artifacts/httpclient/http/HttpClient.java Wed Sep 25 10:30:12 2013 +0200 +++ b/src/main/java/org/dive4elements/artifacts/httpclient/http/HttpClient.java Wed Sep 25 10:31:18 2013 +0200 @@ -10,6 +10,8 @@ import java.io.InputStream; import java.io.OutputStream; +import java.nio.charset.Charset; + import org.w3c.dom.Document; import org.dive4elements.artifacts.httpclient.exceptions.ConnectionException; @@ -26,6 +28,13 @@ ArtifactFactory[] getArtifactFactories() throws ConnectionException; + public void setEncoding(Charset charset); + + + /******************************* + * Artifact API + *******************************/ + Object create(Document createDocument, ArtifactCreator creator) throws ConnectionException;