Open ODie0x03B7 opened 4 years ago
In Fetch.java/send(...) ObjectMapper is invoked with writeValueAsString() and the string is immediately converted to bytes:
String requestParams = mapper.writeValueAsString(request); byte[] postData = requestParams.getBytes();
This could be replaced by
byte[] postData = mapper.writeValueAsBytes(request);
if I understand correctly?
In Fetch.java/send(...) ObjectMapper is invoked with writeValueAsString() and the string is immediately converted to bytes:
This could be replaced by
if I understand correctly?