|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.velocityweb.dispatcher.Dispatcher
org.velocityweb.dispatcher.LeafDispatcher
leaf dispatcher, belong to one dispatcher group, or not
| Field Summary | |
protected java.lang.String |
templateHtmlCharsetName
HTML tempalte file charset name |
| Constructor Summary | |
LeafDispatcher()
|
|
| Method Summary | |
boolean |
forward(java.lang.Class dispatcherClass,
javax.servlet.http.HttpServletRequest request,
WebAppContext webContext)
forward to another dispathcer |
java.lang.String |
getHtmlTemplateFileName()
get HTML tempalte file name for this dispatcher |
java.lang.String |
getPageTitle()
get page title |
java.lang.String |
getTemplateHtmlCharsetName()
get HTML tempalte file charset name |
int |
getTransactionIsolation()
get transaction isolation of connection, this work for design pattern TRANSACTION-PER-REQUEST |
abstract boolean |
process(javax.servlet.http.HttpServletRequest request,
WebAppContext webContext)
process logic for this dispatcher |
void |
setHtmlTemplateFileName(java.lang.String htmlTemplateFileName)
set HTML tempalte file name for this dispatcher |
void |
setPageTitle(java.lang.String pageTitle)
set page title |
void |
setTemplateHtmlCharsetName(java.lang.String templateHtmlCharsetName)
set HTML tempalte file charset name |
void |
setTransactionIsolation(int transactionIsolation)
set transaction isolation of connection, this work for design pattern TRANSACTION-PER-REQUEST |
| Methods inherited from class org.velocityweb.dispatcher.Dispatcher |
getMenuName, getPageLayout, getUrlId, setPageLayout, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected java.lang.String templateHtmlCharsetName
| Constructor Detail |
public LeafDispatcher()
| Method Detail |
public int getTransactionIsolation()
public void setTransactionIsolation(int transactionIsolation)
transactionIsolation -
public abstract boolean process(javax.servlet.http.HttpServletRequest request,
WebAppContext webContext)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String getHtmlTemplateFileName()
public void setHtmlTemplateFileName(java.lang.String htmlTemplateFileName)
htmlTemplateFileName - public java.lang.String getTemplateHtmlCharsetName()
public void setTemplateHtmlCharsetName(java.lang.String templateHtmlCharsetName)
templateHtmlCharsetName - The templateHtmlCharsetName to set.public java.lang.String getPageTitle()
public void setPageTitle(java.lang.String pageTitle)
pageTitle -
public boolean forward(java.lang.Class dispatcherClass,
javax.servlet.http.HttpServletRequest request,
WebAppContext webContext)
throws java.lang.Exception
dispatcherClass - request - webContext -
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||