org.apache.cocoon.portlet.multipart
Class RequestFactory

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

public class RequestFactory
extends Object

This is the interface of Request Wrapper in Cocoon for JSR-168 Portlet environment.

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

Constructor Summary
RequestFactory(boolean saveUploadedFilesToDisk, File uploadDirectory, boolean allowOverwrite, boolean silentlyRename, int maxUploadSize, String defaultCharEncoding)
           
 
Method Summary
 javax.portlet.ActionRequest getServletRequest(javax.portlet.ActionRequest 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 javax.portlet.ActionRequest getServletRequest(javax.portlet.ActionRequest 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.