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

Method markAsBlocked

src/main/java/org/htmlunit/WebResponse.java:390–393  ·  view source on GitHub ↗

Sets the wasBlocked state to true. @param blockReason the reason

(final String blockReason)

Source from the content-addressed store, hash-verified

388 * @param blockReason the reason
389 */
390 public void markAsBlocked(final String blockReason) {
391 wasBlocked_ = true;
392 blockReason_ = blockReason;
393 }
394}

Callers 3

downloadResponseMethod · 0.95
getResponseMethod · 0.95
downloadResponseMethod · 0.95

Calls

no outgoing calls

Tested by 3

downloadResponseMethod · 0.76
getResponseMethod · 0.76
downloadResponseMethod · 0.76