|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.trajano.twiff.internal.servlet.ServletConfiguration
public class ServletConfiguration
Constructor Summary | |
---|---|
ServletConfiguration(ServletConfig servletConfig)
|
Method Summary | |
---|---|
String |
getDispatchPattern()
This is a URL pattern that the view servlet includes in the request dispatcher to do the actual display. |
String |
getPackageContext()
Returns the package context. |
String |
getRedirectPage()
This is the page that would be displayed during the redirect within the servlet context. |
int |
getRedirectPageTimeout()
This is the amount of time in seconds that the redirect page would wait before reloading itself. |
String |
getTokenFieldName()
Returns the name of the token field. |
boolean |
isRedirectPageDefined()
This returns true if the redirect page was defined. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServletConfiguration(ServletConfig servletConfig)
servletConfig
- servlet configuration to get the servlet context.Method Detail |
---|
public String getTokenFieldName()
Configuration
getTokenFieldName
in interface Configuration
Configuration.getTokenFieldName()
public String getPackageContext()
Configuration
getPackageContext
in interface Configuration
Configuration.getPackageContext()
public String getDispatchPattern()
ViewServletConfiguration
This is a URL pattern that the view servlet includes in the request dispatcher to do the actual display. It replaces the "*" character with the page name. This dispatch pattern is what gets included into the servlet output.
getDispatchPattern
in interface ViewServletConfiguration
ViewServletConfiguration.getDispatchPattern()
public int getRedirectPageTimeout()
RedirectConfiguration
getRedirectPageTimeout
in interface RedirectConfiguration
RedirectConfiguration.getRedirectPageTimeout()
public String getRedirectPage()
RedirectConfiguration
getRedirectPage
in interface RedirectConfiguration
RedirectConfiguration.getRedirectPage()
public boolean isRedirectPageDefined()
RedirectConfiguration
isRedirectPageDefined
in interface RedirectConfiguration
RedirectConfiguration.isRedirectPageDefined()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |