List of usage examples for org.springframework.web.reactive.result.method.annotation ArgumentResolverConfigurer ArgumentResolverConfigurer
ArgumentResolverConfigurer
From source file:org.springframework.web.reactive.result.method.annotation.RequestMappingHandlerAdapter.java
@Override public void afterPropertiesSet() throws Exception { Assert.notNull(this.applicationContext, "ApplicationContext is required"); if (CollectionUtils.isEmpty(this.messageReaders)) { ServerCodecConfigurer codecConfigurer = ServerCodecConfigurer.create(); this.messageReaders = codecConfigurer.getReaders(); }// ww w . j a va2 s . com if (this.argumentResolverConfigurer == null) { this.argumentResolverConfigurer = new ArgumentResolverConfigurer(); } if (this.reactiveAdapterRegistry == null) { this.reactiveAdapterRegistry = ReactiveAdapterRegistry.getSharedInstance(); } this.methodResolver = new ControllerMethodResolver(this.argumentResolverConfigurer, this.messageReaders, this.reactiveAdapterRegistry, this.applicationContext); this.modelInitializer = new ModelInitializer(this.methodResolver, this.reactiveAdapterRegistry); }