tech.greenfield.vertx.irked.annotations.Get 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 GET requests
* @author odeda
*/
@Repeatable(Gets.class)
@Retention(RetentionPolicy.RUNTIME)
public @interface Get {
/**
* Path on which to handle GET request
* @return path
*/
String value();
}