Class ShogunCoreContextUtil
- java.lang.Object
-
- de.terrestris.shoguncore.util.application.ShogunCoreContextUtil
-
public class ShogunCoreContextUtil extends Object
- Author:
- Daniel Koch
-
-
Constructor Summary
Constructors Constructor Description ShogunCoreContextUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static URIgetApplicationURIFromRequest(javax.servlet.http.HttpServletRequest request)Returns the full webapplication URI from a given request.
-
-
-
Method Detail
-
getApplicationURIFromRequest
public static final URI getApplicationURIFromRequest(javax.servlet.http.HttpServletRequest request) throws URISyntaxException
Returns the full webapplication URI from a given request.Example:
The following GET-request: http://localhost:8080/mapmavin/user/resetPassword.action will result in http://localhost:8080/mapmavin/
- Parameters:
request-- Returns:
- Throws:
URISyntaxException
-
-