Skip to content

refactor(gax): add startUnaryCall to HttpJsonClientCalls - #14136

Merged
whowes merged 1 commit into
mainfrom
whowes/start-unary-call
Aug 28, 2026
Merged

refactor(gax): add startUnaryCall to HttpJsonClientCalls#14136
whowes merged 1 commit into
mainfrom
whowes/start-unary-call

Conversation

@whowes

@whowes whowes commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

HttpJsonClientCalls currently allows callers access to the HTTP response body. The newly-added startUnaryCall allows callers to provide a Listener that allows action based on status codes and headers, both of which are needed for resumable uploads.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request refactors HttpJsonClientCalls.java by extracting the logic for starting a unary call from futureUnaryCall into a new helper method, startUnaryCall. This new method accepts a custom HttpJsonClientCall.Listener parameter, allowing for more flexible call handling, while futureUnaryCall is updated to delegate to this helper. There are no review comments, and I have no feedback to provide.

@whowes whowes changed the title whowes/start unary call feat(gax): add StringHttpResponseParser Aug 19, 2026
@whowes whowes changed the title feat(gax): add StringHttpResponseParser refactor(gax): add startUnaryCall to HttpJsonClientCalls Aug 19, 2026
@whowes
whowes force-pushed the whowes/start-unary-call branch from abf6f55 to 37eaf01 Compare August 21, 2026 00:37
@whowes
whowes force-pushed the whowes/start-unary-call branch from 37eaf01 to 51d3a10 Compare August 24, 2026 19:40
@whowes
whowes force-pushed the whowes/start-unary-call branch 2 times, most recently from 40a0bf9 to 84d4293 Compare August 25, 2026 21:44
@whowes
whowes force-pushed the whowes/start-unary-call branch from 84d4293 to b9389c0 Compare August 25, 2026 22:00
@whowes
whowes force-pushed the whowes/start-unary-call branch from b9389c0 to 897fba0 Compare August 26, 2026 17:56
@whowes
whowes force-pushed the whowes/start-unary-call branch 2 times, most recently from de0deb7 to 52161e1 Compare August 26, 2026 18:28
@whowes
whowes force-pushed the whowes/start-unary-call branch from 52161e1 to 5f7b499 Compare August 26, 2026 18:38
@whowes
whowes force-pushed the whowes/start-unary-call branch 3 times, most recently from 8d5ca43 to 52de5c5 Compare August 27, 2026 00:42
@whowes
whowes force-pushed the whowes/start-unary-call branch from 52de5c5 to 3cdf3ad Compare August 27, 2026 00:42
@whowes
whowes force-pushed the whowes/start-unary-call branch from 3cdf3ad to 30feb38 Compare August 27, 2026 15:27
@whowes
whowes force-pushed the whowes/start-unary-call branch from 30feb38 to 0776d87 Compare August 27, 2026 20:15
@whowes
whowes marked this pull request as ready for review August 27, 2026 20:19
@whowes
whowes requested review from a team as code owners August 27, 2026 20:19
@whowes
whowes requested a review from blakeli0 August 27, 2026 20:19
@whowes
whowes force-pushed the whowes/start-unary-call branch from 0776d87 to dfd32d0 Compare August 27, 2026 20:58
@whowes
whowes force-pushed the whowes/start-unary-call branch from dfd32d0 to 40207ef Compare August 27, 2026 23:52
@whowes
whowes force-pushed the whowes/start-unary-call branch from 40207ef to 604ac83 Compare August 28, 2026 01:34
@whowes
whowes force-pushed the whowes/start-unary-call branch from 604ac83 to 765d9bc Compare August 28, 2026 16:49
@whowes
whowes force-pushed the whowes/start-unary-call branch from 765d9bc to 0b35123 Compare August 28, 2026 17:02
Base automatically changed from whowes/string-http-response-parser to main August 28, 2026 19:11
@whowes
whowes force-pushed the whowes/start-unary-call branch from 0b35123 to d6e1146 Compare August 28, 2026 19:11
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed for 'gapic-generator-java-root'

Failed conditions
B Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed for 'gapic-generator-java-root'

Failed conditions
B Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@whowes
whowes merged commit 716a52e into main Aug 28, 2026
316 of 323 checks passed
@whowes
whowes deleted the whowes/start-unary-call branch August 28, 2026 20:51
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.

2 participants