Package io.jmix.rest

Class RestConfiguration

java.lang.Object
io.jmix.rest.RestConfiguration
All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer

@Configuration @ComponentScan @ConfigurationPropertiesScan @PropertySource("classpath:/io/jmix/rest/module.properties") public class RestConfiguration extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected RestProperties
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    configureContentNegotiation(org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer customizer)
     
    org.springframework.web.multipart.commons.CommonsMultipartResolver
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer

    addArgumentResolvers, addCorsMappings, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
  • Field Details

  • Constructor Details

    • RestConfiguration

      public RestConfiguration()
  • Method Details

    • multipartResolver

      @Bean public org.springframework.web.multipart.commons.CommonsMultipartResolver multipartResolver()
    • configureContentNegotiation

      public void configureContentNegotiation(org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer customizer)
      Specified by:
      configureContentNegotiation in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer