final class ContextData
extends java.lang.Object
Constructor and Description |
---|
ContextData() |
Modifier and Type | Method and Description |
---|---|
FireWebApplication |
getApplication() |
java.lang.String |
getCharset() |
javax.servlet.http.HttpServletRequest |
getRequest() |
java.lang.String[] |
getResourceBoundleNames() |
java.util.ResourceBundle[] |
getResourceBundles() |
javax.servlet.http.HttpServletResponse |
getResponse() |
javax.servlet.ServletConfig |
getServletConfig() |
boolean |
isDebugMode() |
protected ContextData |
setApplication(FireWebApplication application) |
protected void |
setCharset(java.lang.String charset) |
protected void |
setDebugMode(boolean debugMode) |
protected ContextData |
setRequest(javax.servlet.http.HttpServletRequest request) |
protected void |
setResourceBoundleNames(java.lang.String[] resourceBoundleNames) |
protected java.util.ResourceBundle[] |
setResourceBundles(java.util.ResourceBundle[] resourceBundles) |
protected ContextData |
setResponse(javax.servlet.http.HttpServletResponse response) |
protected ContextData |
setServletConfig(javax.servlet.ServletConfig servletConfig) |
public javax.servlet.http.HttpServletRequest getRequest()
public javax.servlet.http.HttpServletResponse getResponse()
public FireWebApplication getApplication()
public javax.servlet.ServletConfig getServletConfig()
public java.lang.String[] getResourceBoundleNames()
public java.lang.String getCharset()
public java.util.ResourceBundle[] getResourceBundles()
public boolean isDebugMode()
protected ContextData setRequest(javax.servlet.http.HttpServletRequest request)
request
- the request to setprotected ContextData setResponse(javax.servlet.http.HttpServletResponse response)
response
- the response to setprotected ContextData setApplication(FireWebApplication application)
application
- the application to setprotected ContextData setServletConfig(javax.servlet.ServletConfig servletConfig)
servletConfig
- the servletConfig to setprotected void setResourceBoundleNames(java.lang.String[] resourceBoundleNames)
resourceBoundleNames
- the boundle names to setprotected void setCharset(java.lang.String charset)
charset
- the charset to setprotected java.util.ResourceBundle[] setResourceBundles(java.util.ResourceBundle[] resourceBundles)
resourceBundles
- loaded resourcesprotected void setDebugMode(boolean debugMode)
debugMode
- if set the debug mode