|
71 | 71 | *
|
72 | 72 | * <p>The following return types are supported for handler methods:
|
73 | 73 | * <ul>
|
74 |
| - * <li>A {@code ModelAndView} object (from Servlet MVC). |
75 |
| - * <li>A {@link org.springframework.ui.Model} object, with the view name implicitly |
| 74 | + * <li>{@code ModelAndView} object (from Servlet MVC). |
| 75 | + * <li>{@link org.springframework.ui.Model} object, with the view name implicitly |
76 | 76 | * determined through a {@link org.springframework.web.servlet.RequestToViewNameTranslator}.
|
77 |
| - * <li>A {@link java.util.Map} object for exposing a model, |
| 77 | + * <li>{@link java.util.Map} object for exposing a model, |
78 | 78 | * with the view name implicitly determined through a
|
79 | 79 | * {@link org.springframework.web.servlet.RequestToViewNameTranslator}.
|
80 |
| - * <li>A {@link org.springframework.web.servlet.View} object. |
81 |
| - * <li>A {@link String} value which is interpreted as view name. |
| 80 | + * <li>{@link org.springframework.web.servlet.View} object. |
| 81 | + * <li>{@link String} value which is interpreted as view name. |
82 | 82 | * <li>{@link ResponseBody @ResponseBody} annotated methods (Servlet-only)
|
83 | 83 | * to set the response content. The return value will be converted to the
|
84 | 84 | * response stream using
|
85 | 85 | * {@linkplain org.springframework.http.converter.HttpMessageConverter message converters}.
|
86 |
| - * <li>An {@link org.springframework.http.HttpEntity HttpEntity<?>} or |
| 86 | + * <li>{@link org.springframework.http.HttpEntity HttpEntity<?>} or |
87 | 87 | * {@link org.springframework.http.ResponseEntity ResponseEntity<?>} object
|
88 | 88 | * (Servlet-only) to set response headers and content. The ResponseEntity body
|
89 | 89 | * will be converted and written to the response stream using
|
90 | 90 | * {@linkplain org.springframework.http.converter.HttpMessageConverter message converters}.
|
91 |
| - * <li>A {@link org.springframework.http.ProblemDetail} or {@link org.springframework.web.ErrorResponse} |
| 91 | + * <li>{@link org.springframework.http.ProblemDetail} or {@link org.springframework.web.ErrorResponse} |
92 | 92 | * object to render an RFC 9457 error response with details in the body.
|
93 | 93 | * <li>{@code void} if the method handles the response itself (by
|
94 | 94 | * writing the response content directly, declaring an argument of type
|
|
0 commit comments