com.atlassian.jira.web
Class JiraMultipartRequestWrapper

java.lang.Object
  extended by webwork.multipart.MultiPartRequest
      extended by webwork.multipart.PellMultiPartRequest
          extended by com.atlassian.jira.web.JiraMultipartRequestWrapper

public class JiraMultipartRequestWrapper
extends webwork.multipart.PellMultiPartRequest

Wrapper class so that we can parse and replace special characters in the request params.


Field Summary
 
Fields inherited from class webwork.multipart.MultiPartRequest
log
 
Constructor Summary
JiraMultipartRequestWrapper(javax.servlet.http.HttpServletRequest servletRequest, String saveDir, int maxSize)
           
 
Method Summary
 String getParameter(String name)
           
 String[] getParameterValues(String name)
           
 
Methods inherited from class webwork.multipart.PellMultiPartRequest
getContentType, getFile, getFileNames, getFilesystemName, getMemoryFileContents, getParameterNames
 
Methods inherited from class webwork.multipart.MultiPartRequest
isMultiPart
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JiraMultipartRequestWrapper

public JiraMultipartRequestWrapper(javax.servlet.http.HttpServletRequest servletRequest,
                                   String saveDir,
                                   int maxSize)
                            throws IOException
Parameters:
maxSize - maximum size post allowed
saveDir - the directory to save off the file
servletRequest - the request containing the multipart
Throws:
IOException
Method Detail

getParameter

public String getParameter(String name)
Overrides:
getParameter in class webwork.multipart.PellMultiPartRequest

getParameterValues

public String[] getParameterValues(String name)
Overrides:
getParameterValues in class webwork.multipart.PellMultiPartRequest


Copyright © 2002-2008 Atlassian. All Rights Reserved.