Add 2nd constructor for backwards compatibility.
Review by: jat@google.com
git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@9290 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/src/com/google/gwt/user/server/rpc/RPCRequest.java b/user/src/com/google/gwt/user/server/rpc/RPCRequest.java
index d673500..22d09a1 100644
--- a/user/src/com/google/gwt/user/server/rpc/RPCRequest.java
+++ b/user/src/com/google/gwt/user/server/rpc/RPCRequest.java
@@ -55,6 +55,14 @@
* Construct an RPCRequest.
*/
public RPCRequest(Method method, Object[] parameters,
+ SerializationPolicy serializationPolicy, int flags) {
+ this(method, parameters, null, serializationPolicy, flags);
+ }
+
+ /**
+ * Construct an RPCRequest.
+ */
+ public RPCRequest(Method method, Object[] parameters,
RpcToken rpcToken, SerializationPolicy serializationPolicy, int flags) {
this.method = method;
this.parameters = parameters;