public final class XINSCallResult extends CallResult implements XINSCallResultData
XINSCallResult instance is created, information must
be passed both about the successful call (which target successfully
returned a result, how long did it take, what was the result) and about the
unsuccessful calls (to which targets were they, what was the error, etc.)
XINSCallResultData object describes the result of a call
to an single target, a
XINSCallResultData also describes all
failed calls that happened before.
|Modifier and Type||Method and Description|
Returns the optional extra data.
Returns the error code.
Gets the value of the specified parameter.
Gets all parameters.
Returns whether the result was a not modified result.
getDuration, getExceptions, getRequest, getSucceededTarget
public String getErrorCode()
nullis returned the call was successful and thus no error code was returned. Otherwise the call was unsuccessful.
This method will never return an empty string, so if the result is
null, then it is safe to assume the length of the
string is at least 1 character.
public String getParameter(String name) throws IllegalArgumentException
name- the parameter element name, not
nullif the parameter has no value.
name == null.
public Element getDataElement()
public boolean isNotModified()
trueif not modified was returned from the server,
falseif a result with data was returned from the server.