Class MultipartDef

  • All Implemented Interfaces:
    java.io.Serializable

    public class MultipartDef
    extends java.lang.Object
    implements java.io.Serializable
    Representation of the multipart configuration for a servlet.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      MultipartDef()
      Default constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.lang.String getFileSizeThreshold()
      Get the file size threshold.
      java.lang.String getLocation()
      Get the location.
      java.lang.String getMaxFileSize()
      Get the maximum file size.
      java.lang.String getMaxRequestSize()
      Get the maximum request size.
      int hashCode()  
      void setFileSizeThreshold​(java.lang.String fileSizeThreshold)
      Set the file size threshold.
      void setLocation​(java.lang.String location)
      Set the location.
      void setMaxFileSize​(java.lang.String maxFileSize)
      Set the maximum file size.
      void setMaxRequestSize​(java.lang.String maxRequestSize)
      Set the maximum request size.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MultipartDef

        public MultipartDef()
        Default constructor.
    • Method Detail

      • getLocation

        public java.lang.String getLocation()
        Get the location.
        Returns:
        the location
      • setLocation

        public void setLocation​(java.lang.String location)
        Set the location.
        Parameters:
        location - the location
      • getMaxFileSize

        public java.lang.String getMaxFileSize()
        Get the maximum file size.
        Returns:
        the maximum file size
      • setMaxFileSize

        public void setMaxFileSize​(java.lang.String maxFileSize)
        Set the maximum file size.
        Parameters:
        maxFileSize - the maximum file size
      • getMaxRequestSize

        public java.lang.String getMaxRequestSize()
        Get the maximum request size.
        Returns:
        the maximum request size
      • setMaxRequestSize

        public void setMaxRequestSize​(java.lang.String maxRequestSize)
        Set the maximum request size.
        Parameters:
        maxRequestSize - the maximum request size
      • getFileSizeThreshold

        public java.lang.String getFileSizeThreshold()
        Get the file size threshold.
        Returns:
        the file size threshold
      • setFileSizeThreshold

        public void setFileSizeThreshold​(java.lang.String fileSizeThreshold)
        Set the file size threshold.
        Parameters:
        fileSizeThreshold - the file size threshold
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object