Package org.hippoecm.frontend.util
Class WebApplicationHelper
- java.lang.Object
-
- org.hippoecm.frontend.util.WebApplicationHelper
-
public class WebApplicationHelper extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
APPLICATION_HASH
static String
HIPPO_AUTO_LOGIN_COOKIE_BASE_NAME
static String
REMEMBERME_COOKIE_BASE_NAME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
clearCookie(String cookieName)
static org.apache.wicket.request.resource.UrlResourceReference
createUniqueUrlResourceReference(org.apache.wicket.request.Url url)
static String
getApplicationName()
static String
getFullyQualifiedCookieName(String cookieBaseName)
static int
getMaxInactiveIntervalMinutes()
static boolean
isDevelopmentMode()
static boolean
isPartOfPage(org.apache.wicket.Component component)
static org.apache.wicket.protocol.http.servlet.ServletWebRequest
retrieveWebRequest()
static org.apache.wicket.request.http.WebResponse
retrieveWebResponse()
protected static void
validateNotBlank(String value)
-
-
-
Field Detail
-
HIPPO_AUTO_LOGIN_COOKIE_BASE_NAME
public static final String HIPPO_AUTO_LOGIN_COOKIE_BASE_NAME
- See Also:
- Constant Field Values
-
REMEMBERME_COOKIE_BASE_NAME
public static final String REMEMBERME_COOKIE_BASE_NAME
- See Also:
- Constant Field Values
-
APPLICATION_HASH
public static final String APPLICATION_HASH
-
-
Method Detail
-
getFullyQualifiedCookieName
public static String getFullyQualifiedCookieName(String cookieBaseName)
-
clearCookie
public static void clearCookie(String cookieName)
-
retrieveWebRequest
public static org.apache.wicket.protocol.http.servlet.ServletWebRequest retrieveWebRequest()
-
retrieveWebResponse
public static org.apache.wicket.request.http.WebResponse retrieveWebResponse()
-
getApplicationName
public static String getApplicationName()
-
isDevelopmentMode
public static boolean isDevelopmentMode()
-
isPartOfPage
public static boolean isPartOfPage(org.apache.wicket.Component component)
-
createUniqueUrlResourceReference
public static org.apache.wicket.request.resource.UrlResourceReference createUniqueUrlResourceReference(org.apache.wicket.request.Url url)
-
validateNotBlank
protected static void validateNotBlank(String value)
-
getMaxInactiveIntervalMinutes
public static int getMaxInactiveIntervalMinutes()
-
-