Mercurial > dive4elements > http-client
comparison src/main/java/org/dive4elements/artifacts/httpclient/http/HttpClientImpl.java @ 119:5aad20399cbd
Fixed missing import
author | mschaefer |
---|---|
date | Wed, 13 Jun 2018 19:09:41 +0200 |
parents | 79169a0b5a0d |
children |
comparison
equal
deleted
inserted
replaced
118:79169a0b5a0d | 119:5aad20399cbd |
---|---|
37 import org.dive4elements.artifacts.httpclient.http.response.StreamResponseHandler; | 37 import org.dive4elements.artifacts.httpclient.http.response.StreamResponseHandler; |
38 import org.dive4elements.artifacts.httpclient.objects.Artifact; | 38 import org.dive4elements.artifacts.httpclient.objects.Artifact; |
39 import org.dive4elements.artifacts.httpclient.objects.ArtifactFactory; | 39 import org.dive4elements.artifacts.httpclient.objects.ArtifactFactory; |
40 import org.dive4elements.artifacts.httpclient.utils.ArtifactProtocolUtils; | 40 import org.dive4elements.artifacts.httpclient.utils.ArtifactProtocolUtils; |
41 import org.dive4elements.artifacts.httpclient.utils.ArtifactCreator; | 41 import org.dive4elements.artifacts.httpclient.utils.ArtifactCreator; |
42 import org.dive4elements.artifacts.httpclient.utils.XMLUtils; | |
42 | 43 |
43 /** | 44 /** |
44 * Client to artifact-server. | 45 * Client to artifact-server. |
45 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | 46 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> |
46 */ | 47 */ |
160 "Connection to server failed. No Artifact created. Response was: " + entityAsText, e); | 161 "Connection to server failed. No Artifact created. Response was: " + entityAsText, e); |
161 } | 162 } |
162 } | 163 } |
163 catch (IOException ioe) { | 164 catch (IOException ioe) { |
164 throw new ConnectionException( | 165 throw new ConnectionException( |
165 "Connection to server failed. No Artifact created. " + XMLUtils.toString(doc), ioe); | 166 "Connection to server failed. No Artifact created.\n" + XMLUtils.toString(doc), ioe); |
166 } | 167 } |
167 } | 168 } |
168 | 169 |
169 | 170 |
170 @Override | 171 @Override |