DecoratorExternalDispatchedDecoratorpublic class DispatchedDecorator extends BaseWebAppDecorator
CONTENT_KEY and CONTEXT_KEY.
To dispatch to a decorator in another web-app on the same server, use ExternalDispatchedDecorator.| Modifier and Type | Field | Description |
|---|---|---|
static String |
CONTENT_KEY |
|
static String |
CONTEXT_KEY |
|
private String |
path |
| Constructor | Description |
|---|---|
DispatchedDecorator(String path) |
| Modifier and Type | Method | 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. |
renderpublic static final String CONTENT_KEY
public static final String CONTEXT_KEY
private final String path
public DispatchedDecorator(String path)
protected void render(Content content, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.ServletContext servletContext, SiteMeshWebAppContext webAppContext) throws IOException, javax.servlet.ServletException
BaseWebAppDecoratorBaseWebAppDecorator.render(com.opensymphony.sitemesh.Content, com.opensymphony.sitemesh.SiteMeshContext)
suited for Servlet API calls.render in class BaseWebAppDecoratorIOExceptionjavax.servlet.ServletExceptionprotected javax.servlet.ServletContext locateWebApp(javax.servlet.ServletContext context)