- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 360 for hosta (0.01 sec)
-
mockwebserver/src/test/java/mockwebserver3/MockResponseSniTest.kt
client.newCall( Request( url = "https://url-host.com:${server.port}/".toHttpUrl(), headers = headersOf("Host", "header-host"), ), ) val response = call.execute() assertThat(response.isSuccessful).isTrue() val recordedRequest = server.takeRequest() assertThat(recordedRequest.url.host).isEqualTo("header-host") // https://github.com/bcgit/bc-java/issues/1773
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 6.3K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocketFactory.kt
return configureSocket(sslSocket) } @Throws(IOException::class) override fun createSocket( host: InetAddress, port: Int, ): SSLSocket { val sslSocket = delegate.createSocket(host, port) as SSLSocket return configureSocket(sslSocket) } @Throws(IOException::class) override fun createSocket( host: InetAddress,
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/NetServerEnumIteratorTest.java
} @Test @DisplayName("Constructor should throw SmbException for non-workgroup type with host") void testConstructor_NonWorkgroupType_ThrowsException() throws Exception { // Given: A non-workgroup type with a host when(locator.getType()).thenReturn(SmbConstants.TYPE_SERVER); when(locator.getURL()).thenReturn(createSmbURL("smb://server/"));Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ChannelSocketFactory.kt
override fun createSocket( host: String, port: Int, ): Socket = TODO("Not yet implemented") override fun createSocket( host: String, port: Int, localHost: InetAddress, localPort: Int, ): Socket = TODO("Not yet implemented") override fun createSocket( host: InetAddress, port: Int, ): Socket = TODO("Not yet implemented")
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/Kerb5Authenticator.java
* byte[], boolean) */ @Override public SSPContext createContext(CIFSContext tc, String targetDomain, String host, byte[] initialToken, boolean doSigning) throws SmbException { if (host.indexOf('.') < 0 && host.toUpperCase(Locale.ROOT).equals(host)) { // this is not too good, probably should better pass the address and check that it is a netbios one.
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 13.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt
} // Force handshake. This can throw! sslSocket.startHandshake() // block for session establishment val sslSocketSession = sslSocket.session val unverifiedHandshake = sslSocketSession.handshake() // Verify that the socket's certificates are acceptable for the target host.Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Oct 08 03:50:05 UTC 2025 - 19.3K bytes - Viewed (2) -
src/test/java/jcifs/SmbResourceLocatorTest.java
String remaining = urlStr.substring(6); // Remove "smb://" int slashIndex = remaining.indexOf('/'); if (slashIndex == -1) { this.host = remaining; this.path = "/"; } else { this.host = remaining.substring(0, slashIndex); this.path = remaining.substring(slashIndex); } // canonical form: remove . and .. but nothing fancy
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt
isDaemon = daemon } } internal fun HttpUrl.toHostHeader(includeDefaultPort: Boolean = false): String { val host = if (":" in host) { "[$host]" } else { host } return if (includeDefaultPort || port != defaultPort(scheme)) { "$host:$port" } else { host } } /** Returns a [Locale.US] formatted [String]. */ internal fun format( format: String,Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 10.2K bytes - Viewed (1) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.5K bytes - Viewed (0) -
src/test/java/jcifs/SmbTransportTest.java
// Act String result = smbTransport.getRemoteHostName(); // Assert assertNotNull(result, "Remote host name should not be null"); assertEquals(hostName, result, "Returned remote host name should be the mocked host name"); verify(smbTransport).getRemoteHostName(); // Verify that the method was called }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0)