Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getAllByName (0.11 sec)

  1. src/test/java/jcifs/smb1/UniAddressTest.java

        void getAllByNameRejectsNullOrEmptyHostname() {
            assertThrows(UnknownHostException.class, () -> UniAddress.getAllByName("", false),
                    "getAllByName should throw UnknownHostException for empty string");
            assertThrows(UnknownHostException.class, () -> UniAddress.getAllByName(null, false),
                    "getAllByName should throw UnknownHostException for null name");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dns.kt

       */
      @Throws(UnknownHostException::class)
      fun lookup(hostname: String): List<InetAddress>
    
      companion object {
        /**
         * A DNS that uses [InetAddress.getAllByName] to ask the underlying operating system to
         * lookup IP addresses. Most custom [Dns] implementations should delegate to this instance.
         */
        @JvmField
        val SYSTEM: Dns = DnsSystem()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolver.java

         * @throws UnknownHostException if the host name cannot be resolved
         */
        @Override
        public InetAddress[] resolve(final String host) throws UnknownHostException {
            return InetAddress.getAllByName(toAscii(host));
        }
    
        /**
         * Decodes the given host string using the specified encoding.
         *
         * @param host the host string to decode
         * @return the decoded host string
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/NameServiceClient.java

         * @param possibleNTDomainOrWorkgroup if true, perform additional master browser lookup
         * @return found addresses
         * @throws UnknownHostException if the hostname cannot be resolved
         */
        Address[] getAllByName(String hostname, boolean possibleNTDomainOrWorkgroup) throws UnknownHostException;
    
        /**
         * Lookup <code>hostname</code> and return it's <code>UniAddress</code>. If the
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RouteSelector.kt

      }
    
      /** Prepares the socket addresses to attempt for the current proxy or host. */
      @Throws(IOException::class)
      private fun resetNextInetSocketAddress(proxy: Proxy) {
        // Clear the addresses. Necessary if getAllByName() below throws!
        val mutableInetSocketAddresses = mutableListOf<InetSocketAddress>()
        inetSocketAddresses = mutableInetSocketAddresses
    
        val socketHost: String
        val socketPort: Int
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.3K bytes
    - Viewed (1)
Back to top