|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.shrinkwrap.descriptor.impl.webcommon30.MultipartConfigTypeImpl<T>
public class MultipartConfigTypeImpl<T>
This class implements the multipart-configType xsd type
Original Documentation:
This element specifies configuration information related to the
handling of multipart/form-data requests.
| Constructor Summary | |
|---|---|
MultipartConfigTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
|
|
MultipartConfigTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node,
org.jboss.shrinkwrap.descriptor.spi.Node childNode)
|
|
| 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. |
T |
up()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MultipartConfigTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
public MultipartConfigTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node,
org.jboss.shrinkwrap.descriptor.spi.Node childNode)
| Method Detail |
|---|
public T up()
up in interface org.jboss.shrinkwrap.descriptor.api.Child<T>public 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.
setLocation in interface MultipartConfigType<T>MultipartConfigTypepublic MultipartConfigType<T> removeLocation()
location element
removeLocation in interface MultipartConfigType<T>MultipartConfigTypepublic java.lang.String getLocation()
location element
getLocation in interface MultipartConfigType<T>locationpublic 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.
setMaxFileSize in interface MultipartConfigType<T>MultipartConfigTypepublic MultipartConfigType<T> removeMaxFileSize()
max-file-size element
removeMaxFileSize in interface MultipartConfigType<T>MultipartConfigTypepublic java.lang.Long getMaxFileSize()
max-file-size element
getMaxFileSize in interface MultipartConfigType<T>max-file-sizepublic 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.
setMaxRequestSize in interface MultipartConfigType<T>MultipartConfigTypepublic MultipartConfigType<T> removeMaxRequestSize()
max-request-size element
removeMaxRequestSize in interface MultipartConfigType<T>MultipartConfigTypepublic java.lang.Long getMaxRequestSize()
max-request-size element
getMaxRequestSize in interface MultipartConfigType<T>max-request-sizepublic 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.
setFileSizeThreshold in interface MultipartConfigType<T>MultipartConfigTypepublic MultipartConfigType<T> removeFileSizeThreshold()
file-size-threshold element
removeFileSizeThreshold in interface MultipartConfigType<T>MultipartConfigTypepublic java.lang.Integer getFileSizeThreshold()
file-size-threshold element
getFileSizeThreshold in interface MultipartConfigType<T>file-size-threshold
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||