public DescribeCoverageTransformer describeCoverage(DescribeCoverageType request) {
final String version = request.getVersion();
if ("1.1.0".equals(version) || "1.1.1".equals(version)) {
WCSInfo wcs = getServiceInfo();
DescribeCoverageTransformer describeTransformer = new DescribeCoverageTransformer(wcs,
catalog, responseFactory);
describeTransformer.setEncoding(Charset.forName(wcs.getGeoServer().getSettings()
.getCharset()));
return describeTransformer;
}
throw new WcsException("Could not understand version:" + version);