com.worklight.wlclient.api

Class WLProcedureInvocationData

  • java.lang.Object
    • com.worklight.wlclient.api.WLProcedureInvocationData

  • Deprecated. 
    Use WLResourceRequest API instead.
    This class contains all necessary data to call a procedure, including:
    • The name of the adapter and procedure to call.
    • The parameters that the procedure requires.

    public class WLProcedureInvocationData
    extends java.lang.Object
    • Method Summary

      Methods 
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WLProcedureInvocationData

        public WLProcedureInvocationData(java.lang.String adapter,
                                 java.lang.String procedure)
        Deprecated. 
        Create new WLProcedureInvocationData object to send with the request.
        Parameters:
        adapter - the adapter name on Worklight's server.
        procedure - the procedure name on Worklight's server.
      • WLProcedureInvocationData

        public WLProcedureInvocationData(java.lang.String adapter,
                                 java.lang.String procedure,
                                 boolean compressResponse)
        Deprecated. 
        Create new WLProcedureInvocationData object to send with the request.
        Parameters:
        adapter - the adapter name on Worklight's server.
        procedure - the procedure name on Worklight's server.
        compressResponse - is ignored and defaults to true.
    • Method Detail

      • setParameters

        public void setParameters(java.lang.Object[] parameters)
        Deprecated. 
        This method sets the request parameters. The order of the object in the array will be the order sending them to the adapter
        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.
      • setCompressResponse

        public void setCompressResponse(boolean compressResponse)
        Deprecated. 
        This method enables or disables compression.
        Parameters:
        compressResponse - is ignored and defaults to true.
      • setCacheableRequest

        public void setCacheableRequest(boolean isCacheableRequest)
        Deprecated. 
        This method is for internal use only.
        Parameters:
        isCacheableRequest - - should be false
      • isCacheableRequest

        public boolean isCacheableRequest()
        Deprecated. 
        This method is for internal use only.
      • getAdapter

        public java.lang.String getAdapter()
        Deprecated. 
      • getProcedure

        public java.lang.String getProcedure()
        Deprecated. 
      • getParameters

        public java.lang.Object[] getParameters()
        Deprecated. 
      • isCompressResponse

        public boolean isCompressResponse()
        Deprecated. 


© Copyright IBM Corp. 2006, 2015. All Rights Reserved.