|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tarantella.tta.webservices.RequestObject
public class RequestObject
For batching together web service requests, ITarantellaUtility.sendBatchRequest(String, RequestObject[])
.
Batched requests can improve performance by reducing the number of
request/response round trips.
Constructor Summary | |
---|---|
RequestObject()
Constructor. |
Method Summary | |
---|---|
boolean |
getAbortRequest()
Gets the abort request flag. |
java.lang.String |
getMethodName()
Gets the web service method name. |
java.lang.Object[] |
getParameters()
Gets the web service method parameters. |
java.lang.String |
getUrnName()
Gets the web service namespace. |
void |
setAbortRequest(boolean abort)
Sets the abort request flag. |
void |
setMethodName(java.lang.String name)
Sets the web service method name. |
void |
setParameters(java.lang.Object[] params)
Sets the web service method parameters. |
void |
setUrnName(java.lang.String name)
Sets the web service namespace. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RequestObject()
Method Detail |
---|
public boolean getAbortRequest()
true | if the request faults, subsequent requests in the same batch should be abandoned |
false | if the request faults, process subsequent requests in the same batch |
public java.lang.String getMethodName()
public java.lang.Object[] getParameters()
public java.lang.String getUrnName()
public void setAbortRequest(boolean abort)
abort
- Flag controlling the processing of subsequent batched
requests on a fault:
true | subsequent requests in the same batch should be abandoned |
false | subsequent requests in the same batch should be processed |
public void setMethodName(java.lang.String name)
name
- The web service method name.public void setParameters(java.lang.Object[] params)
params
- Array of method parameters.public void setUrnName(java.lang.String name)
name
- The web service method namespace.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |