Class PartUtils

java.lang.Object
org.apache.myfaces.tobago.internal.util.PartUtils

@Deprecated(since="5.0.0", forRemoval=true) public final class PartUtils extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
Servlet 3.1 or higher is required.
Only needed for Servlet 3.0. Not needed for Servlet 3.1 or higher.

Basically taken from Apache Tomcat 8

  • Method Details

    • getSubmittedFileName

      @Deprecated(since="5.0.0", forRemoval=true) public static String getSubmittedFileName(javax.servlet.http.Part part)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Servlet 3.1 or higher is required.
      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