Skip to content
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

Mark Generated Avaje HttpClient implementations as Closeable #734

Merged
merged 4 commits into from
Nov 19, 2024

Conversation

SentryMan
Copy link
Collaborator

@SentryMan SentryMan commented Nov 15, 2024

We already know that they are autocloseable, must we really go through the ceremony of @Bean(closeable=true)?

  • use http annotation prisms
  • generated Avaje Http Client implementations are now registered as closeable if HttpClient is detected to be a subtype of AutoCloseable

@SentryMan SentryMan added the enhancement New feature or request label Nov 15, 2024
@SentryMan SentryMan self-assigned this Nov 15, 2024
@SentryMan SentryMan requested a review from rbygrave November 15, 2024 20:43
@SentryMan SentryMan changed the title Mark Generated Avaje Http Clients implementations as Closeable Mark Generated Avaje HttpClient implementations as Closeable Nov 15, 2024
@SentryMan SentryMan added this to the 10.6 milestone Nov 18, 2024
@rbygrave rbygrave merged commit aac8204 into avaje:master Nov 19, 2024
7 checks passed
@SentryMan SentryMan deleted the generated-client-closeable branch November 19, 2024 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants