public abstract class Formlet extends java.lang.Object implements Weblet
| 限定符和类型 | 字段和说明 |
|---|---|
protected java.lang.String |
tplPath |
| 构造器和说明 |
|---|
Formlet() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected java.lang.String |
analyzeNameInPath(java.lang.String path) |
protected abstract Form |
createForm(javax.servlet.http.HttpServletRequest req) |
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 |
setTplPath(java.lang.String tplPath)
设置模板对应的路径
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetParameterMappublic 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
createSessionIDInfor 在接口中 Webletjava.lang.Exceptionprotected java.lang.String analyzeNameInPath(java.lang.String path)
protected abstract Form createForm(javax.servlet.http.HttpServletRequest req) throws java.lang.Exception
java.lang.Exceptionpublic boolean isSessionOccupy()
WebletisSessionOccupy 在接口中 Webletpublic void setTplPath(java.lang.String tplPath)
WebletsetTplPath 在接口中 WeblettplPath - 模板路径public void dealWeblet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws java.lang.Exception
WebletdealWeblet 在接口中 Webletreq - HTTP请求res - HTTP相应java.lang.Exception - 在处理html文件过程中出错则抛出此异常