com.github.datalking.annotation.web.RequestHeader Maven / Gradle / Ivy
package com.github.datalking.annotation.web;
import com.github.datalking.annotation.ValueConstants;
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;
/**
* @author yaoo on 4/24/18
*/
@Target(ElementType.PARAMETER)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface RequestHeader {
String value() default "";
boolean required() default true;
String defaultValue() default ValueConstants.DEFAULT_NONE;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy