org.apache.cocoon.servlet.multipart
Class RequestFactory

java.lang.Object
  extended by org.apache.cocoon.servlet.multipart.RequestFactory

public class RequestFactory
extends Object

This is the interface of Request Wrapper in Cocoon.

Version:
CVS $Id: RequestFactory.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Davanum Srinivas

Constructor Summary
RequestFactory(boolean saveUploadedFilesToDisk, File uploadDirectory, boolean allowOverwrite, boolean silentlyRename, int maxUploadSize, String defaultCharEncoding)
           
 
Method Summary
 HttpServletRequest getServletRequest(HttpServletRequest request)
          If the request includes a "multipart/form-data", then wrap it with methods that allow easier connection to those objects since the servlet API doesn't provide those methods directly.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestFactory

public RequestFactory(boolean saveUploadedFilesToDisk,
                      File uploadDirectory,
                      boolean allowOverwrite,
                      boolean silentlyRename,
                      int maxUploadSize,
                      String defaultCharEncoding)
Method Detail

getServletRequest

public HttpServletRequest getServletRequest(HttpServletRequest request)
                                     throws IOException,
                                            MultipartException
If the request includes a "multipart/form-data", then wrap it with methods that allow easier connection to those objects since the servlet API doesn't provide those methods directly.

Throws:
IOException
MultipartException


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.