Add base infra for Web controllers hints
See gh-28518
This commit is contained in:
committed by
Sébastien Deleuze
parent
472af9c25f
commit
0992f855e6
@@ -33,6 +33,7 @@ import org.springframework.context.ApplicationContext;
|
||||
import org.springframework.context.ApplicationContextAware;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.context.annotation.ImportRuntimeHints;
|
||||
import org.springframework.context.annotation.Lazy;
|
||||
import org.springframework.core.SpringProperties;
|
||||
import org.springframework.core.convert.converter.Converter;
|
||||
@@ -70,6 +71,7 @@ import org.springframework.validation.Validator;
|
||||
import org.springframework.web.HttpRequestHandler;
|
||||
import org.springframework.web.accept.ContentNegotiationManager;
|
||||
import org.springframework.web.bind.WebDataBinder;
|
||||
import org.springframework.web.bind.annotation.WebAnnotationsRuntimeHintsRegistrar;
|
||||
import org.springframework.web.bind.support.ConfigurableWebBindingInitializer;
|
||||
import org.springframework.web.context.ServletContextAware;
|
||||
import org.springframework.web.cors.CorsConfiguration;
|
||||
@@ -188,6 +190,7 @@ import org.springframework.web.util.pattern.PathPatternParser;
|
||||
* @see EnableWebMvc
|
||||
* @see WebMvcConfigurer
|
||||
*/
|
||||
@ImportRuntimeHints(WebAnnotationsRuntimeHintsRegistrar.class)
|
||||
public class WebMvcConfigurationSupport implements ApplicationContextAware, ServletContextAware {
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user