MCPcopy Create free account
hub / github.com/Qihoo360/poseidon / Decode

Method Decode

service/hdfsreader/src/main/java/Reader.java:59–66  ·  view source on GitHub ↗
(String encodedStr)

Source from the content-addressed store, hash-verified

57 }
58
59 public static String Decode(String encodedStr) {
60 try {
61 return URLDecoder.decode(encodedStr, "UTF-8");
62 } catch (UnsupportedEncodingException e) {
63 logger.warn("Decode not support UTF-8");
64 return encodedStr;
65 }
66 }
67
68 public static Map<String, String> QueryToMap(String query) {
69 Map<String, String> result = new HashMap<String, String>();

Callers 8

QueryToMapMethod · 0.95
getparamsMethod · 0.80
ParseReqBodyFunction · 0.80
UnmarshalFunction · 0.80
decodeBlockMethod · 0.80
NewFromReaderFunction · 0.80
UnmarshalJSONMethod · 0.80
NewFromReaderFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected