}
@Override
public void setup(OutputStream outputStream, Map<String, Object> parameters) {
// create a caching output stream to intercept the result
this.cachingOutputStream = new CachingOutputStream(outputStream);
super.setup(this.cachingOutputStream, parameters);
this.cacheKey = this.constructCacheKey();
}