Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 131 for extentions (0.05 sec)

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt

          )
    
      /**
       * ```
       * Extension ::= SEQUENCE  {
       *   extnID      OBJECT IDENTIFIER,
       *   critical    BOOLEAN DEFAULT FALSE,
       *   extnValue   OCTET STRING
       *     -- contains the DER encoding of an ASN.1 value
       *     -- corresponding to the extension type identified
       *     -- by extnID
       * }
       * ```
       */
      internal val extension: BasicDerAdapter<Extension> =
        Adapters.sequence(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt

        newWebSocket(
          Request
            .Builder()
            .url(webServer.url("/"))
            .header("Sec-WebSocket-Extensions", "permessage-deflate")
            .build(),
        )
        clientListener.assertFailure(
          ProtocolException::class.java,
          "Request header not permitted: 'Sec-WebSocket-Extensions'",
        )
      }
    
      @Test
      fun webSocketAndApplicationInterceptors() {
        val interceptedCount = AtomicInteger()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

          return Validity(
            notBefore = notBefore,
            notAfter = notAfter,
          )
        }
    
        private fun extensions(): MutableList<Extension> {
          val result = mutableListOf<Extension>()
    
          if (maxIntermediateCas != -1) {
            result +=
              Extension(
                id = BASIC_CONSTRAINTS,
                critical = true,
                value =
                  BasicConstraints(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  4. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt

                  ),
                issuerUniqueID = null,
                subjectUniqueID = null,
                extensions =
                  listOf(
                    Extension(
                      id = keyUsage,
                      critical = true,
                      value = "03020106".decodeHex(),
                    ),
                    Extension(
                      id = BASIC_CONSTRAINTS,
                      critical = true,
                      value =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 43.9K bytes
    - Viewed (0)
  5. docs/changelogs/upgrading_to_okhttp_4.md

    #### Renamed Functions
    
    * **Headers.of()**: for symmetry with `listOf()`, `setOf()`, etc., we’ve replaced
      `Headers.of(String...)` with `headersOf(vararg String)`.
    
    #### Extension Functions
    
    We’ve migrated from static functions to extension functions where we think they fit.
    
    | Java                                | Kotlin                          |
    | :---------------------------------- | :------------------------------ |
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 16:58:16 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/eventbus/EventBus.java

     *   <li>It doesn't support backpressure and other features needed for resilience.
     *   <li>It doesn't provide much control of threading.
     *   <li>It doesn't offer much monitoring.
     *   <li>It doesn't propagate exceptions, so apps don't have a way to react to them.
     *   <li>It doesn't interoperate well with RxJava, coroutines, and other more commonly used
     *       alternatives.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/query/parser/QueryParser.java

    import org.apache.lucene.queryparser.classic.ParseException;
    import org.apache.lucene.queryparser.classic.QueryParser.Operator;
    import org.apache.lucene.queryparser.ext.ExtendableQueryParser;
    import org.apache.lucene.queryparser.ext.Extensions.Pair;
    import org.apache.lucene.search.PhraseQuery;
    import org.apache.lucene.search.Query;
    import org.apache.lucene.search.TermQuery;
    import org.codelibs.fess.Constants;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

    import org.junit.jupiter.api.Assertions.fail
    import org.junit.jupiter.api.extension.AfterEachCallback
    import org.junit.jupiter.api.extension.BeforeEachCallback
    import org.junit.jupiter.api.extension.ExtensionContext
    
    /**
     * Apply this rule to all tests. It adds additional checks for leaked resources and uncaught
     * exceptions.
     *
     * Use [newClient] as a factory for a OkHttpClient instances. These instances are specifically
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt

          builder.addInterceptor(interceptor)
        }
        client = builder.build()
      }
    
      /** Catches exceptions that are otherwise headed for the uncaught exception handler.  */
      private class ExceptionCatchingExecutor : ThreadPoolExecutor(1, 1, 0, TimeUnit.SECONDS, SynchronousQueue()) {
        private val exceptions: BlockingQueue<Exception> = LinkedBlockingQueue()
    
        override fun execute(runnable: Runnable) {
          super.execute {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt

                  return
                }
    
              // Apply the extensions. If they're unacceptable initiate a graceful shut down.
              // TODO(jwilson): Listeners should get onFailure() instead of onClosing() + onClosed(1010).
              val extensions = WebSocketExtensions.parse(response.headers)
              this@RealWebSocket.extensions = extensions
              if (!extensions.isValid()) {
                synchronized(this@RealWebSocket) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 21.6K bytes
    - Viewed (0)
Back to top