@Test @JUnitDNSServer(port=9153, zones={ @DNSZone(name="example.com", entries={ @DNSEntry(hostname="www", address="72.14.204.99") }) }) public void dwoConnect() throws IOException { URLConnection c = new DnsRequisitionUrlConnection(new URL(TEST_URL)); c.connect(); }
@Override public void connect() throws IOException { }
DnsRequisitionUrlConnection extends URLConnection { @Override public void connect() throws IOException { } }
DnsRequisitionUrlConnection extends URLConnection { @Override public void connect() throws IOException { } DnsRequisitionUrlConnection(URL url); }
DnsRequisitionUrlConnection extends URLConnection { @Override public void connect() throws IOException { } DnsRequisitionUrlConnection(URL url); @Override void connect(); @Override InputStream getInputStream(); String getZone(); Long getSerial(); void setSerial(Long serial); Boolean getFallback(); void setFallback(Boolean fallback); TSIG getKey(); void setKey(TSIG key); String getDescription(); String toString(); URL getUrl(); static Map<String, String> getArgs(); void setForeignSource(String foreignSource); String getForeignSource(); }
DnsRequisitionUrlConnection extends URLConnection { @Override public void connect() throws IOException { } DnsRequisitionUrlConnection(URL url); @Override void connect(); @Override InputStream getInputStream(); String getZone(); Long getSerial(); void setSerial(Long serial); Boolean getFallback(); void setFallback(Boolean fallback); TSIG getKey(); void setKey(TSIG key); String getDescription(); String toString(); URL getUrl(); static Map<String, String> getArgs(); void setForeignSource(String foreignSource); String getForeignSource(); static final String URL_SCHEME; static final String PROTOCOL; }