MCPcopy Create free account
hub / github.com/HtmlUnit/htmlunit / toString

Method toString

src/main/java/org/htmlunit/html/HtmlPage.java:2014–2022  ·  view source on GitHub ↗

Gives a basic representation for debugging purposes. @return a basic representation

()

Source from the content-addressed store, hash-verified

2012 * @return a basic representation
2013 */
2014 @Override
2015 public String toString() {
2016 final StringBuilder builder = new StringBuilder()
2017 .append("HtmlPage(")
2018 .append(getUrl())
2019 .append(")@")
2020 .append(hashCode());
2021 return builder.toString();
2022 }
2023
2024 /**
2025 * Gets the meta tag for a given {@code http-equiv} value.

Callers 2

getBaseURLMethod · 0.45

Calls 3

getUrlMethod · 0.65
appendMethod · 0.45
hashCodeMethod · 0.45

Tested by

no test coverage detected