javax.net.websocket.annotations
Annotation Type WebSocketMessage


@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface WebSocketMessage

This method level annotation can be used to make a Java method receive incoming web socket messages. It must have parameters of 1) String / byte[] / or decodable (as determined by the Decoders configured for the endpoint) parameter 2) Optional Session parameter

Since:
Draft 002
Author:
dannycoward



Copyright © 2012. All Rights Reserved.