org.apache.cocoon.components.request
Class RequestFactory

java.lang.Object
  |
  +--org.apache.cocoon.components.request.RequestFactory
All Implemented Interfaces:
org.apache.avalon.framework.component.Component
Direct Known Subclasses:
MaybeUploadRequestFactoryImpl, MultipartRequestFactoryImpl, SimpleRequestFactoryImpl

public abstract class RequestFactory
extends java.lang.Object
implements org.apache.avalon.framework.component.Component

This is the interface of Request Wrapper in Cocoon.

Version:
CVS $Id: RequestFactory.java,v 1.1.2.1 2002/10/29 04:48:58 vgritsenko Exp $
Author:
Davanum Srinivas

Constructor Summary
RequestFactory()
           
 
Method Summary
abstract  java.lang.Object get(javax.servlet.http.HttpServletRequest request, java.lang.String name)
          Implementation of the get method
static RequestFactory getRequestFactory(java.lang.String className)
           
abstract  javax.servlet.http.HttpServletRequest getServletRequest(javax.servlet.http.HttpServletRequest request, boolean saveUploadedFilesToDisk, java.io.File uploadDirectory, boolean allowOverwrite, boolean silentlyRename, int maxUploadSize)
          Return a wrapped request object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestFactory

public RequestFactory()
Method Detail

getRequestFactory

public static RequestFactory getRequestFactory(java.lang.String className)

getServletRequest

public abstract javax.servlet.http.HttpServletRequest getServletRequest(javax.servlet.http.HttpServletRequest request,
                                                                        boolean saveUploadedFilesToDisk,
                                                                        java.io.File uploadDirectory,
                                                                        boolean allowOverwrite,
                                                                        boolean silentlyRename,
                                                                        int maxUploadSize)
Return a wrapped request object

get

public abstract java.lang.Object get(javax.servlet.http.HttpServletRequest request,
                                     java.lang.String name)
Implementation of the get method


Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.