code/libraries/joomlatools/library/dispatcher/request/abstract.php
public function setUrl($url)
    {
        if(!empty($url)) {
            $this->_url = $this->getObject('lib:http.url', array('url' => $url));
        }

        return $this;
    }
public function setUrl($url)
    {
        if(!empty($url)) {
            $this->_url = $this->getObject('lib:http.url', array('url' => $url));
        }

        return $this;
    }
public function setUrl ( $ url ) { if ( ! empty ( $ url ) ) { $ this -> _url = $ this -> getObject ( 'lib:http.url' , array ( 'url' => $ url ) ) ; } return $ this ; }
Set the url for this request

@param string|array  $url Part(s) of an URL in form of a string or associative array like parse_url() returns
@return KHttpRequest
Set the url for this request