- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 47 for setTimeout (0.06 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractor.java
this.connectionTimeout = connectionTimeout; } /** * Sets the socket timeout. * @param soTimeout The socket timeout in milliseconds. */ public void setSoTimeout(final Integer soTimeout) { this.soTimeout = soTimeout; } /** * Sets the map of authentication scheme providers.Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 12.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtSocket.java
if (calledName == null) { this.calledName = address.hostName; } else { this.calledName = new Name(calledName, 0x20, null); } soTimeout = Config.getInt("jcifs.smb1.netbios.soTimeout", DEFAULT_SO_TIMEOUT); connect(); } /** * Returns the NetBIOS address associated with this socket. * * @return the NetBIOS address */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K bytes - Viewed (0) -
src/test/java/jcifs/config/PropertyConfigurationTest.java
props.setProperty("jcifs.netbios.hostname", "testhost"); props.setProperty("jcifs.netbios.scope", ""); props.setProperty("jcifs.smb.client.connTimeout", "35000"); props.setProperty("jcifs.smb.client.soTimeout", "35000"); config = new PropertyConfiguration(props); } @Test @DisplayName("Should create configuration from Properties") void testConfigurationCreation() throws CIFSException {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocket.kt
@Throws(SocketException::class) override fun getSendBufferSize(): Int = delegate!!.sendBufferSize @Throws(SocketException::class) override fun getSoTimeout(): Int = delegate!!.soTimeout @Throws(SocketException::class) override fun getTcpNoDelay(): Boolean = delegate!!.tcpNoDelay @Throws(SocketException::class) override fun setKeepAlive(keepAlive: Boolean) {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmServlet.java
@Override public void init(final ServletConfig config) throws ServletException { super.init(config); /* Set jcifs.smb1 properties we know we want; soTimeout and cachePolicy to 10min. */ Config.setProperty("jcifs.smb1.smb.client.soTimeout", "300000"); Config.setProperty("jcifs.smb1.netbios.cachePolicy", "600"); final Enumeration e = config.getInitParameterNames(); String name;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt
* @param source the source used to read bytes from the socket. */ internal fun Socket.isHealthy(source: BufferedSource): Boolean = try { val readTimeout = soTimeout try { soTimeout = 1 !source.exhausted() } finally { soTimeout = readTimeout } } catch (_: SocketTimeoutException) { true // Read timed out; socket is good. } catch (_: IOException) {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 10.2K bytes - Viewed (1) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt
} else { javaNetSocket.soTimeout = chain.readTimeoutMillis() okHttpSocket.source.timeout().timeout(chain.readTimeoutMillis.toLong(), MILLISECONDS) okHttpSocket.sink.timeout().timeout(chain.writeTimeoutMillis.toLong(), MILLISECONDS) Http1ExchangeCodec(client, this, okHttpSocket) } } internal fun useAsSocket() { javaNetSocket.soTimeout = 0 noNewExchanges() }Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Oct 07 21:55:03 UTC 2025 - 14.6K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmServlet.java
final Properties p = new Properties(); p.putAll(System.getProperties()); /* * Set jcifs properties we know we want; soTimeout and cachePolicy to 10min. */ p.setProperty("jcifs.smb.client.soTimeout", "300000"); p.setProperty("jcifs.netbios.cachePolicy", "600"); final Enumeration<String> e = config.getInitParameterNames(); String name;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.1K bytes - Viewed (1) -
src/test/java/jcifs/tests/persistent/PersistentHandleManagerTest.java
assertNotNull(info); assertEquals("/test/file.txt", info.getPath()); assertEquals(HandleType.DURABLE_V2, info.getType()); assertEquals(120000, info.getTimeout()); } @Test public void testUpdateHandleFileId() { HandleGuid guid = manager.requestDurableHandle("/test/file.txt", HandleType.DURABLE_V2, 120000, null);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 6.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java
} /** * Sets the socket timeout in milliseconds. * * @param soTimeout The socket timeout */ public void setSoTimeout(final Integer soTimeout) { this.soTimeout = soTimeout; } /** * Sets the cookie specification to use. * * @param cookieSpec The cookie specification */Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Nov 23 12:19:14 UTC 2025 - 53.7K bytes - Viewed (0)