File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
main/java/org/springframework/web/reactive/config
test/java/org/springframework/web/reactive/config Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ public WebExceptionHandler responseStatusExceptionHandler() {
136
136
@ Bean
137
137
public RequestMappingHandlerMapping requestMappingHandlerMapping (
138
138
@ Qualifier ("webFluxContentTypeResolver" ) RequestedContentTypeResolver contentTypeResolver ,
139
- @ Qualifier ("mvcApiVersionStrategy " ) @ Nullable ApiVersionStrategy apiVersionStrategy ) {
139
+ @ Qualifier ("webFluxApiVersionStrategy " ) @ Nullable ApiVersionStrategy apiVersionStrategy ) {
140
140
141
141
RequestMappingHandlerMapping mapping = createRequestMappingHandlerMapping ();
142
142
mapping .setOrder (0 );
@@ -188,7 +188,7 @@ protected void configureContentTypeResolver(RequestedContentTypeResolverBuilder
188
188
* @since 7.0
189
189
*/
190
190
@ Bean
191
- public @ Nullable ApiVersionStrategy mvcApiVersionStrategy () {
191
+ public @ Nullable ApiVersionStrategy webFluxApiVersionStrategy () {
192
192
if (this .apiVersionStrategy == null ) {
193
193
ApiVersionConfigurer configurer = new ApiVersionConfigurer ();
194
194
configureApiVersioning (configurer );
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ void setup() {
87
87
void requestMappingHandlerMapping () {
88
88
delegatingConfig .setConfigurers (Collections .singletonList (webFluxConfigurer ));
89
89
delegatingConfig .requestMappingHandlerMapping (
90
- delegatingConfig .webFluxContentTypeResolver (), delegatingConfig .mvcApiVersionStrategy ());
90
+ delegatingConfig .webFluxContentTypeResolver (), delegatingConfig .webFluxApiVersionStrategy ());
91
91
92
92
verify (webFluxConfigurer ).configureContentTypeResolver (any (RequestedContentTypeResolverBuilder .class ));
93
93
verify (webFluxConfigurer ).addCorsMappings (any (CorsRegistry .class ));
You can’t perform that action at this time.
0 commit comments