public final class FireWebContext
extends java.lang.Object
Constructor and Description |
---|
FireWebContext() |
Modifier and Type | Method and Description |
---|---|
static FireWebApplication |
getApplication()
Returns application object from context.
|
static java.lang.String[] |
getBundleNames() |
static java.lang.String |
getCharset() |
protected static ContextData |
getContextData() |
static javax.servlet.http.HttpServletRequest |
getRequest() |
static java.util.Locale |
getRequestLocale() |
static java.util.ResourceBundle[] |
getResourceBundles() |
static javax.servlet.http.HttpServletResponse |
getResponse() |
protected static javax.servlet.ServletConfig |
getServletConfig() |
static javax.servlet.ServletContext |
getServletContext() |
protected static javax.servlet.http.HttpSession |
getSession() |
static boolean |
isDebugMode()
Test if debug mode of java scripts.
|
protected static ContextData |
setContextData(ContextData ctx)
Set context data to local thread
|
protected static void |
unsetContextData()
Clear context from local thread
|
protected static final ContextData setContextData(ContextData ctx)
ctx
- context dataprotected static final void unsetContextData()
protected static final ContextData getContextData()
protected static final javax.servlet.http.HttpSession getSession()
protected static final javax.servlet.ServletConfig getServletConfig()
public static final FireWebApplication getApplication()
public static final java.lang.String getCharset()
public static final java.lang.String[] getBundleNames()
public static final java.util.ResourceBundle[] getResourceBundles()
public static final javax.servlet.http.HttpServletRequest getRequest()
public static final javax.servlet.http.HttpServletResponse getResponse()
public static final java.util.Locale getRequestLocale()
public static final javax.servlet.ServletContext getServletContext()
public static final boolean isDebugMode()