|
||||||||||
| 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.
MultipartConfigTypeMultipartConfigType<T> removeLocation()
location element
MultipartConfigTypejava.lang.String getLocation()
location element
locationMultipartConfigType<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.
MultipartConfigTypeMultipartConfigType<T> removeMaxFileSize()
max-file-size element
MultipartConfigTypejava.lang.Long getMaxFileSize()
max-file-size element
max-file-sizeMultipartConfigType<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.
MultipartConfigTypeMultipartConfigType<T> removeMaxRequestSize()
max-request-size element
MultipartConfigTypejava.lang.Long getMaxRequestSize()
max-request-size element
max-request-sizeMultipartConfigType<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.
MultipartConfigTypeMultipartConfigType<T> removeFileSizeThreshold()
file-size-threshold element
MultipartConfigTypejava.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 | |||||||||