Public Member Functions | |
ZkossElephant (HttpServletRequest request, HttpServletResponse response) | |
HttpServletRequest | getHttpServletRequest () |
HttpServletResponse | getHttpServletResponse () |
HttpSession | getHttpSession (boolean create) |
void | sendRedirect (String uri) |
void | navigateBack () |
Public Member Functions inherited from org.turro.elephant.context.Application | |
Application () | |
ApplicationContext | getContext () |
boolean | hasAnyRoleKey (String role) |
boolean | isInRole (String role) |
boolean | isInRole (String role, String redirect) throws IOException |
IContact | checkUser (boolean doLogin) throws IOException |
Object | getPreference (String key) |
void | putPreference (String key, Object value) |
IConstructor | getConstructor () |
void | invalidateSession () |
IImplementation | getImplementation (String name) |
List | getImplementationNamesByType (String type) |
String | getServerBase () |
String | getServerUrl () |
Static Public Member Functions | |
static Application | getCurrent () |
static void | doWebAdmin (boolean value, String redir) throws IOException |
static boolean | doSendReminder (String login) throws IOException |
static ZkossElephant | instance (HttpServletRequest request, HttpServletResponse response) |
Static Public Member Functions inherited from org.turro.elephant.context.Application | |
static Application | getApplication () |
static Application | getFromConstructor (IConstructor constructor) |
static boolean | loadResources (String path) |
static void | resetSettings () |
static void | resetSchemes () |
static IContact | getUser () |
static Cookie | getCookie (String name) |
static String | getCookieValue (String name) |
static void | setCookie (String name, String value, String path, int age) |
static void | encryptCookie (String name, String value, String path, int age) |
static String | decryptCookieValue (String name) |
static void | deleteCookie (String name, String path) |
static Locale | getUsedLocale () |
static Map | getStringMap () |
static Map | getStringMap (Locale locale, String configured) |
static String | getString (String key) |
static String | getString (String key, String locale) |
static String | getString (String key, Locale locale) |
static List< String > | getAllLocales (String key) |
static ResourceBundle | getBundle (String bundle, Locale locale, String configured) |
static HttpServletRequest | getResolverRequest () |
static HttpServletResponse | getResolverResponse () |
static HttpSession | getResolverSession (boolean create) |
Protected Member Functions | |
IConstructor | doConstructor () |
Additional Inherited Members | |
Static Public Attributes inherited from org.turro.elephant.context.Application | |
static final String[] | BUNDLES |
static final String | REGEXP_NO_RESOURCES = "(\\/zkau.*|\\/app.*)" |
Protected Attributes inherited from org.turro.elephant.context.Application | |
UserPreferences | preferences |
HttpServletRequest | request |
HttpServletResponse | response |
Static Protected Attributes inherited from org.turro.elephant.context.Application | |
static ThreadLocal< Application > | app = new ThreadLocal<>() |
Definition at line 47 of file ZkossElephant.java.
org.turro.elephant.zkoss.ZkossElephant.ZkossElephant | ( | HttpServletRequest | request, |
HttpServletResponse | response | ||
) |
Definition at line 51 of file ZkossElephant.java.
|
protected |
Reimplemented from org.turro.elephant.context.Application.
Definition at line 77 of file ZkossElephant.java.
|
static |
Definition at line 123 of file ZkossElephant.java.
|
static |
Definition at line 114 of file ZkossElephant.java.
|
static |
Definition at line 59 of file ZkossElephant.java.
HttpServletRequest org.turro.elephant.zkoss.ZkossElephant.getHttpServletRequest | ( | ) |
Reimplemented from org.turro.elephant.context.Application.
Definition at line 86 of file ZkossElephant.java.
HttpServletResponse org.turro.elephant.zkoss.ZkossElephant.getHttpServletResponse | ( | ) |
Reimplemented from org.turro.elephant.context.Application.
Definition at line 96 of file ZkossElephant.java.
HttpSession org.turro.elephant.zkoss.ZkossElephant.getHttpSession | ( | boolean | create | ) |
Reimplemented from org.turro.elephant.context.Application.
Definition at line 106 of file ZkossElephant.java.
|
static |
void org.turro.elephant.zkoss.ZkossElephant.navigateBack | ( | ) |
Reimplemented from org.turro.elephant.context.Application.
Definition at line 148 of file ZkossElephant.java.
void org.turro.elephant.zkoss.ZkossElephant.sendRedirect | ( | String | uri | ) |
Reimplemented from org.turro.elephant.context.Application.
Definition at line 135 of file ZkossElephant.java.