org.analogweb.annotation.PathVariable Maven / Gradle / Ivy
The newest version!
package org.analogweb.annotation;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.analogweb.core.PathVariableValueResolver;
import org.analogweb.util.StringUtils;
/**
* @author snowgooseyk
*/
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.PARAMETER, ElementType.FIELD, ElementType.ANNOTATION_TYPE })
@Resolver(PathVariableValueResolver.class)
@Valiables
public @interface PathVariable {
String value() default StringUtils.EMPTY;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy