comparison artifacts/src/main/java/org/dive4elements/river/artifacts/uinfo/inundationduration/VegetationWmsResource.java @ 9543:3264c2df4f18

WMS-Config
author gernotbelger
date Wed, 17 Oct 2018 17:10:52 +0200
parents bf6b63208f34
children f51e23eb036a
comparison
equal deleted inserted replaced
9542:9f20afcb98ba 9543:3264c2df4f18
54 protected Client initialValue() { 54 protected Client initialValue() {
55 55
56 final List<Protocol> protocols = Arrays.asList(Protocol.HTTPS, Protocol.HTTP); 56 final List<Protocol> protocols = Arrays.asList(Protocol.HTTPS, Protocol.HTTP);
57 final Client client = new Client(new Context(), protocols); 57 final Client client = new Client(new Context(), protocols);
58 // FIXME 58 // FIXME
59 client.getContext().getParameters().add("proxyHost", "proxy.bce01.de"); 59 /* Nachfolgende 2 Zeilen sind nur für die BCE-Entwicklungsumgebung bestimmt */
60 client.getContext().getParameters().add("proxyPort", "8080"); 60 // client.getContext().getParameters().add("proxyHost", "proxy.bce01.de");
61 // client.getContext().getParameters().add("proxyPort", "8080");
61 return client; 62 return client;
62 } 63 }
63 }; 64 };
64 65
65 @Override 66 @Override
126 raster.setSample(x, y, 2, blue); 127 raster.setSample(x, y, 2, blue);
127 raster.setSample(x, y, 3, alpha); 128 raster.setSample(x, y, 3, alpha);
128 } 129 }
129 } 130 }
130 131
131
132 final Representation newResponse = new OutputRepresentation(mediaType) { 132 final Representation newResponse = new OutputRepresentation(mediaType) {
133 133
134 @Override 134 @Override
135 public void write(final OutputStream outputStream) throws IOException { 135 public void write(final OutputStream outputStream) throws IOException {
136 136

http://dive4elements.wald.intevation.org