parent
1fb99e4192
commit
640b97f33c
|
@ -81,7 +81,7 @@ Kotlin::
|
||||||
----
|
----
|
||||||
======
|
======
|
||||||
|
|
||||||
NOTE: `@JsonView` allows an array of view classes but you can only specify only one per
|
NOTE: `@JsonView` allows an array of view classes but you can specify only one per
|
||||||
controller method. Use a composite interface if you need to activate multiple views.
|
controller method. Use a composite interface if you need to activate multiple views.
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,7 @@ to render the response content as XML. If the model contains multiple entries, y
|
||||||
explicitly set the object to be serialized by using the `modelKey` bean property. If the
|
explicitly set the object to be serialized by using the `modelKey` bean property. If the
|
||||||
model contains a single entry, it is serialized automatically.
|
model contains a single entry, it is serialized automatically.
|
||||||
|
|
||||||
You can customized XML mapping as needed by using JAXB or Jackson's provided
|
You can customize XML mapping as needed by using JAXB or Jackson's provided
|
||||||
annotations. When you need further control, you can inject a custom `XmlMapper`
|
annotations. When you need further control, you can inject a custom `XmlMapper`
|
||||||
through the `ObjectMapper` property, for cases where custom XML
|
through the `ObjectMapper` property, for cases where custom XML
|
||||||
you need to provide serializers and deserializers for specific types.
|
you need to provide serializers and deserializers for specific types.
|
||||||
|
|
|
@ -683,7 +683,7 @@ the HTML would be as follows:
|
||||||
----
|
----
|
||||||
|
|
||||||
What if we want to display the entire list of errors for a given page? The next example
|
What if we want to display the entire list of errors for a given page? The next example
|
||||||
shows that the `errors` tag also supports some basic wildcarding functionality.
|
shows that the `errors` tag also supports some basic wildcard functionality.
|
||||||
|
|
||||||
* `path="{asterisk}"`: Displays all errors.
|
* `path="{asterisk}"`: Displays all errors.
|
||||||
* `path="lastName"`: Displays all errors associated with the `lastName` field.
|
* `path="lastName"`: Displays all errors associated with the `lastName` field.
|
||||||
|
|
|
@ -500,8 +500,8 @@ The MVC configuration exposes the following options for asynchronous request pro
|
||||||
|
|
||||||
You can configure the following:
|
You can configure the following:
|
||||||
|
|
||||||
* Default timeout value for async requests, which if not set, depends
|
* The default timeout value for async requests depends
|
||||||
on the underlying Servlet container.
|
on the underlying Servlet container, unless it is set explicitly.
|
||||||
* `AsyncTaskExecutor` to use for blocking writes when streaming with
|
* `AsyncTaskExecutor` to use for blocking writes when streaming with
|
||||||
xref:web/webmvc/mvc-ann-async.adoc#mvc-ann-async-reactive-types[Reactive Types] and for
|
xref:web/webmvc/mvc-ann-async.adoc#mvc-ann-async-reactive-types[Reactive Types] and for
|
||||||
executing `Callable` instances returned from controller methods.
|
executing `Callable` instances returned from controller methods.
|
||||||
|
|
|
@ -138,7 +138,7 @@ Message codes and arguments for each error are also resolved via `MessageSource`
|
||||||
| `MethodArgumentNotValidException`
|
| `MethodArgumentNotValidException`
|
||||||
| (default)
|
| (default)
|
||||||
| `+{0}+` the list of global errors, `+{1}+` the list of field errors.
|
| `+{0}+` the list of global errors, `+{1}+` the list of field errors.
|
||||||
Message codes and arguments for each error are also resolvedvia `MessageSource`.
|
Message codes and arguments for each error are also resolved via `MessageSource`.
|
||||||
|
|
||||||
| `MissingRequestHeaderException`
|
| `MissingRequestHeaderException`
|
||||||
| (default)
|
| (default)
|
||||||
|
|
Loading…
Reference in New Issue