
javax.net.websocket.annotations.WebSocketError Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of javax.net.websocket-api Show documentation
Show all versions of javax.net.websocket-api Show documentation
JSR 356:Java API for WebSocket
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package javax.net.websocket.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* This method level annotation can be used to decorate a Java method that wishes to be called in order
* to handle errors.
*
* The method may only take the following parameters:-
* - optional Session parameter
* - a Throwable parameter
* - Zero to n String parameters annotated with the @WebSocketPathParam annotation.
* in any order.
*
* @author dannycoward
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface WebSocketError {
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy