API Overview API Index Package Overview Direct link to this page
JavaOnTracks 0.1.2
  net.jot.web. JOTFlowRequest View Source
Author(s)
thibautc
Since
Version
Serial
Hierarchy
 Object
      HttpServletRequestWrapper
          JOTFlowRequest
Implements
Subclasses
Description
public class JOTFlowRequest
  This is a custom extension of the standard HttpServletRequestWrapper with added functionality.
See also:   
Constructors
public JOTFlowRequest (HttpServletRequest request)
Methods
Hide/Show inherited methods
public void addFile (JOTMultiPartItem item)
  Called internally by JOTMultiPartParser, if a file was uploaded from the form.
public void finalize () throws Throwable
  When the request is completed/terminated tries to delete the temporary multipart data (uploaded files)
public Hashtable getCustomParams ()
public JOTMultiPartItem getFile (String name)
  Return a file handle(JOTMultiPartItem) from the request(multipart request) for an uploaded file, which you can then save somewhere NOTE: parseMultiPartContent() MUST have been called first otherwise it will return nothing(null).
public String getParameter (String name)
Overload of getParameter, to take into account our custom setRequest feature
public void parseMultiPartContent (String tempDataFolder, long maxSize) throws Exception
  Call this if you want to parse the request as a multipart content.
public void setCustomParams (Hashtable customParams)
public void setParameter (String name, String value)
  SetParameter will save the new parameter value (valid through the java request.)
Fields
Hide/Show inherited fields
pack-private Hashtable customParams
pack-private Hashtable files
pack-private boolean isMultiPartParsed
pack-private File tempMultiPartFile
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.5     ©Thibaut Colar