How to have a @PATCH annotation for JAX-RS?
I got answer here. One will just have to define a custom Patch annotation, what that means is that you will have to write a PATCH.java file with following code: @Target({ElementType.METHOD}) @Retention(RetentionPolicy.RUNTIME) @HttpMethod(“PATCH”) public @interface PATCH { } Import the package containing PATCH.java and then you can use it like other HTTP method annotations: @PATCH … Read more