|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.spicefactory.cinnamon.service.ServiceMessage
org.spicefactory.cinnamon.service.ServiceResponse
public class ServiceResponse
Represents a single service response. Encapsulates response headers and the return value of the service invocation. It is usually the only object sent in a Cinnamon AMF3 response.
| Constructor Summary | |
|---|---|
ServiceResponse()
Creates a new ServiceResponse. |
|
| Method Summary | |
|---|---|
Object |
getResult()
Returns the result of the service invocation. |
boolean |
isComplete()
Checks whether the result has already been set. |
void |
readExternal(DataInput in)
Restores the content of this object from the DataInput instance. |
void |
setResult(Object result)
Sets the result of the service invocation. |
void |
writeExternal(DataOutput out)
Saves the content of this object to the DataOutput instance. |
| Methods inherited from class org.spicefactory.cinnamon.service.ServiceMessage |
|---|
getHeaderNames, getHeaderValue, removeHeader, setHeader |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServiceResponse()
| Method Detail |
|---|
public Object getResult()
ErrorMessaga.
public void setResult(Object result)
result - the result of the service invocationpublic boolean isComplete()
public void readExternal(DataInput in)
Externalizable
readExternal in interface ExternalizablereadExternal in class ServiceMessagein - the AMF3 data to read frompublic void writeExternal(DataOutput out)
Externalizable
writeExternal in interface ExternalizablewriteExternal in class ServiceMessageout - the output to write to
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||