001package io.dinject.controller; 002 003import java.lang.annotation.Retention; 004import java.lang.annotation.Target; 005 006import static java.lang.annotation.ElementType.METHOD; 007import static java.lang.annotation.RetentionPolicy.RUNTIME; 008 009/** 010 * Marks a method that handles HTTP DELETE requests. 011 */ 012@Target(value=METHOD) 013@Retention(value=RUNTIME) 014@HttpMethod(value="DELETE") 015public @interface Delete { 016 017 /** 018 * Specify the path. 019 */ 020 String value() default ""; 021}