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

Interface WebConnection

src/main/java/org/htmlunit/WebConnection.java:28–40  ·  view source on GitHub ↗

An object which handles the actual communication portion of page retrieval/submission. @author Mike Bowler @author Daniel Gredler @author Marc Guillemot @author Ahmed Ashour @author Ronald Brill

Source from the content-addressed store, hash-verified

26 * @author Ronald Brill
27 */
28public interface WebConnection extends AutoCloseable {
29
30 /**
31 * Submits a request and retrieves a response.
32 * @param request the request
33 * @return the response to the request defined by the specified request
34 * @exception IOException if an IO error occurs
35 */
36 WebResponse getResponse(WebRequest request) throws IOException;
37
38 @Override
39 void close() throws IOException;
40}

Callers 16

getResponseMethod · 0.65
getResponseMethod · 0.65
getResponseMethod · 0.65
getResponseMethod · 0.65
getResponseMethod · 0.65
getResponseMethod · 0.65
gzipMethod · 0.65
core.jsFile · 0.65
css_defaultDisplayFunction · 0.65
text.jsFile · 0.65

Implementers 5

HttpWebConnectionsrc/main/java/org/htmlunit/HttpWebConn
MockWebConnectionsrc/main/java/org/htmlunit/MockWebConn
WebConnectionWrappersrc/main/java/org/htmlunit/util/WebCon
WebClientTestsrc/test/java/org/htmlunit/WebClientTe
WebConnectionWrapperTestsrc/test/java/org/htmlunit/util/WebCon

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…