diff --git a/impl/extension/rest/src/main/java/br/gov/frameworkdemoiselle/util/PATCH.java b/impl/extension/rest/src/main/java/br/gov/frameworkdemoiselle/util/PATCH.java new file mode 100644 index 0000000..0750d1e --- /dev/null +++ b/impl/extension/rest/src/main/java/br/gov/frameworkdemoiselle/util/PATCH.java @@ -0,0 +1,38 @@ +/* + * The contents of this file are subject to the terms + * of the Common Development and Distribution License + * (the "License"). You may not use this file except + * in compliance with the License. + * + * You can obtain a copy of the license at + * http://www.opensource.org/licenses/cddl1.php + * See the License for the specific language governing + * permissions and limitations under the License. + */ + +/* + * PUT.java + * + * Created on October 24, 2007, 5:12 PM + * + */ + +package br.gov.frameworkdemoiselle.util; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +import javax.ws.rs.HttpMethod; + +/** + * Indicates that the annotated method responds to HTTP PUT requests + * + * @see HttpMethod + */ +@Target({ ElementType.METHOD }) +@Retention(RetentionPolicy.RUNTIME) +@HttpMethod("PATCH") +public @interface PATCH { +} -- libgit2 0.21.2