protected function getServerUrl($surl) { if (!IgfsUtils::endsWith($surl, "/")) { $surl .= "/"; } return $surl . $this->getServicePort(); }