Class AdminComponentRequestRouter<T extends AbstractAdminComponentSessionController>

    • Constructor Detail

      • AdminComponentRequestRouter

        public AdminComponentRequestRouter()
    • Method Detail

      • getAdminDestination

        public abstract String getAdminDestination​(String function,
                                                   T componentSC,
                                                   HttpRequest request)
        This method has to be implemented by the admin component request Router it has to compute a destination page
        Parameters:
        function - The entering request function (ex : "Main.jsp", when accessing "/RjobManager/jsp/Main.jsp")
        componentSC - The component Session Controller, build and initialised.
        request - The entering request. The request Router need it to get parameters
        Returns:
        The complete destination URL for a forward (ex : "/RjobManager/jsp/Main.jsp?flag=read")
      • getDestination

        public String getDestination​(String function,
                                     T componentSC,
                                     HttpRequest request)
        Description copied from class: ComponentRequestRouter
        This method has to be implemented by the component request Router it has to compute a destination page
        Specified by:
        getDestination in class ComponentRequestRouter<T extends AbstractAdminComponentSessionController>
        Parameters:
        function - The entering request function (ex : "Main.jsp", when accessing "http://localhost/webactiv/Ralmanach/jsp/Main.jsp")
        componentSC - The component Session Controller, build and initialised.
        request - The entering request. The request Router need it to get parameters
        Returns:
        The complete destination URL for a forward (ex : "/almanach/jsp/almanach.jsp?flag=user")