// Javadoc inherited
public Result execute(ResourceDescriptor descriptor,
HttpServletRequest request,
HttpServletResponse response) throws Exception {
Result result = Result.UNSUPPORTED;
NoCloseSeekableInputStream inputStream = null;
NoCloseSeekableInputStream watermarkStream = null;
NoFlushSeekableOutputStream outputData = null;
final String resourceType = descriptor.getResourceType();
if ("image".equals(resourceType) || resourceType.startsWith("image.")) {