- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 395 for Protocols (0.04 sec)
-
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt
} @Test fun testH2PriorKnowledgeServerFallback() { try { server.protocols = Arrays.asList(Protocol.H2_PRIOR_KNOWLEDGE, Protocol.HTTP_1_1) fail<Any>() } catch (expected: IllegalArgumentException) { assertThat(expected.message).isEqualTo( "protocols containing h2_prior_knowledge cannot use other protocols: " + "[h2_prior_knowledge, http/1.1]", ) } } @Test
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 03 13:16:34 UTC 2025 - 22.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ExternalHttp2Example.kt
*/ package okhttp3.internal.http import okhttp3.OkHttpClient import okhttp3.Protocol import okhttp3.Request object ExternalHttp2Example { @JvmStatic fun main(args: Array<String>) { val client = OkHttpClient .Builder() .protocols(listOf(Protocol.HTTP_2, Protocol.HTTP_1_1)) .build() val call = client.newCall( Request .Builder()Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.4K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt
} @Test fun testH2PriorKnowledgeServerFallback() { try { server.protocols = listOf(Protocol.H2_PRIOR_KNOWLEDGE, Protocol.HTTP_1_1) fail<Unit>() } catch (expected: IllegalArgumentException) { assertThat(expected.message).isEqualTo( "protocols containing h2_prior_knowledge cannot use other protocols: " + "[h2_prior_knowledge, http/1.1]", ) } } @Test
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Aug 03 22:38:00 UTC 2025 - 28K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionListenerTest.kt
"ConnectionAcquired", "ConnectionReleased", ) } @Test @Throws(IOException::class) fun secondCallEventSequence() { enableTls() server.protocols = listOf(Protocol.HTTP_2, Protocol.HTTP_1_1) server.enqueue(MockResponse()) server.enqueue(MockResponse()) client .newCall(Request(server.url("/"))) .execute() .close() client
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 18:33:48 UTC 2025 - 9.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/SsoResponseType.java
* such as metadata requests and logout actions. */ public enum SsoResponseType { /** * Indicates a request for SSO metadata, which is typically used for * configuration and discovery in protocols like SAML. */ METADATA, /** * Indicates a request to perform a logout operation, terminating the * user's SSO session. */ LOGOUT;Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/HttpStatusCodes.kt
// From https://github.com/apache/httpcomponents-core/blob/master/httpcore5/src/main/java/org/apache/hc/core5/http/HttpStatus.java /** `100 Continue` (HTTP/1.1 - RFC 7231) */ const val HTTP_CONTINUE = 100 /** `101 Switching Protocols` (HTTP/1.1 - RFC 9110) */ const val HTTP_SWITCHING_PROTOCOLS = 101 /** `102 Processing` (WebDAV - RFC 2518) */ const val HTTP_PROCESSING = 102 /** `103 Early Hints (Early Hints - RFC 8297)` */
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jul 28 14:39:28 UTC 2025 - 2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CipherSuiteTest.kt
private lateinit var enabledCipherSuites: Array<String> override fun getEnabledProtocols(): Array<String> = enabledProtocols override fun setEnabledProtocols(protocols: Array<String>) { this.enabledProtocols = protocols } override fun getSupportedCipherSuites(): Array<String> = supportedCipherSuites fun setSupportedCipherSuites(supportedCipherSuites: Array<String>) {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 8.2K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt
private val eventRecorder = EventRecorder() private val bootstrapClient = OkHttpClient .Builder() .protocols(listOf(Protocol.HTTP_2, Protocol.HTTP_1_1)) .eventListener(eventRecorder.eventListener) .build() @BeforeEach fun setUp() { server.protocols = bootstrapClient.protocols dns = buildLocalhost(bootstrapClient, false) } @Test fun getOne() { server.enqueue(
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 11.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/AuthenticationProvider.java
import jcifs.CIFSException; /** * Unified authentication provider interface for SMB authentication * * This interface provides a consistent authentication mechanism across * SMB1, SMB2, and SMB3 protocols, addressing the issue of multiple * scattered authentication implementations. */ public interface AuthenticationProvider { /** * Authentication type enumeration */ enum AuthType {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 3.9K bytes - Viewed (1) -
src/main/java/org/codelibs/fess/helper/PermissionHelper.java
/** * Helper class for handling permission-related operations in Fess. * Provides functionality to encode/decode permission strings and extract * role type information from various file system protocols (SMB, file, FTP). */ public class PermissionHelper { /** Logger instance for this class */ private static final Logger logger = LogManager.getLogger(PermissionHelper.class);Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 13 05:54:52 UTC 2025 - 15.4K bytes - Viewed (0)