Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 399 for trailer (0.08 seconds)

  1. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

        public fun headers(headers: Headers): Builder =
          apply {
            this.headers_ = headers.newBuilder()
          }
    
        /** Sets the trailers and returns this. */
        public fun trailers(trailers: Headers): Builder =
          apply {
            this.trailers_ = trailers.newBuilder()
          }
    
        /** Don't trust the client during the SSL handshake. */
        public fun failHandshake(): Builder =
          apply {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Jun 20 11:46:46 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  2. docs/fr/docs/tutorial/middleware.md

    * Il intercepte chaque **requête** qui parvient à votre application.
    * Il peut alors faire quelque chose avec cette **requête** ou exécuter tout code nécessaire.
    * Ensuite, il transmet la **requête** pour qu’elle soit traitée par le reste de l’application (par un *chemin d'accès*).
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  3. cmd/http-tracer.go

    Anis Eleuch <******@****.***> 1727197938 +0100
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Sep 24 17:13:00 GMT 2024
    - 6K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt

          .build()
    
      @Test
      fun trailersHttp1() {
        trailers(Protocol.HTTP_1_1)
      }
    
      @Test
      fun trailersHttp2() {
        trailers(Protocol.HTTP_2)
      }
    
      private fun trailers(protocol: Protocol) {
        enableProtocol(protocol)
    
        server.enqueue(
          MockResponse
            .Builder()
            .addHeader("h1", "v1")
            .trailers(headersOf("t1", "v2"))
            .body(protocol, "Hello")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 18.8K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

         */
        fun responseBodyComplete(trailers: Headers) {
          if (state == STATE_CLOSED) return
          if (state != STATE_READING_RESPONSE_BODY) throw IllegalStateException("state: $state")
    
          detachTimeout(timeout)
    
          this@Http1ExchangeCodec.trailers = trailers
          state = STATE_CLOSED
          if (trailers.size > 0) {
            client?.cookieJar?.receiveHeaders(url, trailers)
          }
        }
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 17.6K bytes
    - Click Count (7)
  6. docs/fr/docs/how-to/custom-request-and-route.md

    ///
    
    Nous pouvons également utiliser cette même approche pour accéder au corps de la requête dans un gestionnaire d'exceptions.
    
    Il suffit de traiter la requête dans un bloc `try`/`except` :
    
    {* ../../docs_src/custom_request_and_route/tutorial002_an_py310.py hl[14,16] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt

       * @throws IOException if the trailers cannot be loaded, such as if the network connection is
       *     dropped.
       */
      @Throws(IOException::class)
      fun trailers(): Headers = trailersSource.get()
    
      /**
       * Returns the trailers after the HTTP response, if they are available to read immediately. Unlike
       * [trailers], this doesn't block if the trailers are not immediately available, and instead
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jul 28 14:39:28 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  8. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt

      @JvmName("-deprecated_getTrailers")
      @Deprecated(
        message = "moved to var",
        replaceWith = ReplaceWith(expression = "trailers"),
        level = DeprecationLevel.ERROR,
      )
      fun getTrailers(): Headers = trailers
    
      fun setTrailers(trailers: Headers) = apply { this.trailers = trailers }
    
      @JvmName("-deprecated_getSocketPolicy")
      @Deprecated(
        message = "moved to var",
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat May 10 11:15:14 GMT 2025
    - 7.1K bytes
    - Click Count (1)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt

        if (flushHeaders) {
          connection.flush()
        }
      }
    
      fun enqueueTrailers(trailers: Headers) {
        withLock {
          check(!sink.finished) { "already finished" }
          require(trailers.size != 0) { "trailers.size() == 0" }
          this.sink.trailers = trailers
        }
      }
    
      fun readTimeout(): Timeout = readTimeout
    
      fun writeTimeout(): Timeout = writeTimeout
    
      /**
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jul 07 18:57:05 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

            Crawler.Options options = new Crawler.Options();
            options.sessionId = "test-session";
            options.fileConfigIds = "file1";
    
            int result = crawler.doCrawl(options);
            assertEquals(Constants.EXIT_OK, result);
        }
    
        @Test
        public void test_doCrawl_withDataConfigIds() {
            Crawler.Options options = new Crawler.Options();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 30.8K bytes
    - Click Count (0)
Back to Top