requestCycle.getResponse());
ResourceStreamResource resource = new ResourceStreamResource(resourceStream);
resource.setFileName(fileName);
resource.setContentDisposition(contentDisposition);
resource.respond(attributes);
}
/**
* @param fileName
* Optional filename, used to set the content disposition header. Only meaningful