Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 302 for Sender (0.03 seconds)

  1. samples/guide/src/main/java/okhttp3/recipes/RewriteResponseCacheControl.java

      private static final Interceptor REWRITE_CACHE_CONTROL_INTERCEPTOR = chain -> {
        Response originalResponse = chain.proceed(chain.request());
        return originalResponse.newBuilder()
            .header("Cache-Control", "max-age=60")
            .build();
      };
    
      private final OkHttpClient client;
    
      public RewriteResponseCacheControl(File cacheDirectory) throws Exception {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Jan 12 03:31:36 GMT 2019
    - 2.6K bytes
    - Click Count (0)
  2. docs/es/docs/how-to/custom-request-and-route.md

    ///
    
    Primero, creamos una clase `GzipRequest`, que sobrescribirá el método `Request.body()` para descomprimir el cuerpo si hay un header apropiado.
    
    Si no hay `gzip` en el header, no intentará descomprimir el cuerpo.
    
    De esa manera, la misma clase de ruta puede manejar requests comprimidos con gzip o no comprimidos.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 5K bytes
    - Click Count (0)
  3. docs/tr/docs/tutorial/path-params.md

    Bunlardan birkaçı, bu eğitimin ileriki bölümlerinde irdelenmiştir.
    
    ## Sıralama Önem Arz Eder
    
    *Yol operasyonları* tasarlarken sabit yol barındıran durumlar ile karşılaşabilirsiniz.
    
    Farz edelim ki `/users/me` yolu geçerli kullanıcı hakkında bilgi almak için kullanılıyor olsun.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 10:29:01 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  4. build-logic-commons/code-quality-rules/src/main/resources/classycle/classycle_report_resources.zip

    belongs. Class/Package Size Used by Uses internal Uses external Layer Source(s) # Member of cycle Classes using : uses: true uses: Packages using : uses: true uses: Classes of cycle : Best fragmenter(s) of cycle : Center classes of cycle : Packages of cycle : Best fragmenter(s) of cycle : Center packages of cycle : cursor:pointer; javascript:showTable(" ",""," ; ") cursor:pointer; javascript:showTable(" ","Name,Maximum fragment size,Eccentricity"," , , ; ") <div class='link' onclick='javascript:windo...
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 23.4K bytes
    - Click Count (0)
  5. docs/en/docs/_llm-test.md

    * the class
    * the base class
    * the parent class
    * the subclass
    * the child class
    * the sibling class
    * the class method
    
    * the header
    * the headers
    * the authorization header
    * the `Authorization` header
    * the forwarded header
    
    * the dependency injection system
    * the dependency
    * the dependable
    * the dependant
    
    * I/O bound
    * CPU bound
    * concurrency
    * parallelism
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Dec 11 14:48:47 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  6. tests/test_starlette_exception.py

    @app.get("/items/{item_id}")
    async def read_item(item_id: str):
        if item_id not in items:
            raise HTTPException(
                status_code=404,
                detail="Item not found",
                headers={"X-Error": "Some custom header"},
            )
        return {"item": items[item_id]}
    
    
    @app.get("/http-no-body-statuscode-exception")
    async def no_body_status_code_exception():
        raise HTTPException(status_code=204)
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 7.4K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

        val request =
          Request
            .Builder()
            .url(server.url("/"))
            .header("Range", "bytes=0-")
            .build()
        val call = client.newCall(request)
    
        // The response is not decompressed.
        val response = call.execute()
        assertThat(response.header("Content-Encoding")).isEqualTo("gzip")
        assertThat(response.body.source().readByteString()).isEqualTo(
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 147.4K bytes
    - Click Count (0)
  8. mockwebserver/src/test/java/mockwebserver3/RecordedRequestTest.kt

    /*
     * Copyright (C) 2012 Square, Inc.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *      http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Aug 02 20:36:00 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  9. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerAdapter.kt

       */
      fun fromDer(reader: DerReader): T
    
      fun fromDer(byteString: ByteString): T {
        val buffer = Buffer().write(byteString)
        val reader = DerReader(buffer)
        return fromDer(reader)
      }
    
      /**
       * Writes [value] to this adapter, unless it is the default value and can be safely omitted.
       *
       * If this does write a value, it will write a tag and a length and a full value.
       */
      fun toDer(
        writer: DerWriter,
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/UpgradeContext.java

            super(invokerRequest, true, upgradeOptions);
        }
    
        public Map<String, Goal> goals;
    
        public List<AttributedString> header;
        public AttributedStyle style;
        public LineReader reader;
    
        // Indentation control for nested logging
        private int indentLevel = 0;
        private String indentString = Indentation.DEFAULT;
    
        public void addInHeader(String text) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 4.7K bytes
    - Click Count (0)
Back to Top