public class PluginFileContentModificator extends java.lang.Object implements FileContentModificator
构造器和说明 |
---|
PluginFileContentModificator() |
public boolean accept(javax.servlet.http.HttpServletRequest req, java.lang.String path)
FileContentModificator
accept
在接口中 FileContentModificator
req
- http请求path
- 资源文件pathpublic java.lang.String modify(java.lang.String content, javax.servlet.http.HttpServletRequest req, java.lang.String path)
FileContentModificator
modify
在接口中 FileContentModificator
content
- 原始内容req
- http请求path
- 资源文件path