@Retention(value=RUNTIME) @Target(value=METHOD) public @interface WebSocketMessage
 @WebSocketMessage;
public void processGreeting(String message, Session session) {
  System.out.println("Greeting received:" + message);
}
Modifier and Type | Optional Element and Description |
---|---|
long |
maxMessageSize
Specifies the maximum size of message in bytes that the method
this annotates will be able to process, or -1 to indicate
that there is no maximum.
|
Copyright © 2013. All Rights Reserved.