Class MultipartConfigDescriptor
- java.lang.Object
-
- java.util.Observable
-
- org.glassfish.deployment.common.DynamicAttributesDescriptor
-
- org.glassfish.deployment.common.Descriptor
-
- org.glassfish.web.deployment.descriptor.MultipartConfigDescriptor
-
- All Implemented Interfaces:
MultipartConfig,Serializable
public class MultipartConfigDescriptor extends Descriptor implements MultipartConfig
This represents the multipart-config resided in web.xml.- Author:
- Shing Wai Chan
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.glassfish.deployment.common.Descriptor
DESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGED
-
-
Constructor Summary
Constructors Constructor Description MultipartConfigDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetFileSizeThreshold()StringgetLocation()LonggetMaxFileSize()LonggetMaxRequestSize()voidprint(StringBuilder toStringBuilder)A String representation of this object.voidsetFileSizeThreshold(Integer fileSizeThreshold)voidsetLocation(String location)voidsetMaxFileSize(Long maxFileSize)voidsetMaxRequestSize(Long maxRequestSize)-
Methods inherited from class org.glassfish.deployment.common.Descriptor
addDescriptorExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, getDescription, getDescriptorExtension, getDescriptorExtensions, getDisplayName, getDocType, getLargeIconUri, getLocalizedDescription, getLocalizedDescriptions, getLocalizedDisplayName, getLocalizedDisplayNames, getLocalizedLargeIconUri, getLocalizedLargeIconUris, getLocalizedSmallIconUri, getLocalizedSmallIconUris, getName, getPrefixMapping, getSmallIconUri, isBoundsChecking, setBoundsChecking, setDescription, setDisplayName, setLargeIconUri, setLocalizedDescription, setLocalizedDisplayName, setLocalizedLargeIconUri, setLocalizedSmallIconUri, setName, setSmallIconUri, visit
-
Methods inherited from class org.glassfish.deployment.common.DynamicAttributesDescriptor
addExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute, toString
-
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
-
-
-
-
Method Detail
-
getLocation
public String getLocation()
- Specified by:
getLocationin interfaceMultipartConfig
-
setLocation
public void setLocation(String location)
- Specified by:
setLocationin interfaceMultipartConfig
-
getMaxFileSize
public Long getMaxFileSize()
- Specified by:
getMaxFileSizein interfaceMultipartConfig
-
setMaxFileSize
public void setMaxFileSize(Long maxFileSize)
- Specified by:
setMaxFileSizein interfaceMultipartConfig
-
getMaxRequestSize
public Long getMaxRequestSize()
- Specified by:
getMaxRequestSizein interfaceMultipartConfig
-
setMaxRequestSize
public void setMaxRequestSize(Long maxRequestSize)
- Specified by:
setMaxRequestSizein interfaceMultipartConfig
-
getFileSizeThreshold
public Integer getFileSizeThreshold()
- Specified by:
getFileSizeThresholdin interfaceMultipartConfig
-
setFileSizeThreshold
public void setFileSizeThreshold(Integer fileSizeThreshold)
- Specified by:
setFileSizeThresholdin interfaceMultipartConfig
-
print
public void print(StringBuilder toStringBuilder)
Description copied from class:DescriptorA String representation of this object.- Overrides:
printin classDescriptor
-
-