Class VelocitySitemeshPage
- java.lang.Object
-
- com.atlassian.confluence.util.profiling.VelocitySitemeshPage
-
- All Implemented Interfaces:
com.opensymphony.module.sitemesh.HTMLPage
,com.opensymphony.module.sitemesh.Page
public class VelocitySitemeshPage extends Object implements com.opensymphony.module.sitemesh.HTMLPage
Sitemesh page with a getProperty method that is declared as HTML safe
-
-
Constructor Summary
Constructors Constructor Description VelocitySitemeshPage(com.opensymphony.module.sitemesh.HTMLPage delegatePage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addProperty(String s, String s1)
String
getBody()
boolean
getBooleanProperty(String s)
String
getHead()
int
getIntProperty(String s)
long
getLongProperty(String s)
String
getPage()
Map
getProperties()
String
getProperty(String s)
String[]
getPropertyKeys()
javax.servlet.http.HttpServletRequest
getRequest()
String
getTitle()
boolean
isFrameSet()
boolean
isPropertySet(String s)
void
setFrameSet(boolean b)
void
setRequest(javax.servlet.http.HttpServletRequest httpServletRequest)
void
writeBody(Writer writer)
void
writeHead(Writer writer)
void
writePage(Writer writer)
-
-
-
Method Detail
-
writePage
public void writePage(Writer writer) throws IOException
- Specified by:
writePage
in interfacecom.opensymphony.module.sitemesh.Page
- Throws:
IOException
-
getPage
public String getPage()
- Specified by:
getPage
in interfacecom.opensymphony.module.sitemesh.Page
-
writeBody
public void writeBody(Writer writer) throws IOException
- Specified by:
writeBody
in interfacecom.opensymphony.module.sitemesh.Page
- Throws:
IOException
-
getBody
public String getBody()
- Specified by:
getBody
in interfacecom.opensymphony.module.sitemesh.Page
-
getTitle
public String getTitle()
- Specified by:
getTitle
in interfacecom.opensymphony.module.sitemesh.Page
-
getProperty
public String getProperty(String s)
- Specified by:
getProperty
in interfacecom.opensymphony.module.sitemesh.Page
-
getIntProperty
public int getIntProperty(String s)
- Specified by:
getIntProperty
in interfacecom.opensymphony.module.sitemesh.Page
-
getLongProperty
public long getLongProperty(String s)
- Specified by:
getLongProperty
in interfacecom.opensymphony.module.sitemesh.Page
-
getBooleanProperty
public boolean getBooleanProperty(String s)
- Specified by:
getBooleanProperty
in interfacecom.opensymphony.module.sitemesh.Page
-
isPropertySet
public boolean isPropertySet(String s)
- Specified by:
isPropertySet
in interfacecom.opensymphony.module.sitemesh.Page
-
getPropertyKeys
public String[] getPropertyKeys()
- Specified by:
getPropertyKeys
in interfacecom.opensymphony.module.sitemesh.Page
-
getProperties
public Map getProperties()
- Specified by:
getProperties
in interfacecom.opensymphony.module.sitemesh.Page
-
getRequest
public javax.servlet.http.HttpServletRequest getRequest()
- Specified by:
getRequest
in interfacecom.opensymphony.module.sitemesh.Page
-
setRequest
public void setRequest(javax.servlet.http.HttpServletRequest httpServletRequest)
- Specified by:
setRequest
in interfacecom.opensymphony.module.sitemesh.Page
-
addProperty
public void addProperty(String s, String s1)
- Specified by:
addProperty
in interfacecom.opensymphony.module.sitemesh.Page
-
writeHead
public void writeHead(Writer writer) throws IOException
- Specified by:
writeHead
in interfacecom.opensymphony.module.sitemesh.HTMLPage
- Throws:
IOException
-
getHead
public String getHead()
- Specified by:
getHead
in interfacecom.opensymphony.module.sitemesh.HTMLPage
-
isFrameSet
public boolean isFrameSet()
- Specified by:
isFrameSet
in interfacecom.opensymphony.module.sitemesh.HTMLPage
-
setFrameSet
public void setFrameSet(boolean b)
- Specified by:
setFrameSet
in interfacecom.opensymphony.module.sitemesh.HTMLPage
-
-