- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 475 for Protocol (0.09 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/CallConnectionUser.kt
override fun secureConnectEnd(handshake: Handshake?) { eventListener.secureConnectEnd(call, handshake) } override fun callConnectEnd( route: Route, protocol: Protocol?, ) { eventListener.connectEnd(call, route.socketAddress, route.proxy, protocol) } override fun connectionConnectEnd( connection: Connection, route: Route, ) { poolConnectionListener.connectEnd(connection, route, call)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri May 30 21:28:20 UTC 2025 - 4.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinDeprecationErrorTest.kt
} @Test @Disabled fun response() { val response: Response = Response.Builder().build() val request: Request = response.request() val protocol: Protocol = response.protocol() val code: Int = response.code() val message: String = response.message() val handshake: Handshake? = response.handshake() val headers: Headers = response.headers()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 13.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/PoolConnectionUser.kt
} override fun callConnectEnd( route: Route, protocol: Protocol?, ) { } override fun connectionConnectEnd( connection: Connection, route: Route, ) { } override fun connectFailed( route: Route, protocol: Protocol?, e: IOException, ) { } override fun connectionAcquired(connection: Connection) { }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/StatusLineTest.kt
assertThat(statusLine.protocol).isEqualTo(Protocol.HTTP_1_1) assertThat(statusLine.code).isEqualTo(code) } @Test fun emptyMessage() { val version = 1 val code = 503 val statusLine = parse("HTTP/1.$version $code ") assertThat(statusLine.message).isEqualTo("") assertThat(statusLine.protocol).isEqualTo(Protocol.HTTP_1_1) assertThat(statusLine.code).isEqualTo(code) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 3.5K bytes - Viewed (0) -
src/test/java/jcifs/context/SingletonContextTest.java
// Test registerSmbURLHandler when java.protocol.handler.pkgs is null System.clearProperty("java.protocol.handler.pkgs"); SingletonContext.registerSmbURLHandler(); assertEquals("jcifs", System.getProperty("java.protocol.handler.pkgs")); } @Test void testRegisterSmbURLHandlerWhenPkgsDoesNotContainJcifs() { // Test registerSmbURLHandler when java.protocol.handler.pkgs does not contain "jcifs"Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Platform.kt
* Returns the concatenation of 8-bit, length prefixed protocol names. * http://tools.ietf.org/html/draft-agl-tls-nextprotoneg-04#page-4 */ fun concatLengthPrefixed(protocols: List<Protocol>): ByteArray { val result = Buffer() for (protocol in alpnProtocolNames(protocols)) { result.writeByte(protocol.length) result.writeUtf8(protocol) } return result.readByteArray() }Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 28 07:33:49 UTC 2025 - 8.1K bytes - Viewed (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt
inetSocketAddress: InetSocketAddress, proxy: Proxy, protocol: Protocol?, ) { logWithTime("connectEnd: $protocol") } override fun connectFailed( call: Call, inetSocketAddress: InetSocketAddress, proxy: Proxy, protocol: Protocol?, ioe: IOException, ) { logWithTime("connectFailed: $protocol $ioe") } override fun connectionAcquired( call: Call,Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Apr 01 11:07:32 UTC 2024 - 5.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ProtocolTest.kt
assertThat(Protocol.SPDY_3.toString()).isEqualTo("spdy/3.1") assertThat(Protocol.HTTP_2.toString()).isEqualTo("h2") assertThat(Protocol.H2_PRIOR_KNOWLEDGE.toString()) .isEqualTo("h2_prior_knowledge") assertThat(Protocol.QUIC.toString()).isEqualTo("quic") assertThat(Protocol.HTTP_3.toString()).isEqualTo("h3") }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/net/URLUtil.java
} } /** * Returns the normalized protocol. * * @param protocol * The protocol. Must not be {@literal null} or empty. * @return The normalized protocol. */ public static String toCanonicalProtocol(final String protocol) { assertArgumentNotEmpty("protocol", protocol); final String canonicalProtocol = CANONICAL_PROTOCOLS.get(protocol);Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 6.8K bytes - Viewed (0) -
android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt
} }, ), ).build() val response = client.newCall(request).execute() response.use { assertEquals(Protocol.HTTP_2, response.protocol) assertEquals(200, response.code) // see https://github.com/google/conscrypt/blob/b9463b2f74df42d85c73715a5f19e005dfb7b802/android/src/main/java/org/conscrypt/Platform.java#L613 when {Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 02 14:12:28 UTC 2025 - 29K bytes - Viewed (0)