com.bea.struts.adapter.action
Class ScopedMultipartRequestHandler
java.lang.Object
org.apache.struts.upload.CommonsMultipartRequestHandler
com.bea.struts.adapter.action.ScopedMultipartRequestHandler
- All Implemented Interfaces
- MultipartRequestHandler
public class ScopedMultipartRequestHandler
- extends CommonsMultipartRequestHandler
Custom Struts multipart handler class.
This implementation is WLPortal scoped request aware.
It strips off Portlet ID prefix information in request parameter names
if called as part of a Portlet wrapping a Struts flow and using multipart encoding.
Methods inherited from class org.apache.struts.upload.CommonsMultipartRequestHandler |
addFileParameter, addTextParameter, convertSizeToBytes, finish, getFileElements, getMapping, getRepositoryPath, getServlet, getSizeMax, getSizeThreshold, getTextElements, rollback, setMapping, setServlet |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScopedMultipartRequestHandler
public ScopedMultipartRequestHandler()
handleRequest
public void handleRequest(javax.servlet.http.HttpServletRequest request)
throws javax.servlet.ServletException
- Specified by:
handleRequest
in interface MultipartRequestHandler
- Overrides:
handleRequest
in class CommonsMultipartRequestHandler
- Throws
javax.servlet.ServletException
getAllElements
public Hashtable getAllElements()
- Specified by:
getAllElements
in interface MultipartRequestHandler
- Overrides:
getAllElements
in class CommonsMultipartRequestHandler
Copyright © 2011, Oracle. All rights reserved.