This project has retired. For details please refer to its
Attic page .
RawRequestParameterModule (Cocoon Sitemap Components 1.0.0 API)
org.apache.cocoon.components.modules.input
Class RawRequestParameterModule
java.lang.Object
org.apache.cocoon.util.AbstractLogEnabled
org.apache.cocoon.components.modules.input.AbstractInputModule
org.apache.cocoon.components.modules.input.RawRequestParameterModule
All Implemented Interfaces: Configurable , Disposable , org.apache.cocoon.components.modules.input.InputModule, ThreadSafe
public class RawRequestParameterModule extends org.apache.cocoon.components.modules.input.AbstractInputModuleimplements ThreadSafe
RawRequestParameterModule accesses request parameters without
decoding to the specified form-encoding
or casting. It uses the
Request.get(java.lang.String)
method instead of the
Request.getParameter(java.lang.String)
method of the
Request
This is useful for example
in conjunction with uploads.
If get()
returns a Vector, getAttribute()
will return
the first element, otherwise it will return the same as get()
.
getAttributeValues()
will either convert the Vector to an array,
place the result in a new array, or return the array as is.
Version:
$Id: RawRequestParameterModule.html 1304280 2012-03-23 11:18:01Z ilgrosso $
Fields inherited from class org.apache.cocoon.components.modules.input.AbstractInputModule
settings
Fields inherited from interface org.apache.cocoon.components.modules.input.InputModule
ROLE
Methods inherited from class org.apache.cocoon.components.modules.input.AbstractInputModule
configure, dispose
Methods inherited from class org.apache.cocoon.util.AbstractLogEnabled
getLogger, setLogger
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
RawRequestParameterModule
public RawRequestParameterModule ()
getAttribute
public Object getAttribute (String name,
Configuration modeConf,
Map objectModel)
throws ConfigurationException
Specified by: getAttribute
in interface org.apache.cocoon.components.modules.input.InputModule
Throws:
ConfigurationException
getAttributeNames
public Iterator getAttributeNames (Configuration modeConf,
Map objectModel)
throws ConfigurationException
Specified by: getAttributeNames
in interface org.apache.cocoon.components.modules.input.InputModule
Throws:
ConfigurationException
getAttributeValues
public Object [] getAttributeValues (String name,
Configuration modeConf,
Map objectModel)
throws ConfigurationException
Specified by: getAttributeValues
in interface org.apache.cocoon.components.modules.input.InputModule
Throws:
ConfigurationException
Copyright © 1999-2008 The Apache Software Foundation . All Rights Reserved.