Mercurial > dive4elements > river
comparison gwt-client/src/main/java/org/dive4elements/river/client/server/MapOutputServiceImpl.java @ 8856:5e38e2924c07 3.2.x
Fix code style.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 18 Jan 2018 20:12:01 +0100 |
parents | 238fc722f87a |
children | 0a5239a1e46e |
comparison
equal
deleted
inserted
replaced
8855:d7c005e12af0 | 8856:5e38e2924c07 |
---|---|
42 Logger.getLogger(MapOutputServiceImpl.class); | 42 Logger.getLogger(MapOutputServiceImpl.class); |
43 | 43 |
44 | 44 |
45 public static final String ERROR_NO_MAP_CONFIG = "error_no_map_config"; | 45 public static final String ERROR_NO_MAP_CONFIG = "error_no_map_config"; |
46 | 46 |
47 public static final String ERROR_NO_MAP_OUTPUT_TYPE = "error_no_map_output_type"; | 47 public static final String ERROR_NO_MAP_OUTPUT_TYPE = |
48 "error_no_map_output_type"; | |
48 | 49 |
49 public MapConfig doOut(Collection collection) | 50 public MapConfig doOut(Collection collection) |
50 throws ServerException | 51 throws ServerException |
51 { | 52 { |
52 log.info("MapOutputServiceImpl.doOut"); | 53 log.info("MapOutputServiceImpl.doOut"); |
69 try { | 70 try { |
70 Document request = ClientProtocolUtils.newOutCollectionDocument( | 71 Document request = ClientProtocolUtils.newOutCollectionDocument( |
71 uuid, requestMode, requestMode); | 72 uuid, requestMode, requestMode); |
72 | 73 |
73 HttpClient client = new HttpClientImpl(url); | 74 HttpClient client = new HttpClientImpl(url); |
74 InputStream is = client.collectionOut(request, uuid, requestMode); | 75 InputStream is = client.collectionOut(request, uuid, requestMode); |
75 | 76 |
76 Document response = XMLUtils.parseDocument(is); | 77 Document response = XMLUtils.parseDocument(is); |
77 | 78 |
78 return MapHelper.parseConfig(response); | 79 return MapHelper.parseConfig(response); |
79 } | 80 } |