Class WebXmlServletMultipartConfig

java.lang.Object
cloud.piranha.core.api.WebXmlServletMultipartConfig

public class WebXmlServletMultipartConfig extends Object
A servlet multipart-config inside of web.xml/web-fragment.xml.
Author:
Manfred Riem ([email protected]), Arjan Tijms
  • Constructor Details

    • WebXmlServletMultipartConfig

      public WebXmlServletMultipartConfig()
  • Method Details

    • getLocation

      public String getLocation()
      Get the location.
      Returns:
      the location.
    • getMaxFileSize

      public long getMaxFileSize()
      Get the max file size.
      Returns:
      the max file size.
    • getMaxRequestSize

      public long getMaxRequestSize()
      Get the max request size.
      Returns:
      the max request size.
    • getFileSizeThreshold

      public int getFileSizeThreshold()
      Get the file size threshold.
      Returns:
      the file size threshold.
    • setLocation

      public void setLocation(String location)
      Set the location.
      Parameters:
      location - the location.
    • setMaxFileSize

      public void setMaxFileSize(long maxFileSize)
      Set the max file size.
      Parameters:
      maxFileSize - the max file size.
    • setMaxRequestSize

      public void setMaxRequestSize(long maxRequestSize)
      Set the max request size.
      Parameters:
      maxRequestSize - the max request size.
    • setFileSizeThreshold

      public void setFileSizeThreshold(int fileSizeThreshold)
      Set the file size threshold.
      Parameters:
      fileSizeThreshold - the file size threshold.