Class MultipartFileBuilderAutoConfiguration


  • @ConditionalOnWebApplication(type=REACTIVE)
    @ConditionalOnClass(MultipartFileBuilder.class)
    @EnableConfigurationProperties(UploadProperties.class)
    @Configuration
    public class MultipartFileBuilderAutoConfiguration
    extends Object
    The multipart file builder auto configuration.
    Author:
    Christian Bremer
    • Constructor Detail

      • MultipartFileBuilderAutoConfiguration

        public MultipartFileBuilderAutoConfiguration​(UploadProperties properties)
        Instantiates a new multipart file builder auto configuration.
        Parameters:
        properties - the properties
    • Method Detail

      • init

        @EventListener(org.springframework.boot.context.event.ApplicationReadyEvent.class)
        public void init()
        Init.
      • multipartFileBuilder

        @ConditionalOnMissingBean
        @Bean
        public MultipartFileBuilder multipartFileBuilder()
        Multipart file builder multipart file builder.
        Returns:
        the multipart file builder