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 may only take the following parameters:-

- optional Session parameter
- Zero to n String parameters annotated with the @WebSocketPathParam annotation.
in any order.

Since:
Draft 002
Author:
dannycoward



Copyright © 2012. All Rights Reserved.