public class SiteMeshWebAppContext extends java.lang.Object implements SiteMeshContext
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
contentType |
private static java.lang.String |
IS_USING_STRING_KEY |
private javax.servlet.http.HttpServletRequest |
request |
private javax.servlet.http.HttpServletResponse |
response |
private javax.servlet.ServletContext |
servletContext |
Constructor and Description |
---|
SiteMeshWebAppContext(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.ServletContext servletContext) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContentType() |
javax.servlet.http.HttpServletRequest |
getRequest() |
javax.servlet.http.HttpServletResponse |
getResponse() |
javax.servlet.ServletContext |
getServletContext() |
boolean |
isUsingStream() |
void |
setContentType(java.lang.String contentType) |
void |
setUsingStream(boolean isUsingStream) |
private static final java.lang.String IS_USING_STRING_KEY
private final javax.servlet.http.HttpServletRequest request
private final javax.servlet.http.HttpServletResponse response
private final javax.servlet.ServletContext servletContext
private java.lang.String contentType
public SiteMeshWebAppContext(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.ServletContext servletContext)
public javax.servlet.http.HttpServletRequest getRequest()
public javax.servlet.http.HttpServletResponse getResponse()
public javax.servlet.ServletContext getServletContext()
public boolean isUsingStream()
public void setUsingStream(boolean isUsingStream)
public java.lang.String getContentType()
getContentType
in interface SiteMeshContext
public void setContentType(java.lang.String contentType)
setContentType
in interface SiteMeshContext