@ConfigurationProperties(prefix="multipart", ignoreUnknownFields=false) public class MultipartProperties extends Object
MultipartConfigElement
.
These properties are ultimately passed through
MultipartConfigFactory
which means
you may specify the values using long values or using more readable
String variants that accept Kb or Mb suffixes.
Constructor and Description |
---|
MultipartProperties() |
Modifier and Type | Method and Description |
---|---|
MultipartConfigElement |
createMultipartConfig()
Create a new
MultipartConfigElement using the |
String |
getFileSizeThreshold() |
String |
getLocation() |
String |
getMaxFileSize() |
String |
getMaxRequestSize() |
void |
setFileSizeThreshold(String fileSizeThreshold) |
void |
setLocation(String location) |
void |
setMaxFileSize(String maxFileSize) |
void |
setMaxRequestSize(String maxRequestSize) |
public String getMaxFileSize()
public String getMaxRequestSize()
public String getFileSizeThreshold()
public String getLocation()
public void setMaxFileSize(String maxFileSize)
public void setMaxRequestSize(String maxRequestSize)
public void setLocation(String location)
public void setFileSizeThreshold(String fileSizeThreshold)
public MultipartConfigElement createMultipartConfig()
MultipartConfigElement
using theMultipartConfigElement
configured using there propertiesCopyright © 2015 Pivotal Software, Inc.. All rights reserved.