|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.directwebremoting.extend.Calls
org.directwebremoting.jsonrpc.io.JsonRpcCalls
public class JsonRpcCalls
An extension to the Calls object to hold JsonRpc version information.
| Constructor Summary | |
|---|---|
JsonRpcCalls()
|
|
| Method Summary | |
|---|---|
void |
addParseError(java.lang.String message)
If parsing has failed and we should not continue, then we might want to carry on with the parse to get information like the id that is needed for the response, but remembering the error messages |
StringWrapper |
getId()
A version of Calls.getBatchId() that returns a StringWrapper so we can
return a verbatim string because id is really a variant type in
Javascript. |
java.lang.String |
getParseErrors()
Get a summary of the parse errors. |
java.lang.String |
getVersion()
|
boolean |
isParseErrorClean()
Did parsing complete without errors? |
void |
setVersion(java.lang.String version)
|
| Methods inherited from class org.directwebremoting.extend.Calls |
|---|
addCall, getBatchId, getCall, getCallCount, getInstanceId, iterator, setBatchId, setInstanceId, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JsonRpcCalls()
| Method Detail |
|---|
public StringWrapper getId()
Calls.getBatchId() that returns a StringWrapper so we can
return a verbatim string because id is really a variant type in
Javascript.
Calls.getBatchId()public java.lang.String getVersion()
public void setVersion(java.lang.String version)
getVersion()public void addParseError(java.lang.String message)
public boolean isParseErrorClean()
addParseError(String)public java.lang.String getParseErrors()
|
Copyright ยจ 2008 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||