(String scheme, String userInfo, String host, int port, String path, String query, String fragment)
| 141 | /// |
| 142 | /// - `URISyntaxException`: if any of the fragments are invalid. |
| 143 | public URI(String scheme, String userInfo, String host, int port, String path, String query, String fragment) |
| 144 | throws URISyntaxException { |
| 145 | init(); |
| 146 | setScheme(scheme); |
| 147 | setAuthority(host, port, userInfo, true); |
| 148 | setPath(path, true); |
| 149 | setQuery(query, true); |
| 150 | setFragment(fragment, true); |
| 151 | } |
| 152 | |
| 153 | /// Constructor to create a new URI object. The authority, path, query and |
| 154 | /// fragment should be unencoded values - they will be encoded as required. |
nothing calls this directly
no test coverage detected