

Public Member Functions | |
| ElephantApplication (HttpServletRequest request, HttpServletResponse response) | |
| HttpServletRequest | getHttpServletRequest () |
| HttpServletResponse | getHttpServletResponse () |
| 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 () |
| HttpSession | getHttpSession (boolean create) |
| IImplementation | getImplementation (String name) |
| List | getImplementationNamesByType (String type) |
| String | getServerBase () |
| String | getServerUrl () |
Static Public Member Functions | |
| static Application | getCurrent (HttpServletRequest request, HttpServletResponse response) |
| static Application | getCurrent (IConstructor constructor) |
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 30 of file ElephantApplication.java.
| org.turro.elephant.context.ElephantApplication.ElephantApplication | ( | HttpServletRequest | request, |
| HttpServletResponse | response | ||
| ) |
Definition at line 48 of file ElephantApplication.java.
|
protected |
Reimplemented from org.turro.elephant.context.Application.
Definition at line 56 of file ElephantApplication.java.

|
static |
Definition at line 32 of file ElephantApplication.java.


|
static |
Definition at line 42 of file ElephantApplication.java.

| HttpServletRequest org.turro.elephant.context.ElephantApplication.getHttpServletRequest | ( | ) |
Reimplemented from org.turro.elephant.context.Application.
Definition at line 65 of file ElephantApplication.java.

| HttpServletResponse org.turro.elephant.context.ElephantApplication.getHttpServletResponse | ( | ) |
Reimplemented from org.turro.elephant.context.Application.
Definition at line 70 of file ElephantApplication.java.

| void org.turro.elephant.context.ElephantApplication.navigateBack | ( | ) |
Reimplemented from org.turro.elephant.context.Application.
Definition at line 91 of file ElephantApplication.java.

| void org.turro.elephant.context.ElephantApplication.sendRedirect | ( | String | uri | ) |
Reimplemented from org.turro.elephant.context.Application.
Definition at line 82 of file ElephantApplication.java.
