public class RenderWebPlugin extends Object implements WebModule, InvokerFilter
| 限定符和类型 | 字段和说明 |
|---|---|
protected org.slf4j.Logger |
logger |
| 构造器和说明 |
|---|
RenderWebPlugin() |
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
doInvoke(Invoker invoker,
InvokerChain chain)
指定过滤器
|
protected String |
findLayout(RenderEngine engine,
String tempFile) |
void |
init(InvokerConfig config)
初始化过滤器
|
void |
loadModule(WebApiBinder apiBinder) |
boolean |
process(RenderInvoker render) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitloadModuledestroypublic void loadModule(WebApiBinder apiBinder) throws Throwable
loadModule 在接口中 WebModuleThrowablepublic void init(InvokerConfig config) throws Throwable
InvokerFilterinit 在接口中 InvokerFilterconfig - 配置信息Throwable - 初始化过程中发生异常。public Object doInvoke(Invoker invoker, InvokerChain chain) throws Throwable
InvokerFilterdoInvoke 在接口中 InvokerFilterinvoker - 当前请求信息chain - 过滤器链Throwable - 执行过滤器中发生的异常。public boolean process(RenderInvoker render) throws Throwable
Throwableprotected String findLayout(RenderEngine engine, String tempFile) throws IOException
IOException