JCL-402: Data classes for HTTP Problem Details support by NSeydoux · Pull Request #1160 · inrupt/solid-client-java

@NSeydoux NSeydoux changed the title Data classes for HTTP Problem Details support JCL-402: Data classes for HTTP Problem Details support

Apr 14, 2024

This was referenced

Apr 14, 2024

@NSeydoux NSeydoux marked this pull request as ready for review

April 14, 2024 22:07

langsamu

NSeydoux

edwardsph

NSeydoux

Initial ClientHttpException class

Create HTTP status enum

Add some tests

Add javadoc

Refactor HttpStatus

Add specialized builder to ProblemDetails

Add missing header

Make problem details parsing more resilient

Add tests for problem details parsing

The tests are in the solid-client module, because it will need the
additional json service anyways in the test dependencies for testing the
rest of this feature, and putting these tests in the api module creates
a circular dependency.

License header

@NSeydoux

@NSeydoux

@NSeydoux

@NSeydoux

@NSeydoux

the JSON was invalid, causing the intended code path not to be used.

@NSeydoux

@NSeydoux

@NSeydoux

The exception are now built taking a ProblemDetails in.

Use HttpStatus from API module as reference

Lint

@NSeydoux

@NSeydoux

@NSeydoux

@NSeydoux

@NSeydoux

@NSeydoux

@NSeydoux

That is required by jsonb

NSeydoux

NSeydoux

langsamu

jholleran

@NSeydoux

@NSeydoux

jholleran

@NSeydoux NSeydoux deleted the JCL-460/problem-details-class-http-status branch

April 18, 2024 11:53