Class GalaxySessionInterceptor
- java.lang.Object
-
- ca.corefacility.bioinformatics.irida.ria.config.GalaxySessionInterceptor
-
- All Implemented Interfaces:
org.springframework.web.servlet.AsyncHandlerInterceptor
,org.springframework.web.servlet.HandlerInterceptor
public class GalaxySessionInterceptor extends java.lang.Object implements org.springframework.web.servlet.AsyncHandlerInterceptor
Interceptor to determine if theHttpServletRequest
is from a Galaxy Instance. If it is this gets added to the session so that the user is presented with the appropriate information, and cart page.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
GALAXY_CALLBACK_URL
static java.lang.String
GALAXY_CLIENT_ID
-
Constructor Summary
Constructors Constructor Description GalaxySessionInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
preHandle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.Object handler)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Field Detail
-
GALAXY_CALLBACK_URL
public static final java.lang.String GALAXY_CALLBACK_URL
- See Also:
- Constant Field Values
-
GALAXY_CLIENT_ID
public static final java.lang.String GALAXY_CLIENT_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
preHandle
public boolean preHandle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.Object handler) throws java.lang.Exception
- Specified by:
preHandle
in interfaceorg.springframework.web.servlet.HandlerInterceptor
- Throws:
java.lang.Exception
-
-