@Override public boolean canServe(Req req, Res staticResource) throws RuntimeException { String name = staticResource.getName(); return !staticResource.isHidden() && !PRIVATE.matcher(name).find(); }