Replace java.net.URI with own UriComponents