Update table of supported controller method return types
Closes gh-28814
This commit is contained in:
@@ -4960,6 +4960,9 @@ The actual message code value is parameterized with placeholders, e.g.
|
||||
`"HTTP method {0} not supported"` to be expanded from the arguments.
|
||||
- `ResponseEntityExceptionHandler` uses the message code and the message arguments
|
||||
to resolve the problem "detail" field.
|
||||
- Lower level exceptions that cannot implement `ErrorResponse`, e.g. `TypeMismatchException`,
|
||||
have their problem detail, including message code and arguments set in
|
||||
`ResponseEntityExceptionHandler`.
|
||||
|
||||
Message codes default to "problemDetail." + the fully qualified exception class name. Some
|
||||
exceptions may expose additional message codes in which case a suffix is added to
|
||||
@@ -4975,6 +4978,10 @@ MVC exceptions:
|
||||
| (default)
|
||||
|
|
||||
|
||||
| `ConversionNotSupportedException`
|
||||
| (default)
|
||||
| `{0}` property name, `{1}` property value
|
||||
|
||||
| `HttpMediaTypeNotAcceptableException`
|
||||
| (default)
|
||||
| `{0}` list of supported media types
|
||||
@@ -4991,6 +4998,14 @@ MVC exceptions:
|
||||
| (default) + ".parseError"
|
||||
|
|
||||
|
||||
| `HttpMessageNotReadableException`
|
||||
| (default)
|
||||
|
|
||||
|
||||
| `HttpMessageNotWritableException`
|
||||
| (default)
|
||||
|
|
||||
|
||||
| `HttpRequestMethodNotSupportedException`
|
||||
| (default)
|
||||
| `{0}` the current HTTP method, `{1}` the list of supported HTTP methods
|
||||
@@ -5029,6 +5044,10 @@ MVC exceptions:
|
||||
| (default)
|
||||
|
|
||||
|
||||
| `TypeMismatchException`
|
||||
| (default)
|
||||
| `{0}` property name, `{1}` property value
|
||||
|
||||
| `UnsatisfiedServletRequestParameterException`
|
||||
| (default)
|
||||
| `{0}` the list of parameter conditions
|
||||
|
||||
Reference in New Issue
Block a user