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

Method getParam

src/main/java/core/packetproxy/http/QueryString.java:38–40  ·  view source on GitHub ↗
(String name)

Source from the content-addressed store, hash-verified

36 }
37
38 public Optional<QueryParameter> getParam(String name) {
39 return params.stream().filter(p -> p.getName().equals(name)).findFirst();
40 }
41
42 public Optional<String> getValue(String name) {
43 Optional<QueryParameter> param = getParam(name);

Callers 1

getValueMethod · 0.95

Calls 4

getNameMethod · 0.65
filterMethod · 0.45
streamMethod · 0.45
equalsMethod · 0.45

Tested by

no test coverage detected