public interface

AppController

com.microstrategy.web.controller.AppController
Known Indirect Subclasses

Summary

Public Methods
abstract void errorAfterRedirect(RequestState reqState, Exception e)
Inform the application that the request has failed inside the redirected page
abstract String getBaseURL(ContainerServices cs)
Returns the root name to use on event links and as the action of the forms generated by the application
abstract String getPage(RequestState reqState)
Get the page to redirect to.
abstract void initializeApp(ContainerServices cs)
Initialize our web application.
abstract ExternalSecurity newExternalSecurity()
Creates new instance of the ExternalSecurity component to be used for authenticating and authorizing users on each of their requests.
abstract RequestState newRequestState()
Create a new per-request data structure
abstract boolean processRequest(RequestState reqState)
Handle an incoming HTTP Request.
abstract void terminateApp()
Terminate the application.

Public Methods

public abstract void errorAfterRedirect (RequestState reqState, Exception e)

Inform the application that the request has failed inside the redirected page

public abstract String getBaseURL (ContainerServices cs)

Returns the root name to use on event links and as the action of the forms generated by the application

Returns
  • String

public abstract 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.

Returns
  • String

public abstract void initializeApp (ContainerServices cs)

Initialize our web application. Save all persistent data structures back into the implementation class as private data members.

public abstract 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.

public abstract RequestState newRequestState ()

Create a new per-request data structure

Returns

public abstract 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.

Returns
  • boolean

public abstract void terminateApp ()

Terminate the application. This allows the application to cleanup any persistent data structures.