public interface FileContentModificator
boolean accept(javax.servlet.http.HttpServletRequest req, java.lang.String path)
req
- http请求path
- 资源文件pathjava.lang.String modify(java.lang.String content, javax.servlet.http.HttpServletRequest req, java.lang.String path)
content
- 原始内容req
- http请求path
- 资源文件path