Added PATCH annotation interface
This commit is contained in:
parent
c47b361a0c
commit
9f047dff91
|
@ -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 {
|
||||||
|
}
|
Loading…
Reference in New Issue