Code example for URL

Methods: getAuthority, getPath, getProtocol