tech.greenfield.vertx.irked.annotations.Consumes 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 Route.consumes()
* @author odeda
*/
@Repeatable(ConsumesSpecs.class)
@Retention(RetentionPolicy.RUNTIME)
public @interface Consumes {
/**
* Content-Type for the annotated route
* @return Content-Type value
*/
String value();
}