protected abstract T process(
HttpResponse response, File file, ContentType contentType) throws Exception;
@Override
protected T buildResult(final HttpContext context) throws Exception {
final FileEntity entity = new FileEntity(this.file);
entity.setContentType(this.response.getFirstHeader(HTTP.CONTENT_TYPE));
this.response.setEntity(entity);
return process(this.response, this.file, this.contentType);
}