From 9f047dff9149b913fefdc0bb6c991bcc370bfc18 Mon Sep 17 00:00:00 2001 From: "francesco.mangiacrapa" Date: Tue, 18 Apr 2023 10:36:21 +0200 Subject: [PATCH] Added PATCH annotation interface --- .../geoportal/service/http/PATCH.java | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 geoportal-service/src/main/java/org/gcube/application/geoportal/service/http/PATCH.java diff --git a/geoportal-service/src/main/java/org/gcube/application/geoportal/service/http/PATCH.java b/geoportal-service/src/main/java/org/gcube/application/geoportal/service/http/PATCH.java new file mode 100644 index 0000000..2d0822d --- /dev/null +++ b/geoportal-service/src/main/java/org/gcube/application/geoportal/service/http/PATCH.java @@ -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 { +}