MCPcopy Create free account
hub / github.com/grpc/grpc-java / decode

Method decode

api/src/main/java/io/grpc/QueryParams.java:272–279  ·  view source on GitHub ↗
(String s)

Source from the content-addressed store, hash-verified

270 }
271
272 private static String decode(String s) {
273 try {
274 // TODO: Use URLDecoder.decode(String, Charset) when available
275 return URLDecoder.decode(s, UTF_8);
276 } catch (UnsupportedEncodingException impossible) {
277 throw new AssertionError("UTF-8 is not supported", impossible);
278 }
279 }
280
281 private static String encode(String s) {
282 try {

Callers 3

forRawKeyValueMethod · 0.45
forRawLoneKeyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected