tech.greenfield.vertx.irked.annotations.Endpoint 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 java.lang.annotation.Repeatable;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
/**
* Annotation to configure a route to handle all HTTP requests
* @author odeda
*/
@Repeatable(Endpoints.class)
@Retention(RetentionPolicy.RUNTIME)
public @interface Endpoint {
/**
* Path on which to handle all HTTP requests
* @return path
*/
String value();
}