MCPcopy Index your code
hub / github.com/HtmlUnit/htmlunit / getUrl

Method getUrl

src/main/java/org/htmlunit/WebRequest.java:154–156  ·  view source on GitHub ↗

Returns the target URL. @return the target URL

()

Source from the content-addressed store, hash-verified

152 * @return the target URL
153 */
154 public URL getUrl() {
155 return UrlUtils.toUrlSafe(url_);
156 }
157
158 /**
159 * Sets the target URL. The URL may be simplified if needed (for instance eliminating

Callers 15

urlEncodingMethod · 0.95
urlEncoding2Method · 0.95
plusNotEncodedInUrlMethod · 0.95
setUrl_eliminateDirUpMethod · 0.95
setUrl_removePortMethod · 0.95
setUrl_preservePortMethod · 0.95
idnMethod · 0.95
hiddenFileInWindowsMethod · 0.95
hiddenFileInWindows2Method · 0.95
serializationMethod · 0.95
fetchGetCustomHeaderMethod · 0.95

Calls 1

toUrlSafeMethod · 0.95

Tested by 15

urlEncodingMethod · 0.76
urlEncoding2Method · 0.76
plusNotEncodedInUrlMethod · 0.76
setUrl_eliminateDirUpMethod · 0.76
setUrl_removePortMethod · 0.76
setUrl_preservePortMethod · 0.76
idnMethod · 0.76
hiddenFileInWindowsMethod · 0.76
hiddenFileInWindows2Method · 0.76
serializationMethod · 0.76
fetchGetCustomHeaderMethod · 0.76