All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.cybermkd.route.annotation.DELETE Maven / Gradle / Ivy

package com.cybermkd.route.annotation;

import com.cybermkd.route.valid.Validator;

import java.lang.annotation.*;

/**
 * Annotation used to mark a resource method that responds to HTTP DELETE requests.
 * 删除某一个资源。基本上这个也很少见,不过还是有一些地方比如amazon的S3云服务里面就用的这个方法来删除资源。
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
@Documented
public @interface DELETE {
    String value() default "";

    String[] headers() default {};

    String des() default "";

    Class[] valid() default {};
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy