|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MultipartConfigType<T>
This interface defines the contract for the multipart-configType
xsd type
Method Summary | |
---|---|
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 |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
MultipartConfigType<T> location(String location)
location
element
location
- the value for the element location
MultipartConfigType
String getLocation()
location
element
location
MultipartConfigType<T> removeLocation()
location
element
MultipartConfigType
MultipartConfigType<T> maxFileSize(Long maxFileSize)
max-file-size
element
maxFileSize
- the value for the element max-file-size
MultipartConfigType
Long getMaxFileSize()
max-file-size
element
max-file-size
MultipartConfigType<T> removeMaxFileSize()
max-file-size
element
MultipartConfigType
MultipartConfigType<T> maxRequestSize(Long maxRequestSize)
max-request-size
element
maxRequestSize
- the value for the element max-request-size
MultipartConfigType
Long getMaxRequestSize()
max-request-size
element
max-request-size
MultipartConfigType<T> removeMaxRequestSize()
max-request-size
element
MultipartConfigType
MultipartConfigType<T> fileSizeThreshold(Integer fileSizeThreshold)
file-size-threshold
element
fileSizeThreshold
- the value for the element file-size-threshold
MultipartConfigType
Integer getFileSizeThreshold()
file-size-threshold
element
file-size-threshold
MultipartConfigType<T> removeFileSizeThreshold()
file-size-threshold
element
MultipartConfigType
|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |