Class OldLinksController

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void errorAfterRedirect​(RequestState reqState, java.lang.Exception e)
      Inform the application that the request has failed inside the redirected page
      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
      java.lang.String getPage​(RequestState reqState)
      Get the page to redirect to.
      void initializeApp​(ContainerServices cs)
      Initialize our web application.
      ExternalSecurity newExternalSecurity()
      Creates new instance of the ExternalSecurity component to be used for authenticating and authorizing users on each of their requests.
      RequestState newRequestState()
      Create a new per-request data structure
      boolean processRequest​(RequestState reqState)
      Handle an incoming HTTP Request.
      void terminateApp()
      Subclasses that override this method should invoke this via super.terminateApp to ensure threads and other application related resources are cleaned up properly.
      • Methods inherited from class java.lang.Object

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

      • OldLinksController

        public OldLinksController()
    • Method Detail

      • initializeApp

        public void initializeApp​(ContainerServices cs)
        Description copied from interface: AppController
        Initialize our web application. Save all persistent data structures back into the implementation class as private data members.
      • getBaseURL

        public java.lang.String getBaseURL​(ContainerServices cs)
        Description copied from interface: AppController
        Returns the root name to use on event links and as the action of the forms generated by the application
        Returns:
        String
      • newExternalSecurity

        public ExternalSecurity newExternalSecurity()
        Description copied from interface: AppController
        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.
      • processRequest

        public boolean processRequest​(RequestState reqState)
        Description copied from interface: AppController
        Handle an incoming HTTP Request. The state of the incoming request is saved back into the RequestState object for later review by the controller.
        Returns:
        boolean
      • getPage

        public java.lang.String getPage​(RequestState reqState)
        Description copied from interface: AppController
        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.
        Returns:
        String
      • errorAfterRedirect

        public void errorAfterRedirect​(RequestState reqState,
                                       java.lang.Exception e)
        Description copied from interface: AppController
        Inform the application that the request has failed inside the redirected page
      • terminateApp

        public void terminateApp()
        Description copied from class: AppControllerImpl
        Subclasses that override this method should invoke this via super.terminateApp to ensure threads and other application related resources are cleaned up properly.
        Specified by:
        terminateApp in interface AppController
        Overrides:
        terminateApp in class AppControllerImpl
        Since:
        MicroStrategy Web 8.1.0