|
|
|
@ -39,7 +39,7 @@ public interface SmartMessageConverter extends MessageConverter { |
|
|
|
* @param message the input message |
|
|
|
* @param message the input message |
|
|
|
* @param targetClass the target class for the conversion |
|
|
|
* @param targetClass the target class for the conversion |
|
|
|
* @param conversionHint an extra object passed to the {@link MessageConverter}, |
|
|
|
* @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 |
|
|
|
* @return the result of the conversion, or {@code null} if the converter cannot |
|
|
|
* perform the conversion |
|
|
|
* perform the conversion |
|
|
|
* @see #fromMessage(Message, Class) |
|
|
|
* @see #fromMessage(Message, Class) |
|
|
|
@ -54,7 +54,7 @@ public interface SmartMessageConverter extends MessageConverter { |
|
|
|
* @param payload the Object to convert |
|
|
|
* @param payload the Object to convert |
|
|
|
* @param headers optional headers for the message (may be {@code null}) |
|
|
|
* @param headers optional headers for the message (may be {@code null}) |
|
|
|
* @param conversionHint an extra object passed to the {@link MessageConverter}, |
|
|
|
* @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 |
|
|
|
* @return the new message, or {@code null} if the converter does not support the |
|
|
|
* Object type or the target media type |
|
|
|
* Object type or the target media type |
|
|
|
* @see #toMessage(Object, MessageHeaders) |
|
|
|
* @see #toMessage(Object, MessageHeaders) |
|
|
|
|