|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cocoon.components.flow.apples.DefaultAppleRequest
public class DefaultAppleRequest
DefaultAppleRequest wraps the nested <map:paramater> 's and the
active Cocoon Environment Request to implement the service of the
AppleRequest
interface.
Constructor Summary | |
---|---|
DefaultAppleRequest(List params,
Request request)
Constructs DefaultAppleRequest |
Method Summary | |
---|---|
Request |
getCocoonRequest()
|
String |
getSitemapParameter(String key)
Finds a named parameter in the request. |
String |
getSitemapParameter(String key,
String defaultValue)
Finds a named parameter in the request using the overloaded method AppleRequest.getSitemapParameter(String) but lets the returned value
default to the second argument in case the delegation resulted into
null |
Set |
getSitemapParameterNames()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultAppleRequest(List params, Request request)
params
- the nested <map:parameter>
's from the sitemaprequest
- the active cocoon requestMethod Detail |
---|
public Request getCocoonRequest()
getCocoonRequest
in interface AppleRequest
public Set getSitemapParameterNames()
getSitemapParameterNames
in interface AppleRequest
public String getSitemapParameter(String key, String defaultValue)
AppleRequest
AppleRequest.getSitemapParameter(String)
but lets the returned value
default to the second argument in case the delegation resulted into
null
getSitemapParameter
in interface AppleRequest
key
- of parameter to lookupdefaultValue
- return-value in case the lookup returned null
public String getSitemapParameter(String key)
AppleRequest
getSitemapParameter
in interface AppleRequest
key
- of parameter to lookup
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |