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

Method append

core/src/main/java/feign/template/UriTemplate.java:62–65  ·  view source on GitHub ↗

Append a uri fragment to the template. @param uriTemplate to append to. @param fragment to append. @return a new UriTemplate with the fragment appended.

(UriTemplate uriTemplate, String fragment)

Source from the content-addressed store, hash-verified

60 * @return a new UriTemplate with the fragment appended.
61 */
62 public static UriTemplate append(UriTemplate uriTemplate, String fragment) {
63 return new UriTemplate(
64 uriTemplate.toString() + fragment, uriTemplate.encodeSlash(), uriTemplate.getCharset());
65 }
66
67 /**
68 * Create a new Uri Template.

Callers 6

uriMethod · 0.95
encodeInternalMethod · 0.45
expandMethod · 0.45
expandIterableMethod · 0.45
expandMapMethod · 0.45
expandMethod · 0.45

Calls 3

encodeSlashMethod · 0.80
toStringMethod · 0.45
getCharsetMethod · 0.45

Tested by

no test coverage detected