}
}
if (resourceOutputStream instanceof Filterable) {
Filterable filterable = (Filterable) resourceOutputStream;
filterable.filter();
}
responseContentLength = resourceOutputStream.size();
// Now that we know how big the file is, set the response Content-Length header and the status.