Class RequestTransformer

java.lang.Object
com.smartgwt.client.rpc.RequestTransformer

public abstract class RequestTransformer extends Object
The RequestTransformer provides the equivalent functionality of overriding RPCManager.transformRequest(RPCRequest).
  • Constructor Details

    • RequestTransformer

      public RequestTransformer()
  • Method Details

    • transformRequest

      protected abstract Object transformRequest(RPCRequest rpcRequest)
      Parameters:
      rpcRequest - the RPCRequest being processed
      Returns:
      data to be sent to the actionURL (JavaScriptObject, String or Record)
    • getDefaultTransformRequest

      public Object getDefaultTransformRequest(RPCRequest rpcRequest)
      Return the result of the default transformed request.
      Parameters:
      rpcRequest - the request
      Returns:
      the default transformed request