public abstract class Reportlet extends java.lang.Object implements Weblet
构造器和说明 |
---|
Reportlet()
构造方法
|
限定符和类型 | 方法和说明 |
---|---|
protected Actor |
createActor(javax.servlet.http.HttpServletRequest req) |
abstract TemplateWorkBook |
createReport(ReportletRequest req)
生成报表
|
SessionProvider |
createSessionIDInfor(javax.servlet.http.HttpServletRequest req,
java.lang.String remoteAddress,
java.util.Map<java.lang.String,java.lang.Object> parameterMap4Execute)
返回报表信息Session
|
void |
dealWeblet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
处理Weblet
|
boolean |
isSessionOccupy()
session是否占用并发数
|
void |
setParameterMap(java.util.Map<java.lang.String,java.lang.Object> map)
设置参数键值对
|
void |
setTplPath(java.lang.String tplPath)
设置模板对应的路径
|
public SessionProvider createSessionIDInfor(javax.servlet.http.HttpServletRequest req, java.lang.String remoteAddress, java.util.Map<java.lang.String,java.lang.Object> parameterMap4Execute) throws WebletException
createSessionIDInfor
在接口中 Weblet
req
- http请求remoteAddress
- 远程访问地址parameterMap4Execute
- 初始参数值WebletException
- 异常protected Actor createActor(javax.servlet.http.HttpServletRequest req)
public abstract TemplateWorkBook createReport(ReportletRequest req) throws WebletException
req
- HTTP请求WebletException
- 异常public boolean isSessionOccupy()
isSessionOccupy
在接口中 Weblet
public void setTplPath(java.lang.String tplPath)
setTplPath
在接口中 Weblet
tplPath
- 模板路径public void setParameterMap(java.util.Map<java.lang.String,java.lang.Object> map)
setParameterMap
在接口中 Weblet
map
- 参数键值对public void dealWeblet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws java.lang.Exception
dealWeblet
在接口中 Weblet
req
- HTTP请求res
- HTTP响应java.lang.Exception
- 异常