-
Notifications
You must be signed in to change notification settings - Fork 5
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
JCL-402: HTTP error handling in JenaBodyHandlers #1159
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
da62735
to
aa53b0e
Compare
f6243cb
to
f4b5906
Compare
f4b5906
to
4b37262
Compare
langsamu
reviewed
Apr 15, 2024
jena/src/main/java/com/inrupt/client/jena/JenaBodyHandlers.java
Outdated
Show resolved
Hide resolved
fda4bb3
to
d722196
Compare
4b37262
to
39299b6
Compare
langsamu
reviewed
Apr 17, 2024
jena/src/main/java/com/inrupt/client/jena/JenaBodyHandlers.java
Outdated
Show resolved
Hide resolved
jena/src/main/java/com/inrupt/client/jena/JenaBodyHandlers.java
Outdated
Show resolved
Hide resolved
Base automatically changed from
JCL-460/problem-details-class-http-status
to
main
April 18, 2024 11:53
39299b6
to
f92ed37
Compare
langsamu
approved these changes
Apr 19, 2024
a03f434
to
9e0967d
Compare
ffef3bc
to
b8e402f
Compare
Base automatically changed from
JCL-463/solid-client-throws-pd-exception
to
main
April 23, 2024 08:09
This deprecates the current methods in `JenaBodyHandlers`, and replaces them with similar method throwing an appropriate exception with error details on HTTP error instead of returning an empty dataset. The new method now have `Jena` in their name for this not to be a breaking change: `ofModel` becomes `ofJenaModel`, etc.
b8e402f
to
63be5e6
Compare
acoburn
added a commit
that referenced
this pull request
May 15, 2024
* Revert "JCL-402: RDF4J body handlers http error handling (#1162)" This reverts commit e03eb1e. * Revert "JCL-402: JSONB test coverage (#1184)" This reverts commit 52d485b. * Revert "JCL-402: HTTP error handling in JenaBodyHandlers (#1159)" This reverts commit 89534b4. * Move ProblemDetails to solid module, remove ClientHttpException * ProblemDetails to interface in API module
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is based on #1160, which should be reviewed first.
This deprecates the current methods in
JenaBodyHandlers
, and replaces them with similar method throwing an appropriate exception with error details on HTTP error instead of returning an empty dataset. This makes use of the composable throwing body handler now exposed by theResponse
interface of theapi
module. The new method now haveJena
in their name for this not to be a breaking change:ofModel
becomesofJenaModel
, etc.