org.dspace.app.xmlui.cocoon.servlet.multipart
Class DSpaceRequestFactory
java.lang.Object
org.dspace.app.xmlui.cocoon.servlet.multipart.DSpaceRequestFactory
public class DSpaceRequestFactory
- extends Object
This is the interface of Request Wrapper in Cocoon.
- Version:
- $Id: RequestFactory.java 587750 2007-10-24 02:35:22Z vgritsenko $
|
Constructor Summary |
DSpaceRequestFactory(boolean saveUploadedFilesToDisk,
File uploadDirectory,
boolean allowOverwrite,
boolean silentlyRename,
int maxUploadSize,
String defaultCharEncoding)
|
|
Method Summary |
javax.servlet.http.HttpServletRequest |
getServletRequest(javax.servlet.http.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 |
DSpaceRequestFactory
public DSpaceRequestFactory(boolean saveUploadedFilesToDisk,
File uploadDirectory,
boolean allowOverwrite,
boolean silentlyRename,
int maxUploadSize,
String defaultCharEncoding)
getServletRequest
public javax.servlet.http.HttpServletRequest getServletRequest(javax.servlet.http.HttpServletRequest request)
throws IOException,
org.apache.cocoon.servlet.multipart.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
org.apache.cocoon.servlet.multipart.MultipartException
Copyright © 2012 DuraSpace. All Rights Reserved.