Skip to content

Conversation

@rbygrave
Copy link
Contributor

This provides a way to minimise the dependencies of an HttpClient that only has a single body type to support.

That is, make it easier to use sayjust avaje-json-core or avaje-json-node as a dependency to handle the response body &/or request body where the http endpoint only has the single body type to support [and arguably avaje-jsonb or Jackson is a bit "overkill"].

An alternative is this is to just to use raw body content like String or byte[], and handle it all without a BodyAdapter but this provides a more explicit API for that use case..

… body type

This provides a way to minimise the dependencies of an HttpClient that only has a single body type to support.
@rbygrave rbygrave requested a review from SentryMan December 16, 2024 18:34
@rbygrave rbygrave self-assigned this Dec 16, 2024
@SentryMan
Copy link
Collaborator

seems kinda specific but ok

@rbygrave rbygrave merged commit 97fe4b6 into master Dec 16, 2024
7 checks passed
@rbygrave rbygrave deleted the feature/client-singleBodyAdapter branch December 16, 2024 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants