Class MVCApplication
java.lang.Object
fr.paris.lutece.portal.util.mvc.xpage.MVCApplication
- All Implemented Interfaces:
XPageApplication,Serializable
MVC XPage Application
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the content of the XPage based on the current HTTP request.Class<?>
-
Constructor Details
-
MVCApplication
public MVCApplication()
-
-
Method Details
-
getPage
public XPage getPage(jakarta.servlet.http.HttpServletRequest request, int nMode, Plugin plugin) throws SiteMessageException, UserNotSignedException Returns the content of the XPage based on the current HTTP request.This method is the entry point for the Lutece MVCXPage system. It delegates the request to the appropriate controller method (action or view) using
processController, which handles annotation-based dispatching.- Specified by:
getPagein interfaceXPageApplication- Parameters:
request- the incomingHttpServletRequestnMode- the current portal mode (e.g., normal, admin)plugin- the plugin from which this XPage originates- Returns:
- the resolved
XPageobject to be rendered - Throws:
SiteMessageException- if a site message needs to be displayed instead of the standard page contentUserNotSignedException- if a view requires authentication and the user is not currently signed in
-
getRealClass
-