Skip to content

AddResponseHeaderGatewayFilterFactory support override option #3803

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

Merged
merged 3 commits into from
May 23, 2025

Conversation

JoeCqupt
Copy link
Contributor

@JoeCqupt JoeCqupt commented May 19, 2025

Fixes #3752

@spencergibb
Copy link
Member

Please describe your changes and why they are needed

@JoeCqupt
Copy link
Contributor Author

JoeCqupt commented May 20, 2025

As discussed in #3756

add new config for 'AddResponseHeaderGatewayFilter' to support the override option.

@ryanjbaxter cc @spencergibb

@JoeCqupt JoeCqupt changed the title Add new config for AddResponseHeaderGatewayFilterFactory Add new config for AddResponseHeaderGatewayFilterFactory to support override option May 20, 2025

@Override
public GatewayFilter apply(NameValueConfig config) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Would it be possible to leave this apply method signature and call the new one? Trying to avoid breaking changes

JoeCqupt added 2 commits May 23, 2025 14:11
Signed-off-by: jiangyuan <joe469391363@gmail.com>
Signed-off-by: jiangyuan <joe469391363@gmail.com>
@JoeCqupt JoeCqupt force-pushed the add-response-feat1 branch from 41b1943 to c4675e4 Compare May 23, 2025 08:08
Signed-off-by: jiangyuan <joe469391363@gmail.com>
@JoeCqupt JoeCqupt force-pushed the add-response-feat1 branch from c4675e4 to c99e290 Compare May 23, 2025 08:09
@JoeCqupt JoeCqupt changed the title Add new config for AddResponseHeaderGatewayFilterFactory to support override option AddResponseHeaderGatewayFilterFactory support override option May 23, 2025
@JoeCqupt JoeCqupt requested a review from ryanjbaxter May 23, 2025 08:22
@ryanjbaxter ryanjbaxter merged commit 3430401 into spring-cloud:4.1.x May 23, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants