- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for getAllByName (0.13 sec)
-
src/test/java/jcifs/tests/DelegatingNameServiceClient.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolver.java
protected int flag = 0; protected String encoding = "UTF-8"; @Override public InetAddress[] resolve(final String host) throws UnknownHostException { return InetAddress.getAllByName(toAscii(host)); } protected String decode(final String host) { if (host.indexOf('%') == -1) { return host; } try {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 1.7K bytes - Viewed (0) -
okhttp/src/main/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 Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.2K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
@Override public UniAddress getByName ( String hostname, boolean possibleNTDomainOrWorkgroup ) throws UnknownHostException { return getAllByName(hostname, possibleNTDomainOrWorkgroup)[ 0 ]; } @Override public UniAddress[] getAllByName ( String hostname, boolean possibleNTDomainOrWorkgroup ) throws UnknownHostException { if ( hostname == null || hostname.length() == 0 ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Aug 14 14:26:22 UTC 2022 - 38.2K bytes - Viewed (0) -
docs/changelogs/upgrading_to_okhttp_4.md
```kotlin val client = OkHttpClient.Builder() .dns { hostname -> InetAddress.getAllByName(hostname).toList() } .build() ``` Kotlin calling OkHttp 4.x: ```kotlin val client = OkHttpClient.Builder() .dns(object : Dns { override fun lookup(hostname: String) = InetAddress.getAllByName(hostname).toList() }) .build() ``` SAM conversion impacts these APIs:
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Feb 06 16:58:16 UTC 2022 - 10.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/UniAddress.java
throws UnknownHostException { UniAddress[] addrs = UniAddress.getAllByName(hostname, possibleNTDomainOrWorkgroup); return addrs[0]; } public static UniAddress[] getAllByName( String hostname, boolean possibleNTDomainOrWorkgroup ) throws UnknownHostException {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 16.2K bytes - Viewed (0) -
src/test/java/jcifs/tests/NamingTest.java
BaseContext c = new BaseContext(cfg); c.getNameServiceClient().getByName(getRequiredProperty("test.server.netbios")); c.getNameServiceClient().getAllByName(getRequiredProperty("test.server.netbios"), true); } @Parameters ( name = "{0}" ) public static Collection<Object> configs () {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Jun 06 10:48:05 UTC 2020 - 7K bytes - Viewed (0) -
src/test/java/jcifs/tests/TimeoutTest.java
private NetbiosAddress replacementNetbios = nscl.getNbtByName(replacement); @Override public Address[] getAllByName ( String hostname, boolean possibleNTDomainOrWorkgroup ) throws UnknownHostException { Address[] all = super.getAllByName(hostname, possibleNTDomainOrWorkgroup); return wrap(hostname, all); } @Override
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 12.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbResourceLocatorImpl.java
} this.addresses = this.ctx.getNameServiceClient().getAllByName(this.ctx.getConfig().getDefaultDomain(), true); } } else if ( path.length() == 0 || path.equals("/") ) { this.addresses = this.ctx.getNameServiceClient().getAllByName(host, true); } else {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Jul 20 08:24:53 UTC 2019 - 23.9K bytes - Viewed (0) -
src/main/java/jcifs/NameServiceClient.java
* * @param hostname * @param possibleNTDomainOrWorkgroup * @return found addresses * @throws UnknownHostException */ Address[] getAllByName ( String hostname, boolean possibleNTDomainOrWorkgroup ) throws UnknownHostException; /** * Lookup <tt>hostname</tt> and return it's <tt>UniAddress</tt>. If the
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 7.9K bytes - Viewed (0)