API Overview API Index Package Overview Direct link to this page
JavaOnTracks 0.1.2
  net.jot.web. JOTRewrittenRequest View Source
Author(s)
thibautc
Since
Version
Serial
Hierarchy
 Object
      HttpServletRequestWrapper
          JOTFlowRequest
              JOTRewrittenRequest
Implements
Subclasses
Description
public class JOTRewrittenRequest
Extension of JOTFlowRequest allowing rewriting of the request URL "on the fly" without loosing the original request and associated parameters/attributes The original request is "wrapped" in a new request with the url, manipulated
See also:   
Constructors
public JOTRewrittenRequest (HttpServletRequest request, String newPath, Hashtable attributes)
Methods
Hide/Show inherited methods
public void addFile (JOTMultiPartItem item) [Inherited From JOTFlowRequest]
  Called internally by JOTMultiPartParser, if a file was uploaded from the form.
public void finalize () throws Throwable [Inherited From JOTFlowRequest]
  When the request is completed/terminated tries to delete the temporary multipart data (uploaded files)
public Hashtable getCustomParams () [Inherited From JOTFlowRequest]
public JOTMultiPartItem getFile (String name) [Inherited From JOTFlowRequest]
  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) [Inherited From JOTFlowRequest]
Overload of getParameter, to take into account our custom setRequest feature
public String getRequestURI ()
public StringBuffer getRequestURL ()
public String getServletPath ()
public void parseMultiPartContent (String tempDataFolder, long maxSize) throws Exception [Inherited From JOTFlowRequest]
  Call this if you want to parse the request as a multipart content.
public void setCustomParams (Hashtable customParams) [Inherited From JOTFlowRequest]
public void setParameter (String name, String value) [Inherited From JOTFlowRequest]
  SetParameter will save the new parameter value (valid through the java request.)
Fields
Hide/Show inherited fields
pack-private Hashtable customParams [Inherited From JOTFlowRequest]
pack-private Hashtable files [Inherited From JOTFlowRequest]
pack-private boolean isMultiPartParsed [Inherited From JOTFlowRequest]
pack-private File tempMultiPartFile [Inherited From JOTFlowRequest]
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.5     ©Thibaut Colar