|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.szegedi.spring.web.jsflow.UrlScriptSelectionStrategy
public class UrlScriptSelectionStrategy
A script selection strategy that uses the components of the request URL to select a script to run.
| Constructor Summary | |
|---|---|
UrlScriptSelectionStrategy()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getScriptPath(javax.servlet.http.HttpServletRequest request)
Returns the pathname of the script that should run for a particular initial HTTP request. |
void |
setResourcePath(java.lang.String resourcePath)
Sets the resource path. |
void |
setUsePathInfo(boolean usePathInfo)
Whether to use the path info portion of the request URI when selecting a script to run. |
void |
setUseServletPath(boolean useServletPath)
Whether to use the servlet path portion of the request URI when looking up the script to run. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UrlScriptSelectionStrategy()
| Method Detail |
|---|
public void setResourcePath(java.lang.String resourcePath)
ScriptStorage.setPrefix(String)) ScriptStorage
class.
resourcePath - public void setUsePathInfo(boolean usePathInfo)
usePathInfo - public void setUseServletPath(boolean useServletPath)
useServletPath - public java.lang.String getScriptPath(javax.servlet.http.HttpServletRequest request)
ScriptSelectionStrategy
getScriptPath in interface ScriptSelectionStrategyrequest - the HTTP request that initiates a flow
ModelAndViewDefiningException to
indicate failure.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||