001package org.kohsuke.stapler.verb;
002
003import org.kohsuke.stapler.WebMethod;
004import org.kohsuke.stapler.interceptor.InterceptorAnnotation;
005import org.kohsuke.stapler.interceptor.Stage;
006
007import java.lang.annotation.Documented;
008import java.lang.annotation.Retention;
009import java.lang.annotation.Target;
010
011import static java.lang.annotation.ElementType.*;
012import static java.lang.annotation.RetentionPolicy.*;
013
014/**
015 * Restricts a {@link WebMethod} to a specific HTTP method 'DELETE'.
016 *
017 * @author Kohsuke Kawaguchi
018 */
019@Target(METHOD)
020@Retention(RUNTIME)
021@Documented
022@InterceptorAnnotation(value=HttpVerbInterceptor.class, stage=Stage.SELECTION)
023public @interface DELETE {
024}