Skip to content

Generate the HTTP binding pass at runtime - #1358

Open
adwsingh wants to merge 1 commit into
adwsingh/runtime-codegen-serde-commonfrom
adwsingh/runtime-codegen-serde-http-binding
Open

adwsingh wants to merge 1 commit into
adwsingh/runtime-codegen-serde-commonfrom
adwsingh/runtime-codegen-serde-http-binding

Conversation

@adwsingh

@adwsingh adwsingh commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

What behavior changes?

Adds opt-in runtime-generated HTTP binding writers and MemberSubsetCodec; wire output remains unchanged, with fallback unless strict mode is selected.

Why is this change needed?

Removes per-member binding-table lookup and type dispatch from HTTP serialization; restJson1_CopyObjectRequest_M improved from 992 to 902 ns/op mean on an m7i.xlarge.

How was this validated?

The HTTP binding suite runs on JDK 25 in strict mode, with focused tests for wire formats, dynamic bindings, payloads, body subsets, and header-injection validation.

What should reviewers focus on?

Review trusted versus validated header values, generated type formatting, and fallback behavior for body subset serialization and direct deserialization.

Additional Links

Stacked on #1353.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@adwsingh
adwsingh marked this pull request as draft September 7, 2026 21:26
@adwsingh
adwsingh force-pushed the adwsingh/runtime-codegen-serde-http-binding branch 2 times, most recently from 09caa64 to 9dee147 Compare September 7, 2026 23:15
@adwsingh
adwsingh force-pushed the adwsingh/runtime-codegen-serde-http-binding branch from 9dee147 to 3cbedb7 Compare September 8, 2026 00:10
@adwsingh
adwsingh force-pushed the adwsingh/runtime-codegen-serde-http-binding branch from 3cbedb7 to 373550e Compare September 8, 2026 10:55
@adwsingh
adwsingh force-pushed the adwsingh/runtime-codegen-serde-http-binding branch 2 times, most recently from ba38f6a to 8163c09 Compare September 8, 2026 15:11
@adwsingh
adwsingh force-pushed the adwsingh/runtime-codegen-serde-http-binding branch from 8163c09 to 06579c9 Compare September 8, 2026 18:46
@adwsingh
adwsingh force-pushed the adwsingh/runtime-codegen-serde-http-binding branch from 06579c9 to f8ddf43 Compare September 8, 2026 18:50
@adwsingh
adwsingh force-pushed the adwsingh/runtime-codegen-serde-http-binding branch from f8ddf43 to 50c8441 Compare September 9, 2026 00:42
@adwsingh
adwsingh force-pushed the adwsingh/runtime-codegen-serde-http-binding branch from 50c8441 to c3c4aa7 Compare September 9, 2026 00:50
@adwsingh
adwsingh marked this pull request as ready for review September 9, 2026 00:54
@adwsingh
adwsingh force-pushed the adwsingh/runtime-codegen-serde-http-binding branch from c3c4aa7 to ff7760d Compare September 9, 2026 10:55
@adwsingh
adwsingh force-pushed the adwsingh/runtime-codegen-serde-http-binding branch from ff7760d to aec4da6 Compare September 9, 2026 11:27
@adwsingh
adwsingh force-pushed the adwsingh/runtime-codegen-serde-http-binding branch from aec4da6 to 1b8476e Compare September 9, 2026 11:28
@adwsingh
adwsingh force-pushed the adwsingh/runtime-codegen-serde-http-binding branch from 1b8476e to c3c4aa7 Compare September 9, 2026 12:18
@adwsingh
adwsingh force-pushed the adwsingh/runtime-codegen-serde-http-binding branch from c3c4aa7 to b0ae043 Compare September 9, 2026 18:50
@adwsingh
adwsingh force-pushed the adwsingh/runtime-codegen-serde-http-binding branch from b0ae043 to 5944a70 Compare September 9, 2026 19:55
@adwsingh
adwsingh force-pushed the adwsingh/runtime-codegen-serde-http-binding branch from 5944a70 to 0a0c867 Compare September 10, 2026 18:02
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.

1 participant