Package org.flasby.christmas
Class ViewController
- java.lang.Object
-
- org.flasby.christmas.ViewController
-
@Controller public class ViewController extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
ADMIN_PAGE
-
Constructor Summary
Constructors Constructor Description ViewController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
admin(org.springframework.ui.Model model)
String
error()
String
forgotPassword()
String
httpPing()
String
index()
String
loggedOut()
String
login()
String
loginX()
String
resetPassword(String userId)
String
shoppingList(String userId)
-
-
-
Field Detail
-
ADMIN_PAGE
public static final String ADMIN_PAGE
- See Also:
- Constant Field Values
-
-
Method Detail
-
loginX
@GetMapping("/login.html") public String loginX()
-
loggedOut
@GetMapping("/loggedout.html") public String loggedOut()
-
error
@GetMapping("/error") public String error()
-
login
@GetMapping("/login") public String login()
-
index
@GetMapping({"/index","/"}) public String index() throws com.fasterxml.jackson.core.JsonProcessingException
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
forgotPassword
@GetMapping("/forgotPassword") public String forgotPassword()
-
admin
@GetMapping("/admin") public String admin(org.springframework.ui.Model model)
-
httpPing
@GetMapping(path="/http-ping", produces="application/json") @ResponseBody public String httpPing()
-
-