public interface MultipartConfigType<T> extends Child<T>, JavaeeMultipartConfigCommonType<T,MultipartConfigType<T>>
multipart-configType
xsd typeModifier and Type | Method and Description |
---|---|
MultipartConfigType<T> |
fileSizeThreshold(Integer fileSizeThreshold)
Sets the
file-size-threshold element |
Integer |
getFileSizeThreshold()
Returns the
file-size-threshold element |
String |
getLocation()
Returns the
location element |
Long |
getMaxFileSize()
Returns the
max-file-size element |
Long |
getMaxRequestSize()
Returns the
max-request-size element |
MultipartConfigType<T> |
location(String location)
Sets the
location element |
MultipartConfigType<T> |
maxFileSize(Long maxFileSize)
Sets the
max-file-size element |
MultipartConfigType<T> |
maxRequestSize(Long maxRequestSize)
Sets the
max-request-size element |
MultipartConfigType<T> |
removeFileSizeThreshold()
Removes the
file-size-threshold element |
MultipartConfigType<T> |
removeLocation()
Removes the
location element |
MultipartConfigType<T> |
removeMaxFileSize()
Removes the
max-file-size element |
MultipartConfigType<T> |
removeMaxRequestSize()
Removes the
max-request-size element |
MultipartConfigType<T> location(String location)
location
elementlocation
- the value for the element location
MultipartConfigType
String getLocation()
location
elementlocation
MultipartConfigType<T> removeLocation()
location
elementMultipartConfigType
MultipartConfigType<T> maxFileSize(Long maxFileSize)
max-file-size
elementmaxFileSize
- the value for the element max-file-size
MultipartConfigType
Long getMaxFileSize()
max-file-size
elementmax-file-size
MultipartConfigType<T> removeMaxFileSize()
max-file-size
elementMultipartConfigType
MultipartConfigType<T> maxRequestSize(Long maxRequestSize)
max-request-size
elementmaxRequestSize
- the value for the element max-request-size
MultipartConfigType
Long getMaxRequestSize()
max-request-size
elementmax-request-size
MultipartConfigType<T> removeMaxRequestSize()
max-request-size
elementMultipartConfigType
MultipartConfigType<T> fileSizeThreshold(Integer fileSizeThreshold)
file-size-threshold
elementfileSizeThreshold
- the value for the element file-size-threshold
MultipartConfigType
Integer getFileSizeThreshold()
file-size-threshold
elementfile-size-threshold
MultipartConfigType<T> removeFileSizeThreshold()
file-size-threshold
elementMultipartConfigType
Copyright © 2018 JBoss by Red Hat. All rights reserved.