- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 602 for host2 (0.07 sec)
-
okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSocketFactory.kt
override fun createSocket( host: String, port: Int, ): Socket { val socket = delegate.createSocket(host, port) return configureSocket(socket) } @Throws(IOException::class) override fun createSocket( host: String, port: Int, localAddress: InetAddress, localPort: Int, ): Socket { val socket = delegate.createSocket(host, port, localAddress, localPort)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/HostIntervalController.java
* that controls the interval between requests to the same host. * It uses a ConcurrentMap to store the last access time for each host. * The delayBeforeProcessing method is overridden to introduce a delay before processing a URL, * ensuring that requests to the same host are not made too frequently. * The delay is calculated based on the configured delayMillisBeforeProcessing parameter.
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 4.2K bytes - Viewed (0) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt
.assertLogEqual("Content-Length: 0") .assertLogEqual("<-- END HTTP") .assertNoMoreLogs() networkLogs .assertLogEqual("--> GET $url http/1.1") .assertLogEqual("Host: $host") .assertLogEqual("Connection: Keep-Alive") .assertLogEqual("Accept-Encoding: gzip") .assertLogMatch(Regex("""User-Agent: okhttp/.+""")) .assertLogEqual("--> END GET")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Aug 21 14:27:04 UTC 2025 - 37.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt
( if (host.startsWith("[") && host.endsWith("]")) { decodeIpv6(host, 1, host.length - 1) } else { decodeIpv6(host, 0, host.length) } ) ?: return null val address = canonicalizeInetAddress(inetAddressByteArray) if (address.size == 16) return inet6AddressToAscii(address) if (address.size == 4) return inet4AddressToAscii(address) // An IPv4-mapped IPv6 address.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 11.2K bytes - Viewed (0) -
android/guava/src/com/google/common/net/HostSpecifier.java
} /** * Returns a string representation of the host specifier suitable for inclusion in a URI. If the * host specifier is a domain name, the string will be normalized to all lower case. If the * specifier was an IPv6 address without brackets, brackets are added so that the result will be * usable in the host part of a URI. */ @Override public String toString() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 6K bytes - Viewed (0) -
src/main/java/jcifs/util/PathValidator.java
// Validate host String host = url.getHost(); if (host == null || host.isEmpty()) { throw new SmbException("SMB URL missing host"); } // Validate host format if (!isValidHost(host)) { throw new SmbException("Invalid host in SMB URL"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt
val host = url.host return host.substring(1, host.length - 5).lowercase() } override fun canonicalize(s: String): String = s.lowercase() }, PATH { override fun urlString(value: String): String = "http://example.com/a${value}z/" override fun encodedValue(url: HttpUrl): String { val path = url.encodedPath return path.substring(2, path.length - 2) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 12.3K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java
@Override public Socket createSocket( Socket socket, String host, int port, boolean autoClose) throws IOException { return configureSocket((SSLSocket) delegate.createSocket(socket, host, port, autoClose)); } @Override public Socket createSocket(String host, int port) throws IOException { return configureSocket((SSLSocket) delegate.createSocket(host, port)); } @Override public Socket createSocket(
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Mar 14 21:57:42 UTC 2019 - 6.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt
/** * Test connecting to the main host then an alternative, although only subject alternative names * are used if present no special consideration of common name. */ @Test fun commonThenAlternative() { server.enqueue(MockResponse()) server.enqueue(MockResponse()) assert200Http2Response(execute(url), server.hostName) val sanUrl = url.newBuilder().host("san.com").build()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jun 19 11:44:16 UTC 2025 - 19.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/client/CrawlerEngineClient.java
final FessConfig fessConfig = ComponentUtil.getFessConfig(); final String[] hosts = split(address, ",").get(stream -> stream.map(String::trim).filter(StringUtil::isNotEmpty).toArray(n -> new String[n])); final Builder builder = Settings.builder() .putList("http.hosts", hosts) .put("processors", fessConfig.getCrawlerHttpProcessors())
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 2.6K bytes - Viewed (0)