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

org.kohsuke.stapler.verb.DELETE Maven / Gradle / Ivy

There is a newer version: 1.263
Show newest version
package org.kohsuke.stapler.verb;

import org.kohsuke.stapler.WebMethod;
import org.kohsuke.stapler.interceptor.InterceptorAnnotation;
import org.kohsuke.stapler.interceptor.Stage;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.*;
import static java.lang.annotation.RetentionPolicy.*;

/**
 * Restricts a {@link WebMethod} to a specific HTTP method 'DELETE'.
 *
 * @author Kohsuke Kawaguchi
 */
@Target(METHOD)
@Retention(RUNTIME)
@Documented
@InterceptorAnnotation(value=HttpVerbInterceptor.class, stage=Stage.SELECTION)
public @interface DELETE {
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy