|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.struts.extras.SecureJakartaStreamMultiPartRequest
public class SecureJakartaStreamMultiPartRequest
Constructor Summary | |
---|---|
SecureJakartaStreamMultiPartRequest()
|
Method Summary | |
---|---|
void |
cleanUp()
|
String[] |
getContentType(String fieldName)
|
List<String> |
getErrors()
|
File[] |
getFile(String fieldName)
|
String[] |
getFileNames(String fieldName)
|
Enumeration<String> |
getFileParameterNames()
|
String[] |
getFilesystemName(String fieldName)
|
List<String> |
getMesssages()
Allows interceptor to fetch non-critical messages that can be passed to the action. |
String |
getParameter(String name)
|
Enumeration<String> |
getParameterNames()
|
String[] |
getParameterValues(String name)
|
void |
parse(javax.servlet.http.HttpServletRequest request,
String saveDir)
|
void |
setBufferSize(String bufferSize)
Sets the buffer size to be used. |
protected void |
setLocale(javax.servlet.http.HttpServletRequest request)
Inspect the servlet request and set the locale if one wasn't provided by the Struts2 framework. |
void |
setLocaleProvider(com.opensymphony.xwork2.LocaleProvider provider)
Injects the Struts locale provider. |
void |
setMaxSize(String maxSize)
Injects the Struts multiple part maximum size. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SecureJakartaStreamMultiPartRequest()
Method Detail |
---|
public void setMaxSize(String maxSize)
maxSize
- public void setBufferSize(String bufferSize)
bufferSize
- public void setLocaleProvider(com.opensymphony.xwork2.LocaleProvider provider)
provider
- public void cleanUp()
cleanUp
in interface org.apache.struts2.dispatcher.multipart.MultiPartRequest
public String[] getContentType(String fieldName)
getContentType
in interface org.apache.struts2.dispatcher.multipart.MultiPartRequest
public List<String> getErrors()
getErrors
in interface org.apache.struts2.dispatcher.multipart.MultiPartRequest
public List<String> getMesssages()
public File[] getFile(String fieldName)
getFile
in interface org.apache.struts2.dispatcher.multipart.MultiPartRequest
public String[] getFileNames(String fieldName)
getFileNames
in interface org.apache.struts2.dispatcher.multipart.MultiPartRequest
public Enumeration<String> getFileParameterNames()
getFileParameterNames
in interface org.apache.struts2.dispatcher.multipart.MultiPartRequest
public String[] getFilesystemName(String fieldName)
getFilesystemName
in interface org.apache.struts2.dispatcher.multipart.MultiPartRequest
public String getParameter(String name)
getParameter
in interface org.apache.struts2.dispatcher.multipart.MultiPartRequest
public Enumeration<String> getParameterNames()
getParameterNames
in interface org.apache.struts2.dispatcher.multipart.MultiPartRequest
public String[] getParameterValues(String name)
getParameterValues
in interface org.apache.struts2.dispatcher.multipart.MultiPartRequest
public void parse(javax.servlet.http.HttpServletRequest request, String saveDir) throws IOException
parse
in interface org.apache.struts2.dispatcher.multipart.MultiPartRequest
IOException
protected void setLocale(javax.servlet.http.HttpServletRequest request)
request
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |