public interface Weblet
限定符和类型 | 方法和说明 |
---|---|
SessionProvider |
createSessionIDInfor(javax.servlet.http.HttpServletRequest req,
java.lang.String remoteAddress,
java.util.Map<java.lang.String,java.lang.Object> parameterMap4Execute) |
void |
dealWeblet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
针对不同的类型的模版处理其对应的html文件
|
boolean |
isSessionOccupy()
该模板生成的Session是否会占用注册并发数
|
void |
setParameterMap(java.util.Map<java.lang.String,java.lang.Object> map)
设置参数键值对
|
void |
setTplPath(java.lang.String tplPath)
设置模板对应的路径
|
SessionProvider createSessionIDInfor(javax.servlet.http.HttpServletRequest req, java.lang.String remoteAddress, java.util.Map<java.lang.String,java.lang.Object> parameterMap4Execute) throws java.lang.Exception
java.lang.Exception
boolean isSessionOccupy()
void setTplPath(java.lang.String tplPath)
tplPath
- 模板路径void setParameterMap(java.util.Map<java.lang.String,java.lang.Object> map)
map
- 参数键值对void dealWeblet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws java.lang.Exception
req
- HTTP请求res
- HTTP相应java.lang.Exception
- 在处理html文件过程中出错则抛出此异常