Annotation Type OnOpen



  • @Retention(RUNTIME)
    @Target(METHOD)
    public @interface OnOpen
    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:-

    The parameters may appear in any order.