类 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
封闭类:
StandaloneMockMvcBuilder

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
  • 构造器概要

    构造器
    构造器
    说明
    StandaloneConfiguration(List<cn.taketoday.web.config.WebMvcConfigurer> configurers)
     
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    addInterceptors(cn.taketoday.web.config.InterceptorRegistry registry)
     
    void
    configureAsyncSupport(cn.taketoday.web.config.AsyncSupportConfigurer configurer)
     
    protected void
    configureExceptionHandlers(List<cn.taketoday.web.HandlerExceptionHandler> handlers)
     
    protected void
    configureMessageConverters(List<cn.taketoday.http.converter.HttpMessageConverter<?>> converters)
     
    protected void
    configurePathMatch(cn.taketoday.web.config.PathMatchConfigurer configurer)
     
    protected cn.taketoday.web.handler.method.RequestMappingHandlerMapping
     
    (专用程序包) void
    init(cn.taketoday.core.env.ConfigurableEnvironment environment)
     
    protected void
    modifyParameterResolvingRegistry(cn.taketoday.web.bind.resolver.ParameterResolvingRegistry registry)
     
    protected void
    modifyReturnValueHandlerManager(cn.taketoday.web.handler.ReturnValueHandlerManager manager)
     
    cn.taketoday.web.accept.ContentNegotiationManager
     
    cn.taketoday.format.support.FormattingConversionService
     
    cn.taketoday.validation.Validator
     
    viewReturnValueHandler(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

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • StandaloneConfiguration

      public StandaloneConfiguration(List<cn.taketoday.web.config.WebMvcConfigurer> configurers)
  • 方法详细资料

    • 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

      protected void configureExceptionHandlers(List<cn.taketoday.web.HandlerExceptionHandler> handlers)
      覆盖:
      configureExceptionHandlers 在类中 cn.taketoday.web.config.DelegatingWebMvcConfiguration