public class NativeCookieInterceptor extends Object implements org.springframework.web.servlet.HandlerInterceptor
Modifier and Type | Field and Description |
---|---|
static String |
COOKIE_NATIVE
Name of the cookie to set the native flag
|
static String |
COOKIE_PHONEGAP
Name of the cookie to set the phonegap version
|
static String |
COOKIE_PLATFORM
Name of the cookie to set for the platform
|
static String |
SESSION_NATIVE
Session variable that will be set with the flag if the device is running native
|
static String |
SESSION_PHONEGAP
Session variable that will be set with the phonegap version
|
static String |
SESSION_PLATFORM
Session variable that will be set with the platform value
|
Constructor and Description |
---|
NativeCookieInterceptor() |
Modifier and Type | Method and Description |
---|---|
void |
afterCompletion(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object handler,
Exception ex) |
Properties |
getKmeProperties()
Gets the reference to the KME Application properties.
|
void |
postHandle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object handler,
org.springframework.web.servlet.ModelAndView modelAndView) |
boolean |
preHandle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object handler) |
void |
setKmeProperties(Properties kmeProperties)
Sets the reference to the KME Application properties.
|
public static final String SESSION_PLATFORM
public static final String SESSION_PHONEGAP
public static final String SESSION_NATIVE
public static final String COOKIE_PLATFORM
public static final String COOKIE_NATIVE
public static final String COOKIE_PHONEGAP
public NativeCookieInterceptor()
public boolean preHandle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Object handler) throws Exception
preHandle
in interface org.springframework.web.servlet.HandlerInterceptor
Exception
public void postHandle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Object handler, org.springframework.web.servlet.ModelAndView modelAndView) throws Exception
postHandle
in interface org.springframework.web.servlet.HandlerInterceptor
Exception
public void afterCompletion(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Object handler, Exception ex) throws Exception
afterCompletion
in interface org.springframework.web.servlet.HandlerInterceptor
Exception
public Properties getKmeProperties()
public void setKmeProperties(Properties kmeProperties)
kmeProperties
- Reference to the KME Application properties.Copyright © 2011–2014 The Kuali Foundation. All rights reserved.