/** * Returns a properly escaped {@link String} url that can be used to make http/https requests. * * @see #toURL() * @see #getCacheKey() */ public String toStringUrl() { return getSafeStringUrl(); }
private URL getSafeUrl() throws MalformedURLException { if (safeUrl == null) { safeUrl = new URL(getSafeStringUrl()); } return safeUrl; }
/** * Returns a properly escaped {@link String} url that can be used to make http/https requests. * * @see #toURL() * @see #getCacheKey() */ public String toStringUrl() { return getSafeStringUrl(); }
private URL getSafeUrl() throws MalformedURLException { if (safeUrl == null) { safeUrl = new URL(getSafeStringUrl()); } return safeUrl; }
/** * Returns a properly escaped {@link String} url that can be used to make http/https requests. * * @see #toURL() * @see #getCacheKey() */ public String toStringUrl() { return getSafeStringUrl(); }
private URL getSafeUrl() throws MalformedURLException { if (safeUrl == null) { safeUrl = new URL(getSafeStringUrl()); } return safeUrl; }