diff --git a/spring-messaging/src/main/java/org/springframework/messaging/rsocket/service/RSocketExchange.java b/spring-messaging/src/main/java/org/springframework/messaging/rsocket/service/RSocketExchange.java index 115d7bd294..4f86c51775 100644 --- a/spring-messaging/src/main/java/org/springframework/messaging/rsocket/service/RSocketExchange.java +++ b/spring-messaging/src/main/java/org/springframework/messaging/rsocket/service/RSocketExchange.java @@ -24,11 +24,11 @@ import java.lang.annotation.Target; /** * Annotation to declare a method on an RSocket service interface as an RSocket - * endpoint. The endpoint route is defined statically through the annotation - * attributes, and through the input method argument types. + * endpoint. The endpoint route is determined through the annotation attribute, + * and through the method arguments. * - *
Supported at the type level to express common attributes, to be inherited - * by all methods, such as a base route. + *
The annotation is supported at the type level to express a common route, + * to be inherited by all methods. * *
Supported method arguments: *
{@link PayloadArgumentResolver} | * *||||
{@link Object} argument followed by {@link org.springframework.util.MimeType} argument | + *{@link Object}, if followed by {@link org.springframework.util.MimeType} | *Add a metadata value | *{@link MetadataArgumentResolver} | *|
{@link org.springframework.util.MimeType} argument preceded by {@link Object} argument | - *Specify the mime type for the preceding metadata value | + *{@link org.springframework.util.MimeType} | + *Set the MIME type for the metadata value in the preceding argument | *{@link MetadataArgumentResolver} | *