// the capabilities of this produce are actually linked to the map response that is going to
// be used, this class just generates a rendered image
final Collection<RenderedImageMapResponse> responses = this.wmsConfiguration.getAvailableMapResponses();
for(RenderedImageMapResponse response: responses){
if (response.getOutputFormats().contains(outFormat)) {
MapProducerCapabilities cap=response.getCapabilities(outFormat);
if(cap!=null && cap.getFramesMimeType()!=null) {
frameRequest.setFormat(cap.getFramesMimeType());
} else {
frameRequest.setFormat(GIF_FORMAT);
}
}
}