public class Config
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FMT_FALLBACK_LOCALE
The fallback locale if none is found.
|
static java.lang.String |
FMT_LOCALE
The application's configured locale.
|
static java.lang.String |
FMT_LOCALIZATION_CONTEXT
The current i18n localization context.
|
static java.lang.String |
FMT_TIME_ZONE
The current time zone.
|
static java.lang.String |
SQL_DATA_SOURCE
The current Data Source.
|
static java.lang.String |
SQL_MAX_ROWS
The maximum rows to read from the database.
|
Constructor and Description |
---|
Config() |
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
find(PageContext pageContext,
java.lang.String name) |
static java.lang.Object |
get(HttpSession session,
java.lang.String name) |
static java.lang.Object |
get(PageContext pageContext,
java.lang.String name,
int scope)
Returns an attribute from the page context.
|
static java.lang.Object |
get(ServletContext context,
java.lang.String name) |
static java.lang.Object |
get(ServletRequest request,
java.lang.String name) |
static void |
remove(HttpSession session,
java.lang.String name) |
static void |
remove(PageContext pageContext,
java.lang.String name,
int scope)
Returns an attribute from the page context.
|
static void |
remove(ServletContext context,
java.lang.String name) |
static void |
remove(ServletRequest request,
java.lang.String name) |
static void |
set(HttpSession session,
java.lang.String name,
java.lang.Object var) |
static void |
set(PageContext pageContext,
java.lang.String name,
java.lang.Object var,
int scope) |
static void |
set(ServletContext context,
java.lang.String name,
java.lang.Object var) |
static void |
set(ServletRequest request,
java.lang.String name,
java.lang.Object var) |
public static final java.lang.String FMT_LOCALE
public static final java.lang.String FMT_FALLBACK_LOCALE
public static final java.lang.String FMT_LOCALIZATION_CONTEXT
public static final java.lang.String FMT_TIME_ZONE
public static final java.lang.String SQL_DATA_SOURCE
public static final java.lang.String SQL_MAX_ROWS
public static java.lang.Object find(PageContext pageContext, java.lang.String name)
public static java.lang.Object get(PageContext pageContext, java.lang.String name, int scope)
public static java.lang.Object get(ServletRequest request, java.lang.String name)
public static java.lang.Object get(HttpSession session, java.lang.String name)
public static java.lang.Object get(ServletContext context, java.lang.String name)
public static void remove(PageContext pageContext, java.lang.String name, int scope)
public static void remove(ServletRequest request, java.lang.String name)
public static void remove(HttpSession session, java.lang.String name)
public static void remove(ServletContext context, java.lang.String name)
public static void set(ServletRequest request, java.lang.String name, java.lang.Object var)
public static void set(HttpSession session, java.lang.String name, java.lang.Object var)
public static void set(ServletContext context, java.lang.String name, java.lang.Object var)
public static void set(PageContext pageContext, java.lang.String name, java.lang.Object var, int scope)