public abstract class AbstractJspDecorator extends Object implements Decorator, JspDecorator
Modifier and Type | Field and Description |
---|---|
protected String |
bodyPostPath |
protected String |
bodyPrePath |
protected String |
headPostPath |
protected String |
headPrePath |
protected com.atlassian.webresource.api.assembler.WebResourceAssembler |
webResourceAssembler |
Modifier | Constructor and Description |
---|---|
protected |
AbstractJspDecorator(com.atlassian.webresource.api.assembler.WebResourceAssembler webResourceAssembler,
String headPrePath,
String headPostPath,
String bodyPrePath,
String bodyPostPath) |
Modifier and Type | Method and Description |
---|---|
void |
setContext(javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Sets this decorator's context
|
void |
writeOnFlush(Writer writer) |
void |
writePostBody(Writer writer,
DecoratablePage.ParsedBody parsedBody) |
void |
writePostHead(Writer writer,
DecoratablePage.ParsedHead parsedHead) |
void |
writePreBody(Writer writer,
DecoratablePage.ParsedBody parsedBody) |
void |
writePreHead(Writer writer) |
protected final com.atlassian.webresource.api.assembler.WebResourceAssembler webResourceAssembler
protected final String headPrePath
protected final String headPostPath
protected final String bodyPrePath
protected final String bodyPostPath
public void setContext(javax.servlet.ServletContext servletContext, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
JspDecorator
setContext
in interface JspDecorator
servletContext
- servlet contextrequest
- requestresponse
- responsepublic void writePreHead(Writer writer)
writePreHead
in interface Decorator
public void writeOnFlush(Writer writer)
writeOnFlush
in interface Decorator
public void writePostHead(Writer writer, DecoratablePage.ParsedHead parsedHead)
writePostHead
in interface Decorator
public void writePreBody(Writer writer, DecoratablePage.ParsedBody parsedBody)
writePreBody
in interface Decorator
public void writePostBody(Writer writer, DecoratablePage.ParsedBody parsedBody)
writePostBody
in interface Decorator
Copyright © 2002-2015 Atlassian. All Rights Reserved.