org.apache.cocoon.servlet.multipart
Class RequestFactory

java.lang.Object
  extended byorg.apache.cocoon.servlet.multipart.RequestFactory

public class RequestFactory
extends Object

This is the interface of Request Wrapper in Cocoon.

Version:
$Id: RequestFactory.html 1304280 2012-03-23 11:18:01Z ilgrosso $

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-2008 The Apache Software Foundation. All Rights Reserved.