Если у меня есть объект java.net.URL, указывающий, что можно сказать
http://example.com/myItems
или http://example.com/myItems/
Есть ли какой-нибудь помощник, чтобы добавить к нему какой-то относительный URL?
Например, добавьте ./myItemId
или myItemId
, чтобы получить:
http://example.com/myItems/myItemId