public String getRestUrl(String urlKey, Boolean addClientId, Pagination pagination) throws UnsupportedEncodingException {
        return getRestUrl(urlKey, addClientId, pagination, null);
    }
public String getRestUrl ( String urlKey , Boolean addClientId , Pagination pagination ) throws UnsupportedEncodingException { return getRestUrl ( urlKey , addClientId , pagination , null ) ; }
Gets REST url.

@param urlKey      Url key.
@param addClientId Denotes whether client identifier should be composed into final url.
@param pagination  Pagination object.
@return Final REST url.
@throws UnsupportedEncodingException