Merge branch '6.2.x'
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2023 the original author or authors.
|
||||
* Copyright 2002-2025 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -275,7 +275,7 @@ public abstract class AbstractMessageConverter implements SmartMessageConverter
|
||||
* @param message the input message
|
||||
* @param targetClass the target class for the conversion
|
||||
* @param conversionHint an extra object passed to the {@link MessageConverter},
|
||||
* for example, the associated {@code MethodParameter} (may be {@code null}}
|
||||
* for example, the associated {@code MethodParameter} (may be {@code null})
|
||||
* @return the result of the conversion, or {@code null} if the converter cannot
|
||||
* perform the conversion
|
||||
* @since 4.2
|
||||
@@ -291,7 +291,7 @@ public abstract class AbstractMessageConverter implements SmartMessageConverter
|
||||
* @param payload the Object to convert
|
||||
* @param headers optional headers for the message (may be {@code null})
|
||||
* @param conversionHint an extra object passed to the {@link MessageConverter},
|
||||
* for example, the associated {@code MethodParameter} (may be {@code null}}
|
||||
* for example, the associated {@code MethodParameter} (may be {@code null})
|
||||
* @return the resulting payload for the message, or {@code null} if the converter
|
||||
* cannot perform the conversion
|
||||
* @since 4.2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2017 the original author or authors.
|
||||
* Copyright 2002-2025 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -40,7 +40,7 @@ public interface SmartMessageConverter extends MessageConverter {
|
||||
* @param message the input message
|
||||
* @param targetClass the target class for the conversion
|
||||
* @param conversionHint an extra object passed to the {@link MessageConverter},
|
||||
* for example, the associated {@code MethodParameter} (may be {@code null}}
|
||||
* for example, the associated {@code MethodParameter} (may be {@code null})
|
||||
* @return the result of the conversion, or {@code null} if the converter cannot
|
||||
* perform the conversion
|
||||
* @see #fromMessage(Message, Class)
|
||||
@@ -54,7 +54,7 @@ public interface SmartMessageConverter extends MessageConverter {
|
||||
* @param payload the Object to convert
|
||||
* @param headers optional headers for the message (may be {@code null})
|
||||
* @param conversionHint an extra object passed to the {@link MessageConverter},
|
||||
* for example, the associated {@code MethodParameter} (may be {@code null}}
|
||||
* for example, the associated {@code MethodParameter} (may be {@code null})
|
||||
* @return the new message, or {@code null} if the converter does not support the
|
||||
* Object type or the target media type
|
||||
* @see #toMessage(Object, MessageHeaders)
|
||||
|
||||
Reference in New Issue
Block a user