users@servlet-spec.java.net

[servlet-spec users] [jsr340-experts] About SERVLET_SPEC-57

From: Shing Wai Chan <shing.wai.chan_at_oracle.com>
Date: Fri, 22 Feb 2013 16:21:49 -0800

I am looking at http://java.net/jira/browse/SERVLET_SPEC-57
(" Add getFileName() method to javax.servlet.http.Part")

It is a good to have an API to return the file name.
The question is the method name.

Is the following good enough?

In javax.servlet.http.Part, add the following API

/**
  * Return the name of the submitted file.
  * @return The name of the submitted file as a String
  */
String getSubmittedFileName()


Thanks.
      Shing Wai Chan