org.apache.struts.upload
public interface MultipartRequestHandler
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ATTRIBUTE_MAX_LENGTH_EXCEEDED
This is the ServletRequest attribute that should be set when a multipart request is being read
and the maximum length is exceeded.
|
Modifier and Type | Method and Description |
---|---|
void |
finish()
This method is called on when a successful form post
has been made.
|
java.util.Hashtable |
getAllElements()
This method returns all elements of a multipart request.
|
java.util.Hashtable |
getFileElements()
This method is called on to retrieve all the FormFile
input elements of the request.
|
ActionMapping |
getMapping()
Get the ActionMapping instance for this request
|
ActionServlet |
getServlet()
Get the ActionServlet instance
|
java.util.Hashtable |
getTextElements()
This method is called on to retrieve all the text
input elements of the request.
|
void |
handleRequest(javax.servlet.http.HttpServletRequest request)
After constructed, this is the first method called on
by ActionServlet.
|
void |
rollback()
This method is called on when there's some sort of problem
and the form post needs to be rolled back.
|
void |
setMapping(ActionMapping mapping)
Convienience method to set a reference to a working
ActionMapping instance.
|
void |
setServlet(ActionServlet servlet)
Convienience method to set a reference to a working
ActionServlet instance.
|
static final java.lang.String ATTRIBUTE_MAX_LENGTH_EXCEEDED
void setServlet(ActionServlet servlet)
void setMapping(ActionMapping mapping)
ActionServlet getServlet()
ActionMapping getMapping()
void handleRequest(javax.servlet.http.HttpServletRequest request) throws javax.servlet.ServletException
javax.servlet.ServletException
- thrown if something goes wrongjava.util.Hashtable getTextElements()
java.util.Hashtable getFileElements()
FormFile
java.util.Hashtable getAllElements()
void rollback()
void finish()
Copyright ? 2000-2014 - The Apache Software Foundation