public class DispatchedDecorator extends BaseWebAppDecorator
CONTENT_KEY
and CONTEXT_KEY
.
ExternalDispatchedDecorator
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONTENT_KEY |
static java.lang.String |
CONTEXT_KEY |
private java.lang.String |
path |
Constructor and Description |
---|
DispatchedDecorator(java.lang.String path) |
Modifier and Type | Method and Description |
---|---|
protected javax.servlet.ServletContext |
locateWebApp(javax.servlet.ServletContext context) |
protected void |
render(Content content,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.ServletContext servletContext,
SiteMeshWebAppContext webAppContext)
More convenient version of
BaseWebAppDecorator.render(com.opensymphony.sitemesh.Content, com.opensymphony.sitemesh.SiteMeshContext)
suited for Servlet API calls. |
render
public static final java.lang.String CONTENT_KEY
public static final java.lang.String CONTEXT_KEY
private final java.lang.String path
protected void render(Content content, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.ServletContext servletContext, SiteMeshWebAppContext webAppContext) throws java.io.IOException, javax.servlet.ServletException
BaseWebAppDecorator
BaseWebAppDecorator.render(com.opensymphony.sitemesh.Content, com.opensymphony.sitemesh.SiteMeshContext)
suited for Servlet API calls.render
in class BaseWebAppDecorator
java.io.IOException
javax.servlet.ServletException
protected javax.servlet.ServletContext locateWebApp(javax.servlet.ServletContext context)