Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for deployed (0.23 sec)

  1. okhttp/src/test/java/okhttp3/osgi/OsgiTest.kt

        if (fileSystem.metadataOrNull(file)?.isRegularFile != true) return
        try {
          fileSystem.read(file) {
            put(inputStream(), RepositoryPlugin.PutOptions())
            println("Deployed ${file.name}")
          }
        } catch (e: IllegalArgumentException) {
          if ("Jar does not have a symbolic name" in e.message!!) {
            println("Skipped non-OSGi dependency: ${file.name}")
            return
          }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  2. deploy_website.sh

    cp CONTRIBUTING.md docs/contribute/contributing.md
    
    # Build the site and push the new files up to GitHub
    python3 -m venv venv
    source venv/bin/activate
    pip install mkdocs-material mkdocs-redirects
    mkdocs gh-deploy
    
    # Restore Javadocs from 1.x, 2.x, and 3.x.
    git checkout gh-pages
    git cherry-pick bb229b9dcc9a21a73edbf8d936bea88f52e0a3ff
    git cherry-pick c695732f1d4aea103b826876c077fbfea630e244
    git push --set-upstream origin gh-pages
    Shell Script
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Nov 20 15:26:12 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  3. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

    import okhttp3.Headers.Companion.headersOf
    import okhttp3.WebSocketListener
    import okhttp3.internal.addHeaderLenient
    import okhttp3.internal.http2.Settings
    import okio.Buffer
    
    /** A scripted response to be replayed by the mock web server. */
    @ExperimentalOkHttpApi
    class MockResponse {
      /** Returns the HTTP response line, such as "HTTP/1.1 200 OK". */
      val status: String
    
      val code: Int
        get() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 13.3K bytes
    - Viewed (1)
  4. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskQueue.kt

       * The target execution time is implemented on a best-effort basis. If another task in this queue
       * is running when that time is reached, that task is allowed to complete before this task is
       * started. Similarly the task will be delayed if the host lacks compute resources.
       *
       * @throws RejectedExecutionException if the queue is shut down and the task is not cancelable.
       */
      fun schedule(
        task: Task,
        delayNanos: Long = 0L,
      ) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/CallTest.kt

        val response = client.newCall(request).execute()
        val bodySource = response.body.source()
        assertThat(bodySource.readByte()).isEqualTo('d'.code.toByte())
    
        // The second byte of this request will be delayed by 750ms so we should time out after 250ms.
        val startNanos = System.nanoTime()
        bodySource.use {
          assertFailsWith<IOException> {
            bodySource.readByte()
          }.also { expected ->
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/Handshake.kt

      @get:JvmName("cipherSuite") val cipherSuite: CipherSuite,
      /** Returns a possibly-empty list of certificates that identify this peer. */
      @get:JvmName("localCertificates") val localCertificates: List<Certificate>,
      // Delayed provider of peerCertificates, to allow lazy cleaning.
      peerCertificatesFn: () -> List<Certificate>,
    ) {
      /** Returns a possibly-empty list of certificates that identify the remote peer. */
      @get:JvmName("peerCertificates")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

        )
    
        /**
         * The peer tells us to stop creating streams. It is safe to replay streams with
         * `ID > lastGoodStreamId` on a new connection.  In- flight streams with
         * `ID <= lastGoodStreamId` can only be replayed on a new connection if they are idempotent.
         *
         * @param lastGoodStreamId the last stream ID the peer processed before sending this message. If
         *     [lastGoodStreamId] is zero, the peer processed no frames.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/EventListener.kt

       * one of those methods.
       */
      open fun responseFailed(
        call: Call,
        ioe: IOException,
      ) {
      }
    
      /**
       * Invoked immediately after a call has completely ended.  This includes delayed consumption
       * of response body by the caller.
       *
       * This method is always invoked after [callStart].
       */
      open fun callEnd(call: Call) {
      }
    
      /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

          }
        }
    
        // Only DATA frames are subject to flow-control. Transmit the HEADER frame if the connection
        // flow-control window is fully depleted.
        if (!flushHeaders) {
          this.withLock {
            flushHeaders = (connection.writeBytesTotal >= connection.writeBytesMaximum)
          }
        }
    
        connection.writeHeaders(id, outFinished, responseHeaders)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 23.2K bytes
    - Viewed (1)
Back to top