javax.net.websocket.annotations
Annotation Type WebSocketClose


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

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

Since:
Draft 002
Author:
dannycoward



Copyright © 2012. All Rights Reserved.