Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 88 for UnknownHostException (0.13 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RouteSelector.kt

     */
    package okhttp3.internal.connection
    
    import java.io.IOException
    import java.net.InetAddress
    import java.net.InetSocketAddress
    import java.net.Proxy
    import java.net.SocketException
    import java.net.UnknownHostException
    import java.util.NoSuchElementException
    import okhttp3.Address
    import okhttp3.HttpUrl
    import okhttp3.Route
    import okhttp3.internal.canParseAsIpAddress
    import okhttp3.internal.immutableListOf
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/http/NtlmHttpFilter.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.http;
    
    import java.io.IOException;
    import java.net.UnknownHostException;
    import java.util.Enumeration;
    import java.util.Properties;
    
    import org.bouncycastle.util.encoders.Base64;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jakarta.servlet.Filter;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionListenerTest.kt

    import assertk.assertions.hasMessage
    import assertk.assertions.isEqualTo
    import assertk.assertions.isIn
    import java.io.IOException
    import java.net.InetSocketAddress
    import java.net.UnknownHostException
    import java.time.Duration
    import java.util.Arrays
    import java.util.concurrent.TimeUnit
    import kotlin.test.assertFailsWith
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/ntlmssp/Type2Message.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.ntlmssp;
    
    import java.io.IOException;
    import java.net.UnknownHostException;
    
    import jcifs.smb1.Config;
    import jcifs.smb1.netbios.NbtAddress;
    
    /**
     * Represents an NTLMSSP Type-2 message.
     */
    public class Type2Message extends NtlmMessage {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 13K bytes
    - Viewed (0)
  5. guava/src/com/google/common/net/InetAddresses.java

            return Inet6Address.getByAddress(
                v6Address.getHostAddress(), v6Address.getAddress(), asInterface);
          } catch (SocketException | UnknownHostException e) {
            throw new IllegalArgumentException("No such interface: " + scope, e);
          }
        } catch (UnknownHostException e) {
          throw new AssertionError(e);
        }
      }
    
      /**
       * Returns the string representation of an {@link InetAddress}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/pac/kerberos/KerberosEncData.java

     */
    package jcifs.pac.kerberos;
    
    import java.io.ByteArrayInputStream;
    import java.io.IOException;
    import java.net.InetAddress;
    import java.net.UnknownHostException;
    import java.security.GeneralSecurityException;
    import java.security.InvalidAlgorithmParameterException;
    import java.security.InvalidKeyException;
    import java.security.Key;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  7. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

        client =
          OkHttpClient
            .Builder()
            .dns { hostname: String? -> throw UnknownHostException("reason") }
            .addInterceptor(applicationInterceptor)
            .build()
        try {
          client.newCall(request().build()).execute()
          fail<Any>()
        } catch (expected: UnknownHostException) {
        }
        applicationLogs
          .assertLogEqual("--> GET $url")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 21 14:27:04 UTC 2025
    - 37.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/netbios/Lmhosts.java

        private static int alt;
        private static LogStream log = LogStream.getInstance();
    
        /**
         * This is really just for {@link jcifs.smb1.UniAddress}. It does
         * not throw an {@link java.net.UnknownHostException} because this
         * is queried frequently and exceptions would be rather costly to
         * throw on a regular basis here.
         *
         * @param host the hostname to resolve
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/netbios/Lmhosts.java

        private long lastModified = 1L;
        private int alt;
    
        /**
         * This is really just for {@link jcifs.netbios.UniAddress}. It does
         * not throw an {@link java.net.UnknownHostException} because this
         * is queried frequently and exceptions would be rather costly to
         * throw on a regular basis here.
         *
         * @param host the hostname to resolve
         * @param tc the CIFS context
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbEnumerationUtil.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.smb;
    
    import java.io.IOException;
    import java.net.MalformedURLException;
    import java.net.URL;
    import java.net.UnknownHostException;
    import java.util.ArrayList;
    import java.util.HashSet;
    import java.util.List;
    import java.util.Set;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.Address;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.3K bytes
    - Viewed (0)
Back to top