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)
| 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. |
no test coverage detected