@Configuration @PostAutoConfigurationImport(value=NonAutoconfigMultiPartConfiguration.class) @EnableConfigurationProperties(value=org.springframework.boot.autoconfigure.web.servlet.MultipartProperties.class) public class AdminMultipartUploadConfig extends Object
MultipartAutoConfiguration
but overrides the default property
used for max upload sizeModifier and Type | Field and Description |
---|---|
protected org.springframework.boot.autoconfigure.web.servlet.MultipartProperties |
multipartProperties |
Constructor and Description |
---|
AdminMultipartUploadConfig(org.springframework.boot.autoconfigure.web.servlet.MultipartProperties multipartProperties) |
Modifier and Type | Method and Description |
---|---|
javax.servlet.MultipartConfigElement |
multipartConfigElement(org.springframework.core.env.Environment env) |
protected org.springframework.boot.autoconfigure.web.servlet.MultipartProperties multipartProperties
Copyright © 2020. All rights reserved.