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

Method setWebConnection

src/main/java/org/htmlunit/WebClient.java:385–388  ·  view source on GitHub ↗

Sets the object that will resolve all URL requests. @param webConnection the new web connection

(final WebConnection webConnection)

Source from the content-addressed store, hash-verified

383 * @param webConnection the new web connection
384 */
385 public void setWebConnection(final WebConnection webConnection) {
386 WebAssert.notNull("webConnection", webConnection);
387 webConnection_ = webConnection;
388 }
389
390 /**
391 * Send a request to a server and return a Page that represents the

Calls 1

notNullMethod · 0.95