@ConfigurationProperties(prefix="spring.webflux.multipart") public class ReactiveMultipartProperties extends Object
Configuration properties
for configuring multipart
support in Spring Webflux. Used to configure the DefaultPartHttpMessageReader
.Constructor and Description |
---|
ReactiveMultipartProperties() |
Modifier and Type | Method and Description |
---|---|
String |
getFileStorageDirectory() |
Charset |
getHeadersCharset() |
DataSize |
getMaxDiskUsagePerPart() |
DataSize |
getMaxHeadersSize() |
DataSize |
getMaxInMemorySize() |
Integer |
getMaxParts() |
Boolean |
getStreaming() |
void |
setFileStorageDirectory(String fileStorageDirectory) |
void |
setHeadersCharset(Charset headersCharset) |
void |
setMaxDiskUsagePerPart(DataSize maxDiskUsagePerPart) |
void |
setMaxHeadersSize(DataSize maxHeadersSize) |
void |
setMaxInMemorySize(DataSize maxInMemorySize) |
void |
setMaxParts(Integer maxParts) |
void |
setStreaming(Boolean streaming) |
public DataSize getMaxInMemorySize()
public void setMaxInMemorySize(DataSize maxInMemorySize)
public DataSize getMaxHeadersSize()
public void setMaxHeadersSize(DataSize maxHeadersSize)
public DataSize getMaxDiskUsagePerPart()
public void setMaxDiskUsagePerPart(DataSize maxDiskUsagePerPart)
public Integer getMaxParts()
public void setMaxParts(Integer maxParts)
public Boolean getStreaming()
public void setStreaming(Boolean streaming)
public String getFileStorageDirectory()
public void setFileStorageDirectory(String fileStorageDirectory)
public Charset getHeadersCharset()
public void setHeadersCharset(Charset headersCharset)