Mercurial > dive4elements > river
comparison flys-client/src/main/java/org/dive4elements/river/client/server/StepForwardServiceImpl.java @ 5835:821a02bbfb4e
Fixed internal java dependencies
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Thu, 25 Apr 2013 13:12:15 +0200 |
parents | f507086aa94b |
children |
comparison
equal
deleted
inserted
replaced
5834:f507086aa94b | 5835:821a02bbfb4e |
---|---|
1 package de.intevation.flys.client.server; | 1 package org.dive4elements.river.client.server; |
2 | 2 |
3 import org.w3c.dom.Document; | 3 import org.w3c.dom.Document; |
4 | 4 |
5 import org.apache.log4j.Logger; | 5 import org.apache.log4j.Logger; |
6 | 6 |
7 import de.intevation.artifacts.common.ArtifactNamespaceContext; | 7 import org.dive4elements.artifacts.common.ArtifactNamespaceContext; |
8 import de.intevation.artifacts.common.utils.ClientProtocolUtils; | 8 import org.dive4elements.artifacts.common.utils.ClientProtocolUtils; |
9 import de.intevation.artifacts.common.utils.XMLUtils; | 9 import org.dive4elements.artifacts.common.utils.XMLUtils; |
10 | 10 |
11 import de.intevation.artifacts.httpclient.exceptions.ConnectionException; | 11 import org.dive4elements.artifacts.httpclient.exceptions.ConnectionException; |
12 import de.intevation.artifacts.httpclient.http.HttpClient; | 12 import org.dive4elements.artifacts.httpclient.http.HttpClient; |
13 import de.intevation.artifacts.httpclient.http.HttpClientImpl; | 13 import org.dive4elements.artifacts.httpclient.http.HttpClientImpl; |
14 import de.intevation.artifacts.httpclient.http.response.DocumentResponseHandler; | 14 import org.dive4elements.artifacts.httpclient.http.response.DocumentResponseHandler; |
15 | 15 |
16 import de.intevation.flys.client.shared.exceptions.ServerException; | 16 import org.dive4elements.river.client.shared.exceptions.ServerException; |
17 import de.intevation.flys.client.shared.model.Artifact; | 17 import org.dive4elements.river.client.shared.model.Artifact; |
18 import de.intevation.flys.client.shared.model.ArtifactDescription; | 18 import org.dive4elements.river.client.shared.model.ArtifactDescription; |
19 import de.intevation.flys.client.shared.model.Data; | 19 import org.dive4elements.river.client.shared.model.Data; |
20 import de.intevation.flys.client.shared.model.DataItem; | 20 import org.dive4elements.river.client.shared.model.DataItem; |
21 import de.intevation.flys.client.client.services.StepForwardService; | 21 import org.dive4elements.river.client.client.services.StepForwardService; |
22 | 22 |
23 | 23 |
24 /** | 24 /** |
25 * This interface provides a method that bundles the artifact specific | 25 * This interface provides a method that bundles the artifact specific |
26 * operations FEED and ADVANCE. | 26 * operations FEED and ADVANCE. |
113 | 113 |
114 HttpClient client = new HttpClientImpl(url, locale); | 114 HttpClient client = new HttpClientImpl(url, locale); |
115 | 115 |
116 try { | 116 try { |
117 Document description = (Document) client.feed( | 117 Document description = (Document) client.feed( |
118 new de.intevation.artifacts.httpclient.objects.Artifact( | 118 new org.dive4elements.artifacts.httpclient.objects.Artifact( |
119 artifact.getUuid(), | 119 artifact.getUuid(), |
120 artifact.getHash()), | 120 artifact.getHash()), |
121 feed, | 121 feed, |
122 new DocumentResponseHandler()); | 122 new DocumentResponseHandler()); |
123 | 123 |