Class MultipartConfig


  • public class MultipartConfig
    extends Object
    web-common_3_0.xsd

    Java class for multipart-configType complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="multipart-configType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="location" type="{http://java.sun.com/xml/ns/javaee}string" minOccurs="0"/>
             <element name="max-file-size" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
             <element name="max-request-size" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
             <element name="file-size-threshold" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • location

        protected String location
      • maxFileSize

        protected long maxFileSize
      • maxRequestSize

        protected long maxRequestSize
      • fileSizeThreshold

        protected int fileSizeThreshold
    • Constructor Detail

      • MultipartConfig

        public MultipartConfig()
    • Method Detail

      • getLocation

        public String getLocation()
      • setLocation

        public void setLocation​(String value)
      • getMaxFileSize

        public long getMaxFileSize()
      • setMaxFileSize

        public void setMaxFileSize​(long value)
      • getMaxRequestSize

        public long getMaxRequestSize()
      • setMaxRequestSize

        public void setMaxRequestSize​(long value)
      • getFileSizeThreshold

        public int getFileSizeThreshold()
      • setFileSizeThreshold

        public void setFileSizeThreshold​(int value)