- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 486 for protocols (0.12 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/ConscryptTest.kt
assertThat(it.protocol).isEqualTo(Protocol.HTTP_2) assertThat(it.handshake!!.tlsVersion).isEqualTo(TlsVersion.TLS_1_3) } } @Test @Disabled fun testGoogle() { assumeNetwork() val request = Request.Builder().url("https://google.com/robots.txt").build() client.newCall(request).execute().use { assertThat(it.protocol).isEqualTo(Protocol.HTTP_2)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 3.1K bytes - Viewed (0) -
regression-test/src/androidTest/java/okhttp/regression/IssueReproductionTest.java
.url(url) .build(); try (Response response = client.newCall(request).execute()) { assertTrue(response.code() == 200 || response.code() == 404); assertEquals(Protocol.HTTP_2, response.protocol()); for (Certificate c: response.handshake().peerCertificates()) { X509Certificate x = (X509Certificate) c; System.out.println(x.getSubjectDN()); } } }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 26 06:37:08 UTC 2021 - 1.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/validation/UriTypeTest.java
import jakarta.validation.Payload; public class UriTypeTest extends UnitFessTestCase { // Test field with UriType annotation for WEB protocol @UriType(protocolType = ProtocolType.WEB) private String testFieldWeb; // Test field with UriType annotation for FILE protocol @UriType(protocolType = ProtocolType.FILE) private String testFieldFile; // Test field with custom message
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 21K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessRegisterRequest.java
private String serverAddress; private int flags; /** * Gets the witness protocol version. * * @return the protocol version */ public int getVersion() { return version; } /** * Sets the witness protocol version. * * @param version the protocol version */ public void setVersion(int version) { this.version = version; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 2.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateRequest.java
* This message is sent to negotiate SMB Direct protocol parameters. */ public class SmbDirectNegotiateRequest { // Protocol constants /** Minimum supported SMB Direct protocol version (1.0) */ public static final int MIN_VERSION = 0x0100; // SMB Direct 1.0 /** Maximum supported SMB Direct protocol version (1.0) */ public static final int MAX_VERSION = 0x0100; // SMB Direct 1.0
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 5.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateResponse.java
// Getters and setters /** * Get the minimum SMB Direct protocol version * * @return minimum protocol version */ public int getMinVersion() { return minVersion; } /** * Set the minimum SMB Direct protocol version * * @param minVersion minimum protocol version */ public void setMinVersion(int minVersion) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java
} @Test @DisplayName("Should handle null protocol ID") void testNullProtocolId() { // Protocol ID is a constant in transform header, not settable // This test is not applicable - the protocol ID is always TRANSFORM_PROTOCOL_ID assertTrue(true); } @Test @DisplayName("Should handle invalid protocol ID length")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/HandlerTest.java
@BeforeAll static void setupProtocolHandler() { // Register the SMB protocol handler String pkgs = System.getProperty("java.protocol.handler.pkgs"); if (pkgs == null) { System.setProperty("java.protocol.handler.pkgs", "jcifs.smb1"); } else if (!pkgs.contains("jcifs.smb1")) { System.setProperty("java.protocol.handler.pkgs", pkgs + "|jcifs.smb1"); } } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.4K bytes - Viewed (0) -
src/main/java/jcifs/http/Handler.java
synchronized (PROTOCOL_HANDLERS) { URLStreamHandler handler = PROTOCOL_HANDLERS.get(protocol); if (handler != null) { return handler; } if (factory != null) { handler = factory.createURLStreamHandler(protocol); } if (handler == null) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.9K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java
String protocol = "perlookup"; Wagon one = wagonManager.getWagon(protocol); Wagon two = wagonManager.getWagon(protocol); assertNotSame(one, two); } private void assertWagon(String protocol) throws Exception { Wagon wagon = wagonManager.getWagon(protocol); assertNotNull(wagon, "Check wagon, protocol=" + protocol); }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 12.9K bytes - Viewed (0)