Class ApplicationController
- java.lang.Object
-
- eu.nets.sis.eident.demoapp.controller.ApplicationController
-
@Controller @PropertySource("classpath:application.properties") public class ApplicationController extends ObjectController class, responsible for mapping application requests to appropriate methods and views
-
-
Constructor Summary
Constructors Constructor Description ApplicationController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringclaims(javax.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model)Retrieves and displays claims (Success page)StringclosePopupAndGetClaims(javax.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model)StringdefaultErrorHandler()Responsible for showing error page on errorStringgetHomeUrl()Stringindex(org.springframework.ui.ModelMap model)Displays landing page with content
-
-
-
Method Detail
-
index
@RequestMapping(value="/eident", method=GET) public String index(org.springframework.ui.ModelMap model)Displays landing page with content- Parameters:
model- Form data in key value pair- Returns:
- String value that represents the target HTML page
-
closePopupAndGetClaims
@RequestMapping(value="/eident/popupreturn", method=GET) public String closePopupAndGetClaims(javax.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model) throws Exception- Throws:
Exception
-
claims
@RequestMapping(value="/eident/return", method=GET) public String claims(javax.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap model) throws ExceptionRetrieves and displays claims (Success page)- Parameters:
request- HTTP request objectmodel- Form data in key value pair- Returns:
- String value that represents the target HTML page
- Throws:
Exception- in case of any error
-
defaultErrorHandler
@RequestMapping(value="/error", method=GET) @ExceptionHandler(java.lang.Exception.class) public String defaultErrorHandler()Responsible for showing error page on error- Returns:
- String value that represents the target HTML page
-
getHomeUrl
@ModelAttribute("homeUrl") public String getHomeUrl()- Returns:
- String value as a modal attribute, that represents eident home page
-
-