public MultipartConfigElement createMultipartConfig() {
		MultipartConfigFactory factory = new MultipartConfigFactory();
		PropertyMapper map = PropertyMapper.get().alwaysApplyingWhenNonNull();
		map.from(this.fileSizeThreshold).to(factory::setFileSizeThreshold);
		map.from(this.location).whenHasText().to(factory::setLocation);
		map.from(this.maxRequestSize).to(factory::setMaxRequestSize);
		map.from(this.maxFileSize).to(factory::setMaxFileSize);
		return factory.createMultipartConfig();
	}
public MultipartConfigElement createMultipartConfig ( ) { MultipartConfigFactory factory = new MultipartConfigFactory ( ) ; PropertyMapper map = PropertyMapper . get ( ) . alwaysApplyingWhenNonNull ( ) ; map . from ( this . fileSizeThreshold ) . to ( factory :: setFileSizeThreshold ) ; map . from ( this . location ) . whenHasText ( ) . to ( factory :: setLocation ) ; map . from ( this . maxRequestSize ) . to ( factory :: setMaxRequestSize ) ; map . from ( this . maxFileSize ) . to ( factory :: setMaxFileSize ) ; return factory . createMultipartConfig ( ) ; }
Create a new {@link MultipartConfigElement} using the properties.
@return a new {@link MultipartConfigElement} configured using there properties