com.blade.mvc.annotation.GetRoute Maven / Gradle / Ivy
package com.blade.mvc.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface GetRoute {
String[] value() default "/";
/**
* @return route description
*/
String description() default "";
}