/** * Transform this call to an absolute URL. * * @param secure true if the absolute URL should use HTTPS protocol instead of HTTP * @param host the absolute URL's domain * @return the absolute URL string */ public String absoluteURL(boolean secure, String host) { return "http" + (secure ? "s" : "") + "://" + host + this.url() + this.appendFragment(); }
/** * Transform this call to an absolute URL. * * @param secure true if the absolute URL should use HTTPS protocol instead of HTTP * @param host the absolute URL's domain * @return the absolute URL string */ public String absoluteURL(boolean secure, String host) { return "http" + (secure ? "s" : "") + "://" + host + this.url() + this.appendFragment(); }
/** * Transform this call to an absolute URL. */ public String absoluteURL(boolean secure, String host) { return "http" + (secure ? "s" : "") + "://" + host + this.url() + this.appendFragment(); }
public String path() { return this.url() + this.appendFragment(); }
public String path() { return this.url() + this.appendFragment(); }
/** * Transform this call to an absolute URL. * * @param secure true if the absolute URL should use HTTPS protocol instead of HTTP * @param host the absolute URL's domain * @return the absolute URL string */ public String absoluteURL(boolean secure, String host) { return "http" + (secure ? "s" : "") + "://" + host + this.url() + this.appendFragment(); }
public String path() { return this.url() + this.appendFragment(); }
public String path() { return this.url() + this.appendFragment(); }
/** * Transform this path into its canonical form. * @return the canonical path. */ public String canonical() { return Paths.canonical(this.url()) + this.appendFragment(); }
/** * Transform this call to a relative path. * @param startPath the URL to make this Call relative to. * @return the relative path string */ public String relativeTo(String startPath) { return Paths.relative(startPath, this.url()) + this.appendFragment(); }
/** * Transform this path into its canonical form. * @return the canonical path. */ public String canonical() { return Paths.canonical(this.url()) + this.appendFragment(); }
/** * Transform this call to a relative path. * @param startPath the URL to make this Call relative to. * @return the relative path string */ public String relativeTo(String startPath) { return Paths.relative(startPath, this.url()) + this.appendFragment(); }
/** * Transform this call to a relative path. * @param startPath the URL to make this Call relative to. * @return the relative path string */ public String relativeTo(String startPath) { return Paths.relative(startPath, this.url()) + this.appendFragment(); }
/** * Transform this path into its canonical form. * @return the canonical path. */ public String canonical() { return Paths.canonical(this.url()) + this.appendFragment(); }