public interface Preview
限定符和类型 | 方法和说明 |
---|---|
boolean |
accept(Authority entry)
是否接手处理这种类型的节点
|
void |
end(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
收尾工作
|
void |
prepare(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
准备工作
|
void |
preview(Authority entry,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
向浏览器输出待访问的html内容
|
boolean accept(Authority entry)
entry
- 节点void prepare(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws java.lang.Exception
req
- http请求res
- http响应java.lang.Exception
void preview(Authority entry, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws java.lang.Exception
req
- http请求res
- http响应entry
- 节点java.lang.Exception
void end(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws java.lang.Exception
req
- http请求res
- http响应java.lang.Exception