Package com.smartgwt.client.rpc

# 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 Summary

  Constructors
  Constructor
  Description
  `RequestTransformer()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Object`
  `getDefaultTransformRequest(RPCRequest rpcRequest)`
  Return the result of the default transformed request.
  `protected abstract Object`
  `transformRequest(RPCRequest rpcRequest)`
  Overrides `RPCManager.transformRequest(RPCRequest)`.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### RequestTransformer

    public RequestTransformer()

- ## Method Details

  - ### transformRequest

    protected abstract Object transformRequest(RPCRequest rpcRequest)
    Overrides `RPCManager.transformRequest(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