Class PartUtils


  • public final class PartUtils
    extends Object
    Only needed for Servlet 3.0. Not needed for Servlet 3.1 or higher.

    Basically taken from Apache Tomcat 8

    • Method Detail

      • getSubmittedFileName

        public static String getSubmittedFileName​(javax.servlet.http.Part part)
        This is a helper method, to get the original file name of the upload. If you have at least Servlet 3.1, you wouldn't need this function.
        Since:
        Tobago 3.0.0