MCPcopy Index your code
hub / github.com/OpenFeign/feign / isAbsolute

Method isAbsolute

core/src/main/java/feign/template/UriUtils.java:99–101  ·  view source on GitHub ↗

Determines if the provided uri is an absolute uri. @param uri to evaluate. @return true if the uri is absolute.

(String uri)

Source from the content-addressed store, hash-verified

97 * @return true if the uri is absolute.
98 */
99 public static boolean isAbsolute(String uri) {
100 return uri != null && !uri.isEmpty() && uri.startsWith("http");
101 }
102
103 /**
104 * Encodes the value, preserving all reserved characters.. Values that are already pct-encoded are

Callers 2

uriMethod · 0.95
targetMethod · 0.95

Calls 1

isEmptyMethod · 0.80

Tested by

no test coverage detected