The URL for the request. If the template has not been resolved, the url will represent a uri template. @return the url
()
| 541 | * @return the url |
| 542 | */ |
| 543 | public String url() { |
| 544 | |
| 545 | /* build the fully qualified url with all query parameters */ |
| 546 | StringBuilder url = new StringBuilder(this.path()); |
| 547 | if (!this.queries.isEmpty()) { |
| 548 | url.append(this.queryLine()); |
| 549 | } |
| 550 | if (fragment != null) { |
| 551 | url.append(fragment); |
| 552 | } |
| 553 | |
| 554 | return url.toString(); |
| 555 | } |
| 556 | |
| 557 | /** |
| 558 | * The Uri Path. |