|
||||||||||
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
Original Documentation:
This element specifies configuration information related to the
handling of multipart/form-data requests.
Method Summary | |
---|---|
java.lang.Integer |
getFileSizeThreshold()
Returns the file-size-threshold element |
java.lang.String |
getLocation()
Returns the location element |
java.lang.Long |
getMaxFileSize()
Returns the max-file-size element |
java.lang.Long |
getMaxRequestSize()
Returns 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> |
setFileSizeThreshold(java.lang.Integer fileSizeThreshold)
If not already created, a new file-size-threshold element with the given value will be created. |
MultipartConfigType<T> |
setLocation(java.lang.String location)
If not already created, a new location element with the given value will be created. |
MultipartConfigType<T> |
setMaxFileSize(java.lang.Long maxFileSize)
If not already created, a new max-file-size element with the given value will be created. |
MultipartConfigType<T> |
setMaxRequestSize(java.lang.Long maxRequestSize)
If not already created, a new max-request-size element with the given value will be created. |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
MultipartConfigType<T> setLocation(java.lang.String location)
location
element with the given value will be created.
Otherwise, the existing location
element will be updated with the given value.
MultipartConfigType
MultipartConfigType<T> removeLocation()
location
element
MultipartConfigType
java.lang.String getLocation()
location
element
location
MultipartConfigType<T> setMaxFileSize(java.lang.Long maxFileSize)
max-file-size
element with the given value will be created.
Otherwise, the existing max-file-size
element will be updated with the given value.
MultipartConfigType
MultipartConfigType<T> removeMaxFileSize()
max-file-size
element
MultipartConfigType
java.lang.Long getMaxFileSize()
max-file-size
element
max-file-size
MultipartConfigType<T> setMaxRequestSize(java.lang.Long maxRequestSize)
max-request-size
element with the given value will be created.
Otherwise, the existing max-request-size
element will be updated with the given value.
MultipartConfigType
MultipartConfigType<T> removeMaxRequestSize()
max-request-size
element
MultipartConfigType
java.lang.Long getMaxRequestSize()
max-request-size
element
max-request-size
MultipartConfigType<T> setFileSizeThreshold(java.lang.Integer fileSizeThreshold)
file-size-threshold
element with the given value will be created.
Otherwise, the existing file-size-threshold
element will be updated with the given value.
MultipartConfigType
MultipartConfigType<T> removeFileSizeThreshold()
file-size-threshold
element
MultipartConfigType
java.lang.Integer getFileSizeThreshold()
file-size-threshold
element
file-size-threshold
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |