javax.net.websocket.annotations
Annotation Type WebSocketOpen


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

This method level annotation can be used to decorate a Java method that wishes to be called when a new web socket session is open. The method must either take no parameters or a Session parameter.

Since:
Draft 002
Author:
dannycoward



Copyright © 2012. All Rights Reserved.