Get the URL to display this page.
@return The URL string.
777240
public String getThisURL()
    {
        String strURL = DBConstants.BLANK;
        strURL = Utility.addURLParam(strURL, DBParams.RECORD, this.getProperty(DBParams.RECORD), false);
        strURL = Utility.addURLParam(strURL, DBParams.SCREEN, this.getProperty(DBParams.SCREEN), false);
        strURL = Utility.addURLParam(strURL, DBParams.CLASS, this.getProperty(DBParams.CLASS), false);
        strURL = Utility.addURLParam(strURL, DBParams.COMMAND, this.getProperty(DBParams.COMMAND), false);
        strURL = Utility.addURLParam(strURL, DBParams.MENU, this.getProperty(DBParams.MENU), false);
        return strURL;
    }
668852
public StringBuffer getRequestURL()
    {
        StringBuffer buf = _httpRequest.getRootURL();
        buf.append(getRequestURI());
        return buf;
    }
675535
public URL getUrl() throws MalformedURLException {
        if (this.url == null) {
            Handler handler = new Handler(this);
            String file = this.rootFile.getFile().toURI() + this.pathFromRoot + "!/";
            file = file.replace("file:////", "file://"); // Fix UNC paths
            this.url = new URL("jar", "", -1, file, handler);
        }
        return this.url;
    }
868476
public String getScreenURL()
    {
        String strCommand = super.getScreenURL();
        strCommand = Utility.addURLParam(strCommand, DBParams.RECORD, this.getProperty(DBParams.RECORD));
        strCommand = Utility.addURLParam(strCommand, "package", this.getProperty("package"));
        return strCommand;
    }
1057819
@Override
    public StringBuffer getRequestURL() {
        // strip off any session id from the url here
        String rc = SessionInfo.stripURL(this.request.getURL(),
                                         this.sessionData);
        if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
            Tr.debug(tc, "getRequestURL: " + rc);
        }
        return new StringBuffer(rc);
    }
135338
public static String getTargetUrl() {
		String targetUrl = System.getenv(ENV_API_URL_KEY);
		if (targetUrl != null) {
			return targetUrl;
		} else {
			targetUrl = apiUrl;
		}
		return targetUrl;
	}
112343
public String getScreenURL()
    {
        String strURL = super.getScreenURL();
        try   {
            if ((this.getHeaderRecord() != null)
                && (this.getHeaderRecord() != this.getMainRecord())
                && ((this.getHeaderRecord().getEditMode() == Constants.EDIT_IN_PROGRESS) || (this.getHeaderRecord().getEditMode() == Constants.EDIT_CURRENT)))
                    strURL = this.addURLParam(strURL, DBParams.HEADER_OBJECT_ID, this.getHeaderRecord().getHandle(DBConstants.BOOKMARK_HANDLE).toString());
//x            else if (this.getProperty(DBParams.HEADEROBJECTID) != null)
//x                    strURL = this.addURLParam(strURL, DBParams.HEADER_OBJECT_ID, this.getProperty(DBParams.HEADER_OBJECT_ID));
        } catch (DBException ex)    {
            ex.printStackTrace();
        }
        Map<String,Object> properties = this.getTask().getApplication().getProperties();
        if (properties != null)
        {   // Add any database properties to the url, so the created tables use this alternate db.
        	for (String key : properties.keySet())
        	{
        		if (key.endsWith(BaseDatabase.DBSHARED_PARAM_SUFFIX))
                    if (strURL.indexOf(key) == -1)
                        strURL = Utility.addURLParam(strURL, key, properties.get(key).toString());
        		if (key.endsWith(BaseDatabase.DBUSER_PARAM_SUFFIX))
                    if (strURL.indexOf(key) == -1)
                        strURL = Utility.addURLParam(strURL, key, properties.get(key).toString());
        	}
        }
        return strURL;
    }
1175240
public String getURL(WebPage page, Object optParam) throws IOException, SQLException {
		List<String> finishedParams=new SortedArrayList<>();
		StringBuilder SB = new StringBuilder();
		SB.append(page.getURLPath());
		boolean alreadyAppended=appendParams(SB, optParam, finishedParams, false);
		alreadyAppended=appendParams(SB, page.getURLParams(this), finishedParams, alreadyAppended);

		/*alreadyAppended=*/appendSettings(finishedParams, alreadyAppended, SB);

		return SB.toString();
	}
271082
public String getRequestURL()
    {
    	HttpServletRequest httpReq = getRequest();
    	if (httpReq==null)
    		return null;
    	else
    		return httpReq.getRequestURL().toString();
    }
1359141
public function getURL()
    {
        if ($this->cPointerExternalLink != '') {
            $link = $this->cPointerExternalLink;
        } elseif ($this->cPath) {
            $link = $this->cPath;
        } elseif ($this->cID == Page::getHomePageID()) {
            $link = DIR_REL . '/';
        } else {
            $link = DIR_REL . '/' . DISPATCHER_FILENAME . '?cID=' . $this->cID;
        }

        return $link;
    }
343770
public String getOpenBrowserUrl() {
        final String customUrl = getCustomBrowserUrl();
        final String deployUrl = getDeployUrl();
        if (customUrl == null) {
            return deployUrl;
        } else if (customUrl.startsWith("http://")) {
            return customUrl;
        } else if (customUrl.startsWith("/")) {
            return buildUrl(getPort(), customUrl);
        } else {
            return deployUrl + customUrl;
        }
    }
971162
protected URL resolveURL() {
		if (this.clazz != null) {
			return this.clazz.getResource(this.path);
		}
		else if (this.classLoader != null) {
			return this.classLoader.getResource(this.path);
		}
		else {
			return ClassLoader.getSystemResource(this.path);
		}
	}
774829
public static function getCurrentUrl()
    {
        return self::getCurrentScheme() . '://'
        . self::getCurrentHost()
        . self::getCurrentScriptName(false)
        . self::getCurrentQueryString();
    }
457708
protected static function getRequestUrl()
    {
        $hostname = isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : (isset($_SERVER['SERVER_NAME']) ? $_SERVER['SERVER_NAME'] : null);

        if(isset($hostname))
        {
            $protocol = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') ? 'https' : 'http';

            if(!isset($_SERVER['REQUEST_URI']))
            {
                if(isset($_SERVER['QUERY_STRING']))
                {
                    return $protocol . '://' . $hostname . $_SERVER['PHP_SELF'] . '?' . $_SERVER['QUERY_STRING'];
                }
                else
                {
                    return $protocol . '://' . $hostname . $_SERVER['PHP_SELF'];
                }
            }
            else
            {
                return $protocol . '://' . $hostname . $_SERVER['REQUEST_URI'];
            }
        }
        else
        {
            return null;
        }
    }
200946
public List<URL> getURLs() {
        final List<URL> resourceURLs = new ArrayList<>(this.size());
        for (final Resource resource : this) {
            resourceURLs.add(resource.getURL());
        }
        return resourceURLs;
    }
682334
public function url() {
        // TODO: class for url
        if ($this->url === null) {
            $this->url = parse_url(
                'http' .
                (isset($serverVariables['HTTPS']) ? 's' : '') .
                '://' .
                $serverVariables['HTTP_HOST'] .
                $serverVariables['REQUEST_URI']
            );
        }

        return $this->url;
    }
922344
public function getUrl()
    {
        $query = $this->getQueryString();
        return sprintf('%s://%s/%s/%s%s',
            $this->getScheme(),
            trim($this->getHost(), '/'),
            trim($this->config->getRootEndpoint(), '/'),
            $this->getEntityType(),
            empty($query) ? '' : sprintf('?%s', $query)
        );
    }