optimize the multi params request performance of triple in wrap mode (#11672)
This commit is contained in:
parent
4ee5d0251b
commit
4be3c796cc
|
|
@ -390,11 +390,12 @@ public class ReflectionPackableMethod implements PackableMethod {
|
|||
for (String type : argumentsType) {
|
||||
builder.addArgTypes(type);
|
||||
}
|
||||
ByteArrayOutputStream bos = new ByteArrayOutputStream();
|
||||
for (int i = 0; i < arguments.length; i++) {
|
||||
Object argument = arguments[i];
|
||||
ByteArrayOutputStream bos = new ByteArrayOutputStream();
|
||||
multipleSerialization.serialize(url, serialize, actualRequestTypes[i], argument, bos);
|
||||
builder.addArgs(bos.toByteArray());
|
||||
bos.reset();
|
||||
}
|
||||
return builder.build().toByteArray();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue