类 StandaloneMockMvcBuilder.StandaloneConfiguration
java.lang.Object
cn.taketoday.context.support.ApplicationObjectSupport
cn.taketoday.web.config.WebMvcConfigurationSupport
cn.taketoday.web.config.DelegatingWebMvcConfiguration
cn.taketoday.test.web.servlet.setup.StandaloneMockMvcBuilder.StandaloneConfiguration
- 所有已实现的接口:
cn.taketoday.beans.factory.Aware,cn.taketoday.context.ApplicationContextAware
private class StandaloneMockMvcBuilder.StandaloneConfiguration
extends cn.taketoday.web.config.DelegatingWebMvcConfiguration
Using the MVC Java configuration as the starting point for the "standalone" setup.
-
字段概要
从类继承的字段 cn.taketoday.context.support.ApplicationObjectSupport
applicationContext, logger, messageSourceAccessor -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidaddInterceptors(cn.taketoday.web.config.InterceptorRegistry registry) voidconfigureAsyncSupport(cn.taketoday.web.config.AsyncSupportConfigurer configurer) protected voidconfigureExceptionHandlers(List<cn.taketoday.web.HandlerExceptionHandler> handlers) protected voidconfigureMessageConverters(List<cn.taketoday.http.converter.HttpMessageConverter<?>> converters) protected voidconfigurePathMatch(cn.taketoday.web.config.PathMatchConfigurer configurer) protected cn.taketoday.web.handler.method.RequestMappingHandlerMapping(专用程序包) voidinit(cn.taketoday.core.env.ConfigurableEnvironment environment) protected voidmodifyParameterResolvingRegistry(cn.taketoday.web.bind.resolver.ParameterResolvingRegistry registry) protected voidmodifyReturnValueHandlerManager(cn.taketoday.web.handler.ReturnValueHandlerManager manager) cn.taketoday.web.accept.ContentNegotiationManagercn.taketoday.format.support.FormattingConversionServicecn.taketoday.validation.ValidatorviewReturnValueHandler(cn.taketoday.web.LocaleResolver localeResolver, List<cn.taketoday.web.view.ViewResolver> viewResolvers) 从类继承的方法 cn.taketoday.web.config.DelegatingWebMvcConfiguration
addCorsMappings, addFormatters, addResourceHandlers, addViewControllers, configureContentNegotiation, configureDefaultServletHandling, configureViewResolvers, extendMessageConverters, getValidator从类继承的方法 cn.taketoday.web.config.WebMvcConfigurationSupport
addDefaultHandlerExceptionHandlers, addDefaultHttpMessageConverters, annotationHandlerFactory, beanNameHandlerMapping, configureDefaultViewResolvers, createAnnotationExceptionHandler, createRequestMappingHandlerAdapter, defaultServletHandlerMapping, extendExceptionHandlers, getAsyncSupportConfigurer, getCorsConfigurations, getDefaultMediaTypes, getInterceptors, getMessageCodesResolver, getMessageConverters, getPathMatchConfigurer, getWebBindingInitializer, handlerExceptionHandler, handlerFunctionAdapter, initApplicationContext, initHandlerMapping, mvcUriComponentsContributor, mvcViewResolver, requestMappingHandlerAdapter, resourceHandlerMapping, routerFunctionMapping, viewControllerHandlerMapping, webAsyncManagerFactory, webLocaleResolver从类继承的方法 cn.taketoday.context.support.ApplicationObjectSupport
getApplicationContext, getMessageSourceAccessor, initApplicationContext, isContextRequired, obtainApplicationContext, requiredContextClass, setApplicationContext, unwrapContext, unwrapFactory
-
构造器详细资料
-
StandaloneConfiguration
-
-
方法详细资料
-
viewReturnValueHandler
@Role(2) @ConditionalOnMissingBean(cn.taketoday.web.view.ViewReturnValueHandler.class) public StandaloneMockMvcBuilder.ViewAttributeReturnValueHandler viewReturnValueHandler(@Qualifier("webLocaleResolver") cn.taketoday.web.LocaleResolver localeResolver, List<cn.taketoday.web.view.ViewResolver> viewResolvers) - 覆盖:
viewReturnValueHandler在类中cn.taketoday.web.config.WebMvcConfigurationSupport
-
init
void init(cn.taketoday.core.env.ConfigurableEnvironment environment) -
createRequestMappingHandlerMapping
protected cn.taketoday.web.handler.method.RequestMappingHandlerMapping createRequestMappingHandlerMapping()- 覆盖:
createRequestMappingHandlerMapping在类中cn.taketoday.web.config.WebMvcConfigurationSupport
-
configurePathMatch
protected void configurePathMatch(cn.taketoday.web.config.PathMatchConfigurer configurer) - 覆盖:
configurePathMatch在类中cn.taketoday.web.config.DelegatingWebMvcConfiguration
-
configureMessageConverters
protected void configureMessageConverters(List<cn.taketoday.http.converter.HttpMessageConverter<?>> converters) - 覆盖:
configureMessageConverters在类中cn.taketoday.web.config.DelegatingWebMvcConfiguration
-
modifyParameterResolvingRegistry
protected void modifyParameterResolvingRegistry(cn.taketoday.web.bind.resolver.ParameterResolvingRegistry registry) - 覆盖:
modifyParameterResolvingRegistry在类中cn.taketoday.web.config.DelegatingWebMvcConfiguration
-
modifyReturnValueHandlerManager
protected void modifyReturnValueHandlerManager(cn.taketoday.web.handler.ReturnValueHandlerManager manager) - 覆盖:
modifyReturnValueHandlerManager在类中cn.taketoday.web.config.DelegatingWebMvcConfiguration
-
addInterceptors
public void addInterceptors(cn.taketoday.web.config.InterceptorRegistry registry) - 覆盖:
addInterceptors在类中cn.taketoday.web.config.DelegatingWebMvcConfiguration
-
mvcContentNegotiationManager
public cn.taketoday.web.accept.ContentNegotiationManager mvcContentNegotiationManager()- 覆盖:
mvcContentNegotiationManager在类中cn.taketoday.web.config.WebMvcConfigurationSupport
-
mvcConversionService
public cn.taketoday.format.support.FormattingConversionService mvcConversionService()- 覆盖:
mvcConversionService在类中cn.taketoday.web.config.WebMvcConfigurationSupport
-
configureAsyncSupport
public void configureAsyncSupport(cn.taketoday.web.config.AsyncSupportConfigurer configurer) - 覆盖:
configureAsyncSupport在类中cn.taketoday.web.config.DelegatingWebMvcConfiguration
-
mvcValidator
public cn.taketoday.validation.Validator mvcValidator()- 覆盖:
mvcValidator在类中cn.taketoday.web.config.WebMvcConfigurationSupport
-
configureExceptionHandlers
- 覆盖:
configureExceptionHandlers在类中cn.taketoday.web.config.DelegatingWebMvcConfiguration
-