-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Client Should Support HTTP Patch Method #1276
Comments
This can be done by invoking |
@hantsy Could you please elaborate on chosing the term "SHOULD"? IMHO this is rather nice to have. |
For a Chinese, in my mind, |
@jamezp Already used it, https://github.com/hantsy/jakartaee11-sandbox/blob/master/rest/src/test/java/com/example/it/ArticleResourceTest.java#L179 But here it requires a property for the Of course, I hope a simple |
@hantsy I'm not sure what I've got no strong opinion on adding or not adding really, just showing there is a fairly simply workaround for it. |
This term has special meaning in JAX-RS and other specifications: https://github.com/jakartaee/rest/blob/main/jaxrs-spec/src/main/asciidoc/chapters/introduction/_conventions.adoc. It is not country-dependent. |
This is Jersey specific, using reflection to allow JDK HttpUrlConnection for having an HTTP method not supported by the JDK. However, it does not work on JDK 16+ without --add-open on JDK packages, which may be forbidden in customer production environments. The requirement is understandable, but difficult to reach. The JDK HttpUrlConnection does not support it, and the java.net.http implementation of HttpClient is very limiting in what it allows, many use-cases are not possible to implement. The requirement, if mandatory, could lead to a requirement for each Jakarta-REST implementation to actually implement an HTTP Client that supports all the use-cases (or find a third-party client that is capable of doing so and be inherently dependent on it). |
I would like use a modern Http connector enigne. |
Currently
SyncInvoker
does not include apatch
method, should add patch and align to JSON PATCH/Merge Patch support in the server side.The text was updated successfully, but these errors were encountered: