javax.websocket
Annotation Type OnClose


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

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


The parameters may appear in any order.

Since:
Draft 002
Author:
dannycoward



Copyright © 2012-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Comments to : users@websocket-spec.java.net