Annotation Interface ApplyDecoder


@Documented @Target(METHOD) @Retention(RUNTIME) public @interface ApplyDecoder
Specifies a WebSocketSafeTypeDecoder to be applied to the second parameter of a WebSocket handler method.

This annotation allows developers to automatically decode an incoming WebSocket Frame into a specific Java type before the method is invoked.

The annotated method must have at least two parameters. The decoder will be used to process the second parameter from the Frame.

Since:
3.5.0
See Also: