MCPcopy Create free account
hub / github.com/DeNA/PacketProxy / setBodyParams

Method setBodyParams

src/main/java/core/packetproxy/http/Http.java:739–743  ·  view source on GitHub ↗
(List<Parameter> params)

Source from the content-addressed store, hash-verified

737 }
738
739 public void setBodyParams(List<Parameter> params) {
740 List<String> paramStrings = params.stream().map(e -> e.toString()).collect(Collectors.toList());
741 setBody(String.join("&", paramStrings).getBytes());
742 return;
743 }
744
745 @SuppressWarnings("deprecation")
746 public String getCookie(String key) {

Callers

nothing calls this directly

Calls 6

setBodyMethod · 0.95
toListMethod · 0.80
getBytesMethod · 0.65
mapMethod · 0.45
streamMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected