tech.greenfield.vertx.irked.annotations.WebSocket Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of irked-vertx Show documentation
Show all versions of irked-vertx Show documentation
Opinionated framework for vertx-web route configuration and dispatch
package tech.greenfield.vertx.irked.annotations;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Repeatable;
import java.lang.annotation.Retention;
/**
* Annotation to configure a route to handle websocket requests
* @author odeda
*/
@Repeatable(WebSockets.class)
@Retention(RUNTIME)
public @interface WebSocket {
/**
* Path on which to accept the websocket request
* @return path
*/
String value();
}