Package sk.iway.iwcm.system.spring
Class SpringUrlMapping
java.lang.Object
sk.iway.iwcm.system.spring.SpringUrlMapping
Drzi info o URL mapovanych na Spring.
SpringUrlMapping.java
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
getCustomPath
(String path, javax.servlet.http.HttpServletRequest request) Return path to custom component, eg.static String
static String
static void
redirectTo403
(javax.servlet.http.HttpServletResponse response) static String
static void
redirectTo404
(javax.servlet.http.HttpServletResponse response) static String
static void
redirectToLogon
(javax.servlet.http.HttpServletResponse response)
-
Constructor Details
-
SpringUrlMapping
public SpringUrlMapping()
-
-
Method Details
-
redirect
-
redirectToLogon
-
redirectTo403
-
redirectTo403
public static void redirectTo403(javax.servlet.http.HttpServletResponse response) throws IOException - Throws:
IOException
-
redirectTo404
-
redirectTo404
public static void redirectTo404(javax.servlet.http.HttpServletResponse response) throws IOException - Throws:
IOException
-
redirectToLogon
public static void redirectToLogon(javax.servlet.http.HttpServletResponse response) throws IOException - Throws:
IOException
-
getCustomPath
Return path to custom component, eg. /components/user/logon -> /components/INSTALL_NAME/user/logon- Parameters:
path
-request
-- Returns:
-