注释类型 DestinationVariable
@Target(PARAMETER) @Retention(RUNTIME) @Documented public @interface DestinationVariable
Annotation that indicates a method parameter should be bound to a template variable in a destination template string. Supported on message handling methods such as@MessageMapping
.A
@DestinationVariable
template variable is always required.- 从以下版本开始:
- 4.0
- 作者:
- Brian Clozel, Rossen Stoyanchev
- 另请参阅:
MessageMapping
,SimpAnnotationMethodMessageHandler