Response response = getResponse();
response.setEntity(representation);
}
private KmlEncodingBundle buildKml(KmlEncodingContext encodingContext) {
SimpleNetworkLinkBuilder nlBuilder = new SimpleNetworkLinkBuilder(encodingContext);
Kml kml = nlBuilder.buildKMLDocument();
Document doc = (Document) kml.getFeature();
doc.createAndSetAtomAuthor();
doc.setOpen(true);
GeoServerInfo gsInfo = encodingContext.getWms().getGeoServer().getGlobal();