Package com.opensymphony.sitemesh.webapp
Class ContainerTweaks
java.lang.Object
com.opensymphony.sitemesh.webapp.ContainerTweaks
Provides details of which tweaks should be used in SiteMesh - necessary because containers behave subtly different.
- Since:
- SiteMesh 3
- Author:
- Joe Walnes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanShould auto create session.booleanShould ignore illegal state exception on error page.booleanShould log unhandled exceptions.
-
Constructor Details
-
ContainerTweaks
public ContainerTweaks()
-
-
Method Details
-
shouldAutoCreateSession
public boolean shouldAutoCreateSession()Should auto create session.- Returns:
- true, if successful
-
shouldLogUnhandledExceptions
public boolean shouldLogUnhandledExceptions()Should log unhandled exceptions.- Returns:
- true, if successful
-
shouldIgnoreIllegalStateExceptionOnErrorPage
public boolean shouldIgnoreIllegalStateExceptionOnErrorPage()Should ignore illegal state exception on error page.- Returns:
- true, if successful
-