public class Login extends Object implements org.springframework.web.servlet.mvc.Controller
| Constructor and Description |
|---|
Login() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getMapping() |
protected String |
getRedirectUrl(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
static String |
getServletPath() |
org.springframework.web.servlet.ModelAndView |
handleRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Process the request and return a ModelAndView object which the DispatcherServlet
will render.
|
protected static boolean |
isAuthorizedRedirect(javax.servlet.http.HttpServletRequest request,
String redirectUrl,
boolean authorizeNullRedirect) |
protected static String |
removeErrorParameter(String redirect) |
public static String getMapping()
public static String getServletPath()
protected String getRedirectUrl(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
public org.springframework.web.servlet.ModelAndView handleRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
null return value is not an error: It indicates that
this object completed request processing itself, thus there is no ModelAndView
to render.handleRequest in interface org.springframework.web.servlet.mvc.Controllerrequest - current HTTP requestresponse - current HTTP responsenull if handled directlyException - in case of errorsprotected static boolean isAuthorizedRedirect(javax.servlet.http.HttpServletRequest request,
String redirectUrl,
boolean authorizeNullRedirect)
Copyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.