Package jmri.web.servlet.roster
Class MultipartRequestHandler
- java.lang.Object
-
- jmri.web.servlet.roster.MultipartRequestHandler
-
public class MultipartRequestHandler extends java.lang.Object
helper class for getting uploaded files which are returned as a list object based on examples at http://hmkcode.com/java-servlet-jquery-file-upload/
-
-
Constructor Summary
Constructors Constructor Description MultipartRequestHandler()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.List<FileMeta>
uploadByJavaServletAPI(javax.servlet.http.HttpServletRequest request)
-
-
-
Constructor Detail
-
MultipartRequestHandler
public MultipartRequestHandler()
-
-
Method Detail
-
uploadByJavaServletAPI
public static java.util.List<FileMeta> uploadByJavaServletAPI(javax.servlet.http.HttpServletRequest request) throws java.io.IOException, javax.servlet.ServletException
- Throws:
java.io.IOException
javax.servlet.ServletException
-
-