MCPcopy Create free account
hub / github.com/SummerRC/BiLiBiLi / encode

Method encode

ZI-master/src/com/yixia/zi/utils/HttpRequest.java:731–753  ·  view source on GitHub ↗

Encode the given URL as an ASCII String This method ensures the path and query segments of the URL are properly encoded such as ' ' characters being encoded to '%20' or any UTF-8 characters that are non-ASCII. No encoding of URLs is done by default by the HttpRequest constructors

(final CharSequence url)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 7

getMethod · 0.95
postMethod · 0.95
putMethod · 0.95
deleteMethod · 0.95
headMethod · 0.95
writeMethod · 0.45
formMethod · 0.45

Calls 2

toStringMethod · 0.45
getPathMethod · 0.45

Tested by

no test coverage detected