# HG changeset patch # User Felix Wolfsteller # Date 1380097878 -7200 # Node ID f5eb5131aef0792673777fd2c7aa49fc4bc08b10 # Parent 8bd13f10d555bb5814e990b70367e2bf3a407032 issue1494: Added setEncoding() to HttpClient interface. diff -r 8bd13f10d555 -r f5eb5131aef0 src/main/java/org/dive4elements/artifacts/httpclient/http/HttpClient.java --- 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;