Interface AppController

    • Method Detail

      • initializeApp

        void initializeApp​(ContainerServices cs)
        Initialize our web application. Save all persistent data structures back into the implementation class as private data members.
        Parameters:
        cs -
      • processRequest

        boolean processRequest​(RequestState reqState)
        Handle an incoming HTTP Request. The state of the incoming request is saved back into the RequestState object for later review by the controller.
        Parameters:
        reqState -
        Returns:
        boolean
      • errorAfterRedirect

        void errorAfterRedirect​(RequestState reqState,
                                java.lang.Exception e)
        Inform the application that the request has failed inside the redirected page
        Parameters:
        reqState -
        e -
      • getPage

        java.lang.String getPage​(RequestState reqState)
        Get the page to redirect to. Must handle the case that an error was found before redirection. In such a case, the page returned should be an error page.
        Parameters:
        reqState -
        Returns:
        String
      • getBaseURL

        java.lang.String getBaseURL​(ContainerServices cs)
        Returns the root name to use on event links and as the action of the forms generated by the application
        Parameters:
        cs -
        Returns:
        String
      • newExternalSecurity

        ExternalSecurity newExternalSecurity()
        Creates new instance of the ExternalSecurity component to be used for authenticating and authorizing users on each of their requests.
        Returns:
        new instance of the ExternalSecurity component.
      • terminateApp

        void terminateApp()
        Terminate the application. This allows the application to cleanup any persistent data structures.
        Since:
        MicroStrategy Web 8.1.0