Package com.microstrategy.web.app
Class OldLinksController
- java.lang.Object
-
- com.microstrategy.web.controller.AppControllerImpl
-
- com.microstrategy.web.app.OldLinksController
-
- All Implemented Interfaces:
AppController
public class OldLinksController extends AppControllerImpl
- Since:
- MicroStrategy Web 7.3.1 or earlier
-
-
Constructor Summary
Constructors Constructor Description 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 pagejava.lang.String
getBaseURL(ContainerServices cs)
Returns the root name to use on event links and as the action of the forms generated by the applicationjava.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 structureboolean
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.
-
-
-
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.
-
newRequestState
public RequestState newRequestState()
Description copied from interface:AppController
Create a new per-request data structure- Returns:
RequestState
-
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 interfaceAppController
- Overrides:
terminateApp
in classAppControllerImpl
- Since:
- MicroStrategy Web 8.1.0
-
-