JavaScript is disabled on your browser.
javax.servlet

Class MultipartConfigElement



  • public class MultipartConfigElement
    extends java.lang.Object
    A MultipartConfig annotation value.
    Since:
    3.0
    • Constructor Summary

      Constructors
      Constructor and Description
      MultipartConfigElement (MultipartConfig annotation)
      Constructs a new element based on the specified config object.
      MultipartConfigElement (java.lang.String location)
      Constructs a new element.
      MultipartConfigElement (java.lang.String location, long maxFileSize, long maxRequestSize, int fileSizeThreshold)
      Constructs a new element with the specified values.
    • Method Summary

      Methods
      Modifier and Type Method and Description
      int getFileSizeThreshold ()
      Returns the size threshold above which files will be written to disk.
      java.lang.String getLocation ()
      Returns the directory location for file storage.
      long getMaxFileSize ()
      Returns the maximum file size for uploaded files.
      long getMaxRequestSize ()
      Returns the maximum size allowed for multipart/form-data requests.
      • Methods inherited from class java.lang.Object

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

      • MultipartConfigElement

        public MultipartConfigElement(java.lang.String location)
        Constructs a new element.
      • MultipartConfigElement

        public MultipartConfigElement(java.lang.String location,
         long maxFileSize,
         long maxRequestSize,
         int fileSizeThreshold)
        Constructs a new element with the specified values.
      • MultipartConfigElement

        public MultipartConfigElement(MultipartConfig annotation)
        Constructs a new element based on the specified config object.
    • Method Detail

      • getLocation

        public java.lang.String getLocation()
        Returns the directory location for file storage.
      • getMaxFileSize

        public long getMaxFileSize()
        Returns the maximum file size for uploaded files.
      • getMaxRequestSize

        public long getMaxRequestSize()
        Returns the maximum size allowed for multipart/form-data requests.
      • getFileSizeThreshold

        public int getFileSizeThreshold()
        Returns the size threshold above which files will be written to disk.

AltStyle によって変換されたページ (->オリジナル) /