- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 87 for UnknownHostException (0.17 sec)
-
src/main/java/jcifs/netbios/UniAddress.java
* Perform DNS SRV lookup on successively shorter suffixes of name * and return successful suffix or throw an UnknownHostException. * import javax.naming.*; * import javax.naming.directory.*; * public static String getDomainByName(String name) throws UnknownHostException { * DirContext context; * UnknownHostException uhe = null; * * try { * context = new InitialDirContext(); * for ( ;; ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 8.3K bytes - Viewed (0) -
okhttp-android/src/test/kotlin/okhttp3/android/AndroidAsyncDnsTest.kt
* limitations under the License. */ package okhttp3.android import assertk.assertFailure import assertk.assertions.hasMessage import assertk.assertions.isInstanceOf import java.net.UnknownHostException import okhttp3.AsyncDns import org.junit.Test import org.junit.runner.RunWith import org.robolectric.RobolectricTestRunner import org.robolectric.annotation.Config import org.robolectric.shadow.api.Shadow
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 22 20:07:09 UTC 2024 - 1.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolver.java
import java.net.InetAddress; import java.net.URLDecoder; import java.net.UnknownHostException; import org.apache.http.conn.DnsResolver; public class IdnDnsResolver implements DnsResolver { protected int flag = 0; protected String encoding = "UTF-8"; @Override public InetAddress[] resolve(final String host) throws UnknownHostException { return InetAddress.getAllByName(toAscii(host)); }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/tests/NamingTest.java
} @Test public void testASCII () throws CIFSException, MalformedURLException, UnknownHostException { runFilenameTest("just-testing", "adsfg.txt"); } @Test public void testCodepage () throws MalformedURLException, UnknownHostException, CIFSException { Assume.assumeFalse("Unicode support", getContext().getConfig().isUseUnicode());
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Jun 06 10:48:05 UTC 2020 - 7K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/BootstrapDns.kt
import java.net.InetAddress import java.net.UnknownHostException import okhttp3.Dns /** * Internal Bootstrap DNS implementation for handling initial connection to DNS over HTTPS server. * * Returns hardcoded results for the known host. */ internal class BootstrapDns( private val dnsHostname: String, private val dnsServers: List<InetAddress>, ) : Dns { @Throws(UnknownHostException::class)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtAddress.java
* {@link jcifs.smb1.netbios.NbtAddress#H_NODE} * * @throws UnknownHostException if the host cannot be resolved to find out. */ public int getNodeType() throws UnknownHostException { checkData(); return nodeType; } /** * Determines if this address in the process of being deleted. * * @throws UnknownHostException if the host cannot be resolved to find out. */
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 30.1K bytes - Viewed (0) -
src/test/java/jcifs/tests/FileOperationsTest.java
import static org.junit.Assert.assertTrue; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.MalformedURLException; import java.net.UnknownHostException; import java.util.Collection; import java.util.Map; import jcifs.smb.*; import org.junit.Assert; import org.junit.Assume; import org.junit.Test; import org.junit.runner.RunWith;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:17:59 UTC 2023 - 16.3K bytes - Viewed (0) -
src/main/java/jcifs/Address.java
* * @return the ip address */ String getHostAddress (); /** * * @return this address as an InetAddress * @throws UnknownHostException */ InetAddress toInetAddress () throws UnknownHostException; /** * Guess called name to try for session establishment. These * methods are used by the smb package. * * @return guessed name */
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Jul 03 13:22:30 UTC 2018 - 2K bytes - Viewed (0) -
src/test/java/jcifs/tests/FileLocationTest.java
*/ package jcifs.tests; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNull; import java.io.IOException; import java.net.MalformedURLException; import java.net.UnknownHostException; import org.junit.Ignore; import org.junit.Test; import jcifs.Address; import jcifs.CIFSContext; import jcifs.CIFSException; import jcifs.DfsReferralData; import jcifs.SmbConstants;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Wed Jan 08 13:16:07 UTC 2020 - 23K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt
require(flags shr 15 != 0) { "not a response" } val responseCode = flags and 0xf if (responseCode == NXDOMAIN) { throw UnknownHostException("$hostname: NXDOMAIN") } else if (responseCode == SERVFAIL) { throw UnknownHostException("$hostname: SERVFAIL") } val questionCount = buf.readShort().toInt() and 0xffff val answerCount = buf.readShort().toInt() and 0xffff
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.8K bytes - Viewed (0)