public final class ElementsThreadLocals extends Object
Modifier and Type | Method and Description |
---|---|
static void |
destroy() |
static ElementsContext |
getElementsContext() |
static HttpServletRequest |
getHttpServletRequest() |
static HttpServletResponse |
getHttpServletResponse() |
static ognl.OgnlContext |
getOgnlContext() |
static ServletContext |
getServletContext() |
static String |
getText(String key,
Object... args) |
static TextProvider |
getTextProvider() |
static void |
removeElementsContext() |
static void |
setHttpServletRequest(HttpServletRequest httpServletRequest) |
static void |
setHttpServletResponse(HttpServletResponse httpServletResponse) |
static void |
setOgnlContext(ognl.OgnlContext context) |
static void |
setServletContext(ServletContext servletContext) |
static void |
setTextProvider(TextProvider textProvider) |
static void |
setupDefaultElementsContext() |
public static final String copyright
public static void destroy()
public static ElementsContext getElementsContext()
public static TextProvider getTextProvider()
public static void setTextProvider(TextProvider textProvider)
public static HttpServletRequest getHttpServletRequest()
public static void setHttpServletRequest(HttpServletRequest httpServletRequest)
public static HttpServletResponse getHttpServletResponse()
public static void setHttpServletResponse(HttpServletResponse httpServletResponse)
public static ServletContext getServletContext()
public static void setServletContext(ServletContext servletContext)
public static ognl.OgnlContext getOgnlContext()
public static void setOgnlContext(ognl.OgnlContext context)
public static void setupDefaultElementsContext()
public static void removeElementsContext()