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

Method path

core/src/main/java/feign/RequestTemplate.java:562–576  ·  view source on GitHub ↗

The Uri Path. @return the uri path.

()

Source from the content-addressed store, hash-verified

560 * @return the uri path.
561 */
562 public String path() {
563 /* build the fully qualified url with all query parameters */
564 StringBuilder path = new StringBuilder();
565 if (this.target != null) {
566 path.append(this.target);
567 }
568 if (this.uriTemplate != null) {
569 path.append(this.uriTemplate.toString());
570 }
571 if (path.length() == 0) {
572 /* no path indicates the root uri */
573 path.append("/");
574 }
575 return path.toString();
576 }
577
578 /**
579 * The Uri Template (relative path) without the host and port. This is the templated path with

Callers 15

urlMethod · 0.95
createTimerMethod · 0.80
recordSuccessMethod · 0.80
recordFailureMethod · 0.80
decodeMethod · 0.80
hasPathMethod · 0.80
countResponseCodeMethod · 0.80
createTimerMethod · 0.80
extraTagsMethod · 0.80
SpringContractMethod · 0.80
createTimerMethod · 0.80

Calls 3

lengthMethod · 0.65
appendMethod · 0.45
toStringMethod · 0.45

Tested by 1

hasPathMethod · 0.64