ing
This commit is contained in:
parent
40ca74e2f4
commit
668e31ed66
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user