com.sun.enterprise.deployment
Class MultipartConfigDescriptor

java.lang.Object
  extended by java.util.Observable
      extended by com.sun.enterprise.deployment.DynamicAttributesDescriptor
          extended by com.sun.enterprise.deployment.Descriptor
              extended by com.sun.enterprise.deployment.MultipartConfigDescriptor
All Implemented Interfaces:
MultipartConfig, java.io.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 com.sun.enterprise.deployment.Descriptor
DESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGED
 
Constructor Summary
MultipartConfigDescriptor()
           
 
Method Summary
 java.lang.Integer getFileSizeThreshold()
           
 java.lang.String getLocation()
           
 java.lang.Long getMaxFileSize()
           
 java.lang.Long getMaxRequestSize()
           
 void print(java.lang.StringBuffer toStringBuffer)
          A String representation of this object.
 void setFileSizeThreshold(java.lang.Integer fileSizeThreshold)
           
 void setLocation(java.lang.String location)
           
 void setMaxFileSize(java.lang.Long maxFileSize)
           
 void setMaxRequestSize(java.lang.Long maxRequestSize)
           
 
Methods inherited from class com.sun.enterprise.deployment.Descriptor
addDeploymentExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, getDescription, 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 com.sun.enterprise.deployment.DynamicAttributesDescriptor
addExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute, toString
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MultipartConfigDescriptor

public MultipartConfigDescriptor()
Method Detail

getLocation

public java.lang.String getLocation()
Specified by:
getLocation in interface MultipartConfig

setLocation

public void setLocation(java.lang.String location)
Specified by:
setLocation in interface MultipartConfig

getMaxFileSize

public java.lang.Long getMaxFileSize()
Specified by:
getMaxFileSize in interface MultipartConfig

setMaxFileSize

public void setMaxFileSize(java.lang.Long maxFileSize)
Specified by:
setMaxFileSize in interface MultipartConfig

getMaxRequestSize

public java.lang.Long getMaxRequestSize()
Specified by:
getMaxRequestSize in interface MultipartConfig

setMaxRequestSize

public void setMaxRequestSize(java.lang.Long maxRequestSize)
Specified by:
setMaxRequestSize in interface MultipartConfig

getFileSizeThreshold

public java.lang.Integer getFileSizeThreshold()
Specified by:
getFileSizeThreshold in interface MultipartConfig

setFileSizeThreshold

public void setFileSizeThreshold(java.lang.Integer fileSizeThreshold)
Specified by:
setFileSizeThreshold in interface MultipartConfig

print

public void print(java.lang.StringBuffer toStringBuffer)
Description copied from class: Descriptor
A String representation of this object.

Overrides:
print in class Descriptor


Copyright © 2012 GlassFish Community. All Rights Reserved.