org.equanda.reporting.servlet
Class DefaultMultipartDecoder
java.lang.Object
org.equanda.reporting.servlet.DefaultMultipartDecoder
public class DefaultMultipartDecoder
- extends Object
File is based on the Tapestry3 original class.
- Author:
- Mircea Militaru (Mic)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PART_MAP_ATTRIBUTE_NAME
public static final String PART_MAP_ATTRIBUTE_NAME
- Request attribute key used to store the part map for this request.
The part map is created in
decode(javax.servlet.http.HttpServletRequest)
. By storing
the part map in the request instead of an instance variable, DefaultMultipartDecoder
becomes threadsafe (no client-specific state in instance variables).
- See Also:
- Constant Field Values
DefaultMultipartDecoder
public DefaultMultipartDecoder()
getSharedInstance
public static DefaultMultipartDecoder getSharedInstance()
setMaxSize
public void setMaxSize(int maxSize)
getMaxSize
public int getMaxSize()
setThresholdSize
public void setThresholdSize(int thresholdSize)
getThresholdSize
public int getThresholdSize()
setRepositoryPath
public void setRepositoryPath(String repositoryPath)
getRepositoryPath
public String getRepositoryPath()
isMultipartRequest
public static boolean isMultipartRequest(javax.servlet.http.HttpServletRequest request)
cleanup
public void cleanup(javax.servlet.http.HttpServletRequest request)
decode
public void decode(javax.servlet.http.HttpServletRequest request)
- Decodes the request, storing the part map (keyed on query parameter name,
value is IPart into the request as an attribute.
getString
public String getString(javax.servlet.http.HttpServletRequest request,
String name)
getStrings
public String[] getStrings(javax.servlet.http.HttpServletRequest request,
String name)
getStringParameterNames
public String[] getStringParameterNames(javax.servlet.http.HttpServletRequest httpServletRequest)
Copyright © 2007-2009. All Rights Reserved.