-
Notifications
You must be signed in to change notification settings - Fork 38.2k
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
enhancements for spring-webflux #25988
Comments
@binggo-top it is preferable to post text rather than images. It's easier to see the necessary detail and more search friendly. So you have a URI template such as It doesn't work like that because you already have In 5.3 there is a new webClient.get()
.uri("/path", builder -> builder.queryParamIfPresent("org_team", orgTeamOptionalValue)) |
Thank you very much for your answers, I will try the method you mentioned above. |
:
For enhancements, provide context and describe the problem.
context&problem:
When I use webclient to request an http address with optional request parameters, even if I pass a null value to the optional parameter, the null value will be changed to an empty string in the final request
Can webclient automatically recognize the request parameter that is null, and then not display it in the request address?
Means that when'org_team' is null, the last request address is'/api/list_sla_instances?bu=%E9%85%92%E5%BA%97%E6%97%85%E6%B8%B8&bg=%E9 %85%92%E5%BA%97&dateKey=2020-10-29'
The text was updated successfully, but these errors were encountered: