org.keel.services.model
Interface KeelRequest
- All Known Subinterfaces:
- ModelRequest
- All Known Implementing Classes:
- DefaultModelRequest, ModelRequestMessage
- public interface KeelRequest
| Method Summary |
KeelRequest |
deserialize(byte[] bytes)
|
java.lang.Object |
getAttribute(java.lang.String key)
|
java.util.Map |
getAttributes()
|
java.lang.String |
getModel()
Return the name of the model currently being requested |
java.lang.Object |
getParameter(java.lang.String paramKey)
|
java.util.Map |
getParameters()
|
byte[] |
serialize()
|
void |
setAttribute(java.lang.String key, java.lang.Object value)
Set the value of an attribute of this response |
void |
setModel(java.lang.String modelName)
The name of the model and the state allow us to determine the actual Java class that is going to be invoked, and how we're going to communicate with it |
void |
setParameter(java.lang.String paramKey, java.lang.Object param)
|
getParameter
public java.lang.Object getParameter(java.lang.String paramKey)
-
getParameters
public java.util.Map getParameters()
-
setParameter
public void setParameter(java.lang.String paramKey,
java.lang.Object param)
-
setModel
public void setModel(java.lang.String modelName)
-
The name of the model and the state allow us to determine the actual Java class that is going to be invoked, and how we're going to communicate with it
-
getModel
public java.lang.String getModel()
-
Return the name of the model currently being requested
-
setAttribute
public void setAttribute(java.lang.String key,
java.lang.Object value)
-
Set the value of an attribute of this response
-
getAttribute
public java.lang.Object getAttribute(java.lang.String key)
-
getAttributes
public java.util.Map getAttributes()
-
serialize
public byte[] serialize()
throws java.io.IOException
-
- Throws:
java.io.IOException
deserialize
public KeelRequest deserialize(byte[] bytes)
throws java.io.IOException
-
- Throws:
java.io.IOException
Please see keelframework.org for information about new Keel releases.