From 18a59dad5266dd7cb71b36c5c6eed6d0408c062e Mon Sep 17 00:00:00 2001 From: Rossen Stoyanchev Date: Thu, 18 Feb 2016 18:11:59 -0500 Subject: [PATCH] Minor Javadoc update --- .../annotation/support/MessageMethodArgumentResolver.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/spring-messaging/src/main/java/org/springframework/messaging/handler/annotation/support/MessageMethodArgumentResolver.java b/spring-messaging/src/main/java/org/springframework/messaging/handler/annotation/support/MessageMethodArgumentResolver.java index 2868ac3cc8..03b9ba0681 100644 --- a/spring-messaging/src/main/java/org/springframework/messaging/handler/annotation/support/MessageMethodArgumentResolver.java +++ b/spring-messaging/src/main/java/org/springframework/messaging/handler/annotation/support/MessageMethodArgumentResolver.java @@ -32,7 +32,9 @@ import org.springframework.util.StringUtils; /** * {@code HandlerMethodArgumentResolver} for {@link Message} method arguments. - * Validates that the generic type of the payload matches to the message value. + * Validates that the generic type of the payload matches to the message value + * or otherwise applies {@link MessageConverter} to convert to the expected + * payload type. * * @author Rossen Stoyanchev * @author Stephane Nicoll @@ -46,6 +48,7 @@ public class MessageMethodArgumentResolver implements HandlerMethodArgumentResol /** * Create a new instance with the given {@link MessageConverter}. * @param converter the MessageConverter to use (required) + * @since 4.1 */ public MessageMethodArgumentResolver(MessageConverter converter) { Assert.notNull(converter, "MessageConverter must not be null");