- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 473 for Protocols (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt
} } } private fun MockResponse.Builder.body( protocol: Protocol, body: String, ) = apply { when (protocol) { Protocol.HTTP_1_1 -> chunkedBody(body, 1024) // Force multiple chunks. else -> body(body) } } private fun enableProtocol(protocol: Protocol) { if (protocol == Protocol.HTTP_2) { enableTls() client = clientCreated: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Nov 08 21:45:04 GMT 2025 - 18.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Protocol.kt
HTTP_1_0.protocol -> HTTP_1_0 HTTP_1_1.protocol -> HTTP_1_1 H2_PRIOR_KNOWLEDGE.protocol -> H2_PRIOR_KNOWLEDGE HTTP_2.protocol -> HTTP_2 SPDY_3.protocol -> SPDY_3 QUIC.protocol -> QUIC else -> { // Support HTTP3 draft like h3-29 if (protocol.startsWith(HTTP_3.protocol)) HTTP_3 else throw IOException("Unexpected protocol: $protocol") }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jun 23 18:58:57 GMT 2025 - 4.4K bytes - Click Count (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(
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 11.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/GsaConfigParser.java
} /** * Parses and filters URL patterns from text based on protocol types. * Processes each line of the input text, filtering URLs based on web and file protocol support. * * @param text the raw text containing URL patterns, one per line * @param web true if web protocol URLs should be included * @param file true if file protocol URLs should be includedCreated: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 21.6K bytes - Click Count (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/AndroidPlatform.kt
override fun configureTlsExtensions( sslSocket: SSLSocket, hostname: String?, protocols: List<@JvmSuppressWildcards Protocol>, ) { // No TLS extensions if the socket class is custom. socketAdapters .find { it.matchesSocket(sslSocket) } ?.configureTlsExtensions(sslSocket, hostname, protocols) } override fun getSelectedProtocol(sslSocket: SSLSocket): String? =
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Oct 10 05:19:46 GMT 2025 - 6.5K bytes - Click Count (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;Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.1K bytes - Click Count (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>) {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 8.2K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/TransportProvider.java
* If plugin or extension needs anything more complex feature wise (i.e. HTTP range support or alike) it should * probably roll its own. * <p> * This implementation is backed by Maven Resolver API, supported protocols and transport selection depends on it. If * resolver preference regarding transport is altered, it will affect this service as well. * * @since 4.0.0 */ @Experimental @Consumer
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Mar 23 05:29:39 GMT 2023 - 2.1K bytes - Click Count (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)` */
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jul 28 14:39:28 GMT 2025 - 2K bytes - Click Count (0) -
samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/ClientAndServer.java
server.setProtocols(Collections.singletonList(Protocol.H2_PRIOR_KNOWLEDGE)); server.enqueue(new MockResponse().setBody("hello")); server.start(); OkHttpClient client = new OkHttpClient.Builder() .socketFactory(new UnixDomainSocketFactory(socketFile)) .protocols(Collections.singletonList(Protocol.H2_PRIOR_KNOWLEDGE)) .build(); Request request = new Request.Builder()
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Dec 24 03:46:30 GMT 2018 - 2.1K bytes - Click Count (0)