For reference, the following is the class hierarchy for LoginController. Highlighted methods are those involved in the discussion below. Tip |
---|
icon | false |
---|
title | LoginController |
---|
| - protected ModelAndView showForm(final HttpServletRequest request, final HttpServletResponse response, final BindException errors) throws Exception {}
|
extends Note |
---|
icon | false |
---|
title | SimpleFormController |
---|
| |
extends Note |
---|
icon | false |
---|
title | AbstractFormController |
---|
| - protected abstract ModelAndView processFormSubmission(
HttpServletRequest request, HttpServletResponse response, Object command, BindException errors) throws Exception; - protected final Object getCommand(HttpServletRequest request) throws Exception;
- protected Object formBackingObject(HttpServletRequest request) throws Exception {};
|
extends Note |
---|
icon | false |
---|
title | BaseCommandController |
---|
| - protected Object getCommand(HttpServletRequest request) {}
- protected final Object createCommand() throws InstantiationException, IllegalAccessException;
- protected final ServletRequestDataBinder bindAndValidate(HttpServletRequest request, Object command) throws Exception {}
|
extends Note |
---|
icon | false |
---|
title | AbstractController |
---|
| - public final ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response) throws Exception {}
- protected abstract ModelAndView handleRequestInternal(HttpServletRequest request, HttpServletResponse response) throws Exception;
|
extends Note |
---|
icon | false |
---|
title | WebContentGenerator |
---|
| |
extends Note |
---|
icon | false |
---|
title | WebApplicationObjectSupport |
---|
| |
extends Note |
---|
icon | false |
---|
title | ApplicationObjectSupport |
---|
| |
|