We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I want to implement a partial update with PUT (don't suggest PATCH to me, not going to happen :P).
When using normal beans you don't differentiate between null and ascent. Null = update the value to null Absent = Don't update the field.
Example. POST { "value1": "a", "value2": "b" } PUT { "value1": "c" } GET { "value1": "c", "value2": "b" }
POST { "value1": "a", "value2": "b" } PUT { "value1": "c", "value2": null } GET { "value1": "c", "value2": null }
How can I implement this with Jersey? I would still like to use beans and not a map instead....
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
No branches or pull requests
I want to implement a partial update with PUT (don't suggest PATCH to me, not going to happen :P).
When using normal beans you don't differentiate between null and ascent.
Null = update the value to null
Absent = Don't update the field.
Example.
POST { "value1": "a", "value2": "b" }
PUT { "value1": "c" }
GET { "value1": "c", "value2": "b" }
POST { "value1": "a", "value2": "b" }
PUT { "value1": "c", "value2": null }
GET { "value1": "c", "value2": null }
How can I implement this with Jersey?
I would still like to use beans and not a map instead....
The text was updated successfully, but these errors were encountered: