This commit is contained in:
crusader 2018-04-26 02:45:40 +09:00
parent 40ca74e2f4
commit 668e31ed66

View File

@ -48,6 +48,11 @@ class GRPCServerRequestCodec implements RPCRegistryCodec {
Type paramType = paramTypes[i];
String param = this.params.get(i).toStringUtf8();
if (paramType.equals(String.class)) {
result[i] = param;
continue;
}
result[i] = this.gson.fromJson(param, paramType);
}