Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 217 for rprotocol (0.09 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt

         *
         * @param protocols the protocols to use, in order of preference. If the list contains
         *     [Protocol.H2_PRIOR_KNOWLEDGE] then that must be the only protocol and HTTPS URLs will not
         *     be supported. Otherwise the list must contain [Protocol.HTTP_1_1]. The list must
         *     not contain null or [Protocol.HTTP_1_0].
         */
        fun protocols(protocols: List<Protocol>) =
          apply {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  2. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/KotlinSourceModernTest.kt

        val url: HttpUrl = mockWebServer.url("")
        mockWebServer.bodyLimit = 0L
        mockWebServer.protocolNegotiationEnabled = false
        mockWebServer.protocols = listOf()
        val protocols: List<Protocol> = mockWebServer.protocols
        mockWebServer.useHttps(SSLSocketFactory.getDefault() as SSLSocketFactory, false)
        mockWebServer.noClientAuth()
        mockWebServer.requestClientAuth()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

        }
    
        /**
         * Adds a new file protocol to the supported protocols list.
         * If the protocol already exists, it will not be added again.
         *
         * @param protocol the protocol name to add (without colon suffix)
         */
        public void addFileProtocol(final String protocol) {
            final String prefix = protocol + ":";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/SocketChannelTest.kt

          assertThat(acceptedHostName).isEqualTo(hostname)
    
          if (socketMode.tlsExtensionMode == STANDARD) {
            assertThat(response.protocol).isEqualTo(socketMode.protocol)
          } else {
            assertThat(response.protocol).isEqualTo(HTTP_1_1)
          }
        }
      }
    
      companion object {
        @Suppress("unused")
        @JvmStatic
        fun connectionTypes(): List<SocketMode> =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 8K bytes
    - Viewed (0)
  5. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionReuseTest.kt

          response!!.closeQuietly()
        }
      }
    
      private fun enableHttps() {
        enableHttpsAndAlpn(Protocol.HTTP_1_1)
      }
    
      private fun enableHttp2() {
        platform.assumeHttp2Support()
        enableHttpsAndAlpn(Protocol.HTTP_2, Protocol.HTTP_1_1)
      }
    
      private fun enableHttpsAndAlpn(vararg protocols: Protocol) {
        client =
          client
            .newBuilder()
            .sslSocketFactory(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/validation/UriTypeValidator.java

            if (StringUtil.isNotBlank(value)) {
                return check(protocols, value);
            }
            return true;
        }
    
        /**
         * Checks if the given value matches any of the specified protocols.
         *
         * @param protocols the allowed protocols
         * @param value the URI string to validate
         * @return true if the value matches allowed protocols, false otherwise
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. src/main/webapp/js/admin/jquery-3.7.1.min.map

    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 131.6K bytes
    - Viewed (0)
  9. 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)
  10. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/ConscryptSocketAdapter.kt

        sslSocket: SSLSocket,
        hostname: String?,
        protocols: List<Protocol>,
      ) {
        // No TLS extensions if the socket class is custom.
        if (matchesSocket(sslSocket)) {
          // Enable session tickets.
          Conscrypt.setUseSessionTickets(sslSocket, true)
    
          // Enable ALPN.
          val names = Platform.alpnProtocolNames(protocols)
          Conscrypt.setApplicationProtocols(sslSocket, names.toTypedArray())
        }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top