public final class ThreadLocalPageContext extends Object
Constructor and Description |
---|
ThreadLocalPageContext() |
Modifier and Type | Method and Description |
---|---|
static PageContext |
get()
returns pagecontext registered for the current thread
|
static PageContext |
get(PageContext pc) |
static Config |
getConfig() |
static Config |
getConfig(Config config) |
static Config |
getConfig(PageContext pc) |
static Locale |
getLocale(PageContext pc) |
static TimeZone |
getTimeZone() |
static TimeZone |
getTimeZone(Config config) |
static TimeZone |
getTimeZone(PageContext pc) |
static TimeZone |
getTimeZone(TimeZone timezone) |
static void |
register(PageContext pc)
register a pagecontext for he current thread
|
static void |
release()
release the pagecontext for the current thread
|
public ThreadLocalPageContext()
public static void register(PageContext pc)
pc
- PageContext to registerpublic static PageContext get()
public static void release()
public static Config getConfig(PageContext pc)
public static TimeZone getTimeZone(PageContext pc)
public static Locale getLocale(PageContext pc)
public static TimeZone getTimeZone(Config config)
public static TimeZone getTimeZone(TimeZone timezone)
public static TimeZone getTimeZone()
public static PageContext get(PageContext pc)
Copyright © 2015 Lucee