parent
5ef3aab3fe
commit
85d029f7c3
|
@ -100,7 +100,7 @@ public final class ResourceBundleHint implements ConditionalHint {
|
|||
}
|
||||
|
||||
/**
|
||||
* Use the the {@code baseName} of the resource bundle.
|
||||
* Use the {@code baseName} of the resource bundle.
|
||||
* @return {@code this}, to facilitate method chaining
|
||||
*/
|
||||
public Builder baseName(String baseName) {
|
||||
|
|
|
@ -780,7 +780,7 @@ public abstract class AnnotatedElementUtils {
|
|||
if (containerType == null) {
|
||||
// Invoke RepeatableContainers.of() in order to adhere to the contract of
|
||||
// getMergedRepeatableAnnotations() which states that an IllegalArgumentException
|
||||
// will be thrown if the the container cannot be resolved.
|
||||
// will be thrown if the container cannot be resolved.
|
||||
//
|
||||
// In any case, we use standardRepeatables() in order to support repeatable
|
||||
// annotations on other types of repeatable annotations (i.e., nested repeatable
|
||||
|
@ -807,7 +807,7 @@ public abstract class AnnotatedElementUtils {
|
|||
if (containerType == null) {
|
||||
// Invoke RepeatableContainers.of() in order to adhere to the contract of
|
||||
// findMergedRepeatableAnnotations() which states that an IllegalArgumentException
|
||||
// will be thrown if the the container cannot be resolved.
|
||||
// will be thrown if the container cannot be resolved.
|
||||
//
|
||||
// In any case, we use standardRepeatables() in order to support repeatable
|
||||
// annotations on other types of repeatable annotations (i.e., nested repeatable
|
||||
|
|
|
@ -88,7 +88,7 @@ public class ExceptionHandlerExceptionResolver extends AbstractHandlerMethodExce
|
|||
@Nullable
|
||||
private HandlerMethodReturnValueHandlerComposite returnValueHandlers;
|
||||
|
||||
private List<HttpMessageConverter<?>> messageConverters = new ArrayList<>();
|
||||
private final List<HttpMessageConverter<?>> messageConverters = new ArrayList<>();
|
||||
|
||||
private ContentNegotiationManager contentNegotiationManager = new ContentNegotiationManager();
|
||||
|
||||
|
|
|
@ -150,7 +150,7 @@ public class RequestMappingHandlerAdapter extends AbstractHandlerMethodAdapter
|
|||
|
||||
private ContentNegotiationManager contentNegotiationManager = new ContentNegotiationManager();
|
||||
|
||||
private List<HttpMessageConverter<?>> messageConverters = new ArrayList<>();
|
||||
private final List<HttpMessageConverter<?>> messageConverters = new ArrayList<>();
|
||||
|
||||
private final List<Object> requestResponseBodyAdvice = new ArrayList<>();
|
||||
|
||||
|
|
|
@ -3652,9 +3652,9 @@ from an existing `ProblemDetail`. This could be done centrally, e.g. from an
|
|||
|
||||
|
||||
|
||||
[[webflux-ann-rest-exceptions-i8n]]
|
||||
[[webflux-ann-rest-exceptions-i18n]]
|
||||
=== Internationalization
|
||||
[.small]#<<webmvc.adoc#mvc-ann-rest-exceptions-i8n, Web MVC>>#
|
||||
[.small]#<<webmvc.adoc#mvc-ann-rest-exceptions-i18n, Web MVC>>#
|
||||
|
||||
It is a common requirement to internationalize error response details, and good practice
|
||||
to customize the problem details for Spring WebFlux exceptions. This is supported as follows:
|
||||
|
|
|
@ -4948,9 +4948,9 @@ from an existing `ProblemDetail`. This could be done centrally, e.g. from an
|
|||
|
||||
|
||||
|
||||
[[mvc-ann-rest-exceptions-i8n]]
|
||||
[[mvc-ann-rest-exceptions-i18n]]
|
||||
=== Internationalization
|
||||
[.small]#<<web-reactive.adoc#webflux-ann-rest-exceptions-i8n, WebFlux>>#
|
||||
[.small]#<<web-reactive.adoc#webflux-ann-rest-exceptions-i18n, WebFlux>>#
|
||||
|
||||
It is a common requirement to internationalize error response details, and good practice
|
||||
to customize the problem details for Spring MVC exceptions. This is supported as follows:
|
||||
|
|
Loading…
Reference in New Issue