public class RenderWebPlugin extends Object implements WebModule, InvokerFilter
| 构造器和说明 |
|---|
RenderWebPlugin() |
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
doInvoke(Invoker invoker,
InvokerChain chain)
指定过滤器
|
Object |
doRenderInvoker(RenderInvoker invoker,
InvokerChain chain) |
protected String |
findLayout(RenderEngine engine,
String tempFile) |
void |
loadModule(WebApiBinder apiBinder) |
void |
onStart(AppContext appContext) |
boolean |
process(RenderInvoker render,
RenderEngine engine) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitloadModuledestroy, initpublic void loadModule(WebApiBinder apiBinder)
loadModule 在接口中 WebModulepublic void onStart(AppContext appContext) throws Throwable
public Object doInvoke(Invoker invoker, InvokerChain chain) throws Throwable
InvokerFilterdoInvoke 在接口中 InvokerFilterinvoker - 当前请求信息chain - 过滤器链Throwable - 执行过滤器中发生的异常。public Object doRenderInvoker(RenderInvoker invoker, InvokerChain chain) throws Throwable
Throwablepublic boolean process(RenderInvoker render, RenderEngine engine) throws Throwable
Throwableprotected String findLayout(RenderEngine engine, String tempFile) throws IOException
IOExceptionCopyright © 2020. All rights reserved.