Class ShogunCoreContextUtil


  • public class ShogunCoreContextUtil
    extends java.lang.Object
    Author:
    Daniel Koch
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.net.URI getApplicationURIFromRequest​(javax.servlet.http.HttpServletRequest request)
      Returns the full webapplication URI from a given request.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ShogunCoreContextUtil

        public ShogunCoreContextUtil()
    • Method Detail

      • getApplicationURIFromRequest

        public static final java.net.URI getApplicationURIFromRequest​(javax.servlet.http.HttpServletRequest request)
                                                               throws java.net.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:
        java.net.URISyntaxException