Public Member Functions | |
HeadlessApplication (IConstructor constructor) | |
IConstructor | getConstructor () |
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) |
void | invalidateSession () |
HttpSession | getHttpSession (boolean create) |
IImplementation | getImplementation (String name) |
List | getImplementationNamesByType (String type) |
String | getServerBase () |
String | getServerUrl () |
Static Public Member Functions | |
static HeadlessApplication | getInstance () |
static HeadlessApplication | getInstance (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 () |
Protected Attributes | |
IConstructor | constructor |
Protected Attributes inherited from org.turro.elephant.context.Application | |
UserPreferences | preferences |
HttpServletRequest | request |
HttpServletResponse | response |
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.*)" |
Static Protected Attributes inherited from org.turro.elephant.context.Application | |
static ThreadLocal< Application > | app = new ThreadLocal<>() |
Definition at line 27 of file HeadlessApplication.java.
org.turro.elephant.context.HeadlessApplication.HeadlessApplication | ( | IConstructor | constructor | ) |
Definition at line 46 of file HeadlessApplication.java.
|
protected |
Reimplemented from org.turro.elephant.context.Application.
Definition at line 66 of file HeadlessApplication.java.
IConstructor org.turro.elephant.context.HeadlessApplication.getConstructor | ( | ) |
Reimplemented from org.turro.elephant.context.Application.
Definition at line 51 of file HeadlessApplication.java.
HttpServletRequest org.turro.elephant.context.HeadlessApplication.getHttpServletRequest | ( | ) |
Reimplemented from org.turro.elephant.context.Application.
Definition at line 56 of file HeadlessApplication.java.
HttpServletResponse org.turro.elephant.context.HeadlessApplication.getHttpServletResponse | ( | ) |
Reimplemented from org.turro.elephant.context.Application.
Definition at line 61 of file HeadlessApplication.java.
|
static |
|
static |
Definition at line 37 of file HeadlessApplication.java.
void org.turro.elephant.context.HeadlessApplication.navigateBack | ( | ) |
Reimplemented from org.turro.elephant.context.Application.
Definition at line 83 of file HeadlessApplication.java.
void org.turro.elephant.context.HeadlessApplication.sendRedirect | ( | String | uri | ) |
Reimplemented from org.turro.elephant.context.Application.
Definition at line 78 of file HeadlessApplication.java.
|
protected |
Definition at line 31 of file HeadlessApplication.java.