Small trick when using HTTP PATCH on Jersey HTTP client … You may have to flick the switch HttpUrlConnectorProvider.SET_METHOD_WORKAROUND to true

I found solution here

Beware the documentation statement:

“NOTE: Enabling this property may cause security related warnings/errors and it may break when other JDK implementation is used. Use only when you know what you are doing”

 	  return client
                .property(HttpUrlConnectorProvider.SET_METHOD_WORKAROUND, true)
                .method("PATCH", Entity.json(json));