Added Methods |
HttpStatus getStatusCode()
|
Return the configured HTTP status code or {@code null}. |
View getView()
|
Return the View object, or {@code null} if we are using a view name
to be resolved by the DispatcherServlet via a ViewResolver. |
boolean isStatusOnly()
|
Whether the request is fully handled within the controller. |
void setStatusCode(HttpStatus )
|
Configure the HTTP status code that this controller should set on the
response. |
void setStatusOnly(boolean )
|
The property can be used to indicate the request is considered fully
handled within the controller and that no view should be used for rendering. |
void setView(View )
|
Set a View object for the ModelAndView to return. |