Skip to content

Conversation

@psmarko
Copy link
Contributor

@psmarko psmarko commented Jun 8, 2025

The FrameFactory interface is useful as, for example, it allows patching in PRIORITY support and changing frame values that are not generally configurable. It is set to the default impl in ClientH2StreamMultiplexerFactory making it hard to change. This PR adds the appropriate setter methods into ClientH2StreamMultiplexerFactory and H2RequesterBootstrap to choose a FrameFactory impl as so:

H2RequesterBootstrap.bootstrap().setFrameFactory(impl).create()

@garydgregory
Copy link
Member

Hello @psmarko
Please add unit test that cover the changes.

@psmarko
Copy link
Contributor Author

psmarko commented Jun 10, 2025

I'm not familiar enough to find a similar test case. Could you refer me to an existing test case I could follow? Thank you.

@ok2c ok2c merged commit e5843f9 into apache:master Jun 10, 2025
10 checks passed
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