43444546474849
return new File(dir, relativePath.get()); } @Override protected String getContentType(HttpRequest request) { return new FileContentType(targetFile(request).getName()).getContentType(); }
16171819202122
this.file = file; } @Override public String getContentType() { return new FileContentType(file.getName()).getContentType(); }
24252627282930
} } @Override public String getContentType() { return new FileContentType(this.filename).getContentType(); }