|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cocoon.portal.wsrp.consumer.RequestImpl
This class implements the Request interface and used by the swing consumer to store request related information.
Field Summary | |
protected Map |
formParameters
Map to store all form params. |
protected String |
interactionState
interaction state. |
Constructor Summary | |
RequestImpl()
Default constructor |
Method Summary | |
void |
addFormParameter(String name,
String value)
Add any parameters to the request. |
oasis.names.tc.wsrp.v1.types.NamedString[] |
getFormParameters()
Get all form parameters from the request. |
String |
getInteractionState()
Get the interaction state of the portlet. |
void |
setInteractionState(String state)
Set the interaction state of a portlet which should be passed to the producer. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Map formParameters
protected String interactionState
Constructor Detail |
public RequestImpl()
Method Detail |
public void addFormParameter(String name, String value)
addFormParameter
in interface Request
name
- The key which identifies the parametervalue
- The value of the parameterpublic oasis.names.tc.wsrp.v1.types.NamedString[] getFormParameters()
NamedString
array contains all parameter key/value pairs
and can directly be passed to the form parameter field in WSRP.
getFormParameters
in interface Request
public void setInteractionState(String state)
setInteractionState
in interface Request
state
- the interaction state of a portletpublic String getInteractionState()
getInteractionState
in interface Request
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |