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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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
-
restProperties
-
-
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 interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer
-