public class WLProcedureInvocationData
extends java.lang.Object
Constructor and Description |
---|
WLProcedureInvocationData(java.lang.String adapter,
java.lang.String procedure)
Deprecated.
Create new
WLProcedureInvocationData object to send with the request. |
WLProcedureInvocationData(java.lang.String adapter,
java.lang.String procedure,
boolean compressResponse)
Deprecated.
Create new
WLProcedureInvocationData object to send with the request. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAdapter()
Deprecated.
|
java.lang.Object[] |
getParameters()
Deprecated.
|
java.lang.String |
getProcedure()
Deprecated.
|
boolean |
isCacheableRequest()
Deprecated.
This method is for internal use only.
|
boolean |
isCompressResponse()
Deprecated.
|
void |
setCacheableRequest(boolean isCacheableRequest)
Deprecated.
This method is for internal use only.
|
void |
setCompressResponse(boolean compressResponse)
Deprecated.
This method enables or disables compression.
|
void |
setParameters(java.lang.Object[] parameters)
Deprecated.
This method sets the request parameters.
|
public WLProcedureInvocationData(java.lang.String adapter, java.lang.String procedure)
WLProcedureInvocationData
object to send with the request.adapter
- the adapter name on Worklight's server.procedure
- the procedure name on Worklight's server.public WLProcedureInvocationData(java.lang.String adapter, java.lang.String procedure, boolean compressResponse)
WLProcedureInvocationData
object to send with the request.adapter
- the adapter name on Worklight's server.procedure
- the procedure name on Worklight's server.compressResponse
- is ignored and defaults to true.public void setParameters(java.lang.Object[] parameters)
parameters
- An array of objects of primitive types ( String
, Integer
, Float
, Boolean
, Double
).
compressResponse parameter is ignored and defaults to true.
The order of the objects in the array is the order in which they are sent to the adapter.public void setCompressResponse(boolean compressResponse)
compressResponse
- is ignored and defaults to true.public void setCacheableRequest(boolean isCacheableRequest)
isCacheableRequest
- - should be falsepublic boolean isCacheableRequest()
public java.lang.String getAdapter()
public java.lang.String getProcedure()
public java.lang.Object[] getParameters()
public boolean isCompressResponse()