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

Add customizer callback for WebHttpHandlerBuilder #39467

Conversation

BenchmarkingBuffalo
Copy link
Contributor

Add a new interface for customizing the WebHttpHandlerBuilder before the HttpHandler is built from it.

For the test, there is also the alternative to use a customizer adding a filter and then take AssertJ and some InstanceOf checks to see, if the filter was added to the chain.
It works as well, but seemed a bit long in code to me.
If you think, this is a better test, hit me up and I will change it.

See gh-39324

Copy link
Member

@wilkinsona wilkinsona left a comment

Choose a reason for hiding this comment

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

Thanks very much for the PR, @BenchmarkingBuffalo.

In addition to my comment about ordering, it would be good to mention the new callback very briefly in the reference docs, perhaps in this section. The source for that section can be found here.

Add a new interface for customizing the WebHttpHandlerBuilder before the HttpHandler is built from it.

See spring-projectsgh-39324
@BenchmarkingBuffalo BenchmarkingBuffalo force-pushed the 39324-webhttphandlerbuilder-customizer-callback branch from 85b7761 to 4a27d60 Compare February 8, 2024 18:53
scottfrederick pushed a commit that referenced this pull request Feb 8, 2024
Add a new interface for customizing the WebHttpHandlerBuilder
before the HttpHandler is built from it.

See gh-39467
@scottfrederick scottfrederick modified the milestones: 3.3.x, 3.3.0-M2 Feb 8, 2024
@scottfrederick
Copy link
Contributor

Thanks for another great contribution @BenchmarkingBuffalo!

@BenchmarkingBuffalo BenchmarkingBuffalo deleted the 39324-webhttphandlerbuilder-customizer-callback branch February 8, 2024 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants