Added PATCH annotation interface

This commit is contained in:
Francesco Mangiacrapa 2023-04-18 10:36:21 +02:00
parent c47b361a0c
commit 9f047dff91
1 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,20 @@
package org.gcube.application.geoportal.service.http;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import javax.ws.rs.HttpMethod;
/**
* The Interface PATCH.
* JAX-RS API 2.0.1 doesn't have PATCH defining it.
*
* @author Francesco Mangiacrapa at ISTI-CNR francesco.mangiacrapa@isti.cnr.it
*
* Apr 17, 2023
*/
@Target({ java.lang.annotation.ElementType.METHOD })
@Retention(java.lang.annotation.RetentionPolicy.RUNTIME)
@HttpMethod("PATCH")
public @interface PATCH {
}