Package com.smartgwt.client.rpc
Class RequestTransformer
java.lang.Object
com.smartgwt.client.rpc.RequestTransformer
The RequestTransformer provides the equivalent functionality of overriding
RPCManager.transformRequest(RPCRequest)
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetDefaultTransformRequest
(RPCRequest rpcRequest) Return the result of the default transformed request.protected abstract Object
transformRequest
(RPCRequest rpcRequest) OverridesRPCManager.transformRequest(RPCRequest)
.
-
Constructor Details
-
RequestTransformer
public RequestTransformer()
-
-
Method Details
-
transformRequest
OverridesRPCManager.transformRequest(RPCRequest)
.- Parameters:
rpcRequest
- the RPCRequest being processed- Returns:
- data to be sent to the actionURL (JavaScriptObject, String or Record)
-
getDefaultTransformRequest
Return the result of the default transformed request.- Parameters:
rpcRequest
- the request- Returns:
- the default transformed request
-