public interface WebletCreator extends SuffixMatcher
ALL
限定符和类型 | 方法和说明 |
---|---|
Weblet |
createEmbeddedWeblet(java.lang.String tplPath,
java.util.Map<java.lang.String,java.lang.Object> parameterMap)
根据内置的模板路径生成合适的Weblet
|
Weblet |
createWebletByRequest(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
根据HTTP请求中的参数来生成合适的Weblet
|
TemplatePathNode |
queryPath(javax.servlet.http.HttpServletRequest req)
获取模板的路径
|
TemplatePathMarker[] |
queryPathMarker()
用于查询路径的参数名
|
match, suffix
TemplatePathMarker[] queryPathMarker()
TemplatePathNode queryPath(javax.servlet.http.HttpServletRequest req)
req
- http请求Weblet createWebletByRequest(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
req
- http请求res
- http应答java.lang.Exception
Weblet createEmbeddedWeblet(java.lang.String tplPath, java.util.Map<java.lang.String,java.lang.Object> parameterMap) throws java.lang.Exception
tplPath
- 模板路径模板名parameterMap
- 参数java.lang.Exception