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

Method loadWebResponseInto

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

Creates a page based on the specified response and inserts it into the specified window. All page initialization and event notification is handled here. Note that if the page created is an attachment page, and an AttachmentHandler has been registered with this client, the page is

(final WebResponse webResponse, final WebWindow webWindow)

Source from the content-addressed store, hash-verified

583 * @see #setAttachmentHandler(AttachmentHandler)
584 */
585 public Page loadWebResponseInto(final WebResponse webResponse, final WebWindow webWindow)
586 throws IOException, FailingHttpStatusCodeException {
587 return loadWebResponseInto(webResponse, webWindow, null);
588 }
589
590 /**
591 * <span style="color:red">INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.</span><br>

Callers 4

loadWebResponseIntoMethod · 0.95
getPageMethod · 0.95
closeMethod · 0.95

Calls 15

notNullMethod · 0.95
isEmptyOrNullMethod · 0.95
getSuggestedFilenameMethod · 0.95
openWindowMethod · 0.95
cleanUpMethod · 0.95
isNotBlankMethod · 0.95
loadWebResponseMethod · 0.95
newAboutBlankRequestMethod · 0.95
initializeMethod · 0.95
isJavaScriptEnabledMethod · 0.95

Tested by 1

loadWebResponseIntoMethod · 0.76