Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 991 for loaders (0.23 sec)

  1. android/guava/src/com/google/common/reflect/ClassPath.java

          this.file = checkNotNull(file);
          this.resourceName = checkNotNull(resourceName);
          this.loader = checkNotNull(loader);
        }
    
        /**
         * Returns the url identifying the resource.
         *
         * <p>See {@link ClassLoader#getResource}
         *
         * @throws NoSuchElementException if the resource cannot be loaded through the class loader,
         *     despite physically existing in the class path.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 05 17:43:40 GMT 2022
    - 24.9K bytes
    - Viewed (1)
  2. guava/src/com/google/common/base/internal/Finalizer.java

     *
     * <p>This class can't depend on other Guava code. If we were to load this class in the same class
     * loader as the rest of Guava, this thread would keep an indirect strong reference to the class
     * loader and prevent it from being garbage collected. This poses a problem for environments where
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Aug 23 12:54:09 GMT 2023
    - 9.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/internal/Finalizer.java

     *
     * <p>This class can't depend on other Guava code. If we were to load this class in the same class
     * loader as the rest of Guava, this thread would keep an indirect strong reference to the class
     * loader and prevent it from being garbage collected. This poses a problem for environments where
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Aug 23 12:54:09 GMT 2023
    - 9.4K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/Headers.kt

      fun newBuilder(): Builder = commonNewBuilder()
    
      /**
       * Returns true if `other` is a `Headers` object with the same headers, with the same casing, in
       * the same order. Note that two headers instances may be *semantically* equal but not equal
       * according to this method. In particular, none of the following sets of headers are equal
       * according to this method:
       *
       * 1. Original
       * ```
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  5. docs/zh/docs/advanced/response-headers.md

    # 响应头
    
    ## 使用 `Response` 参数
    
    你可以在你的*路径操作函数*中声明一个`Response`类型的参数(就像你可以为cookies做的那样)。
    
    然后你可以在这个*临时*响应对象中设置头部。
    ```Python hl_lines="1  7-8"
    {!../../../docs_src/response_headers/tutorial002.py!}
    ```
    
    然后你可以像平常一样返回任何你需要的对象(例如一个`dict`或者一个数据库模型)。如果你声明了一个`response_model`,它仍然会被用来过滤和转换你返回的对象。
    
    **FastAPI**将使用这个临时响应来提取头部(也包括cookies和状态码),并将它们放入包含你返回的值的最终响应中,该响应由任何`response_model`过滤。
    
    你也可以在依赖项中声明`Response`参数,并在其中设置头部(和cookies)。
    
    ## 直接返回 `Response`
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 2K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/response-headers.md

        And as the `Response` can be used frequently to set headers and cookies, **FastAPI** also provides it at `fastapi.Response`.
    
    ## Custom Headers
    
    Keep in mind that custom proprietary headers can be added <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers" class="external-link" target="_blank">using the 'X-' prefix</a>.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  7. internal/http/headers.go

    	AmzMetaUnencryptedContentLength = "X-Amz-Meta-X-Amz-Unencrypted-Content-Length"
    	AmzMetaUnencryptedContentMD5    = "X-Amz-Meta-X-Amz-Unencrypted-Content-Md5"
    
    	// AWS server-side encryption headers for SSE-S3, SSE-KMS and SSE-C.
    	AmzServerSideEncryption                      = "X-Amz-Server-Side-Encryption"
    	AmzServerSideEncryptionKmsID                 = AmzServerSideEncryption + "-Aws-Kms-Key-Id"
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 10.4K bytes
    - Viewed (1)
  8. docs/es/docs/advanced/response-headers.md

        Y como la `Response` puede ser usada frecuentemente para configurar headers y cookies, **FastAPI** también la provee en `fastapi.Response`.
    
    ## Headers Personalizados
    
    Ten en cuenta que se pueden añadir headers propietarios personalizados <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers" class="external-link" target="_blank">usando el prefijo 'X-'</a>.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Feb 07 12:51:12 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  9. cmd/api-headers.go

    	w.Header().Set(xhttp.CacheControl, "no-cache") // nginx to turn off buffering
    	w.Header().Set("X-Accel-Buffering", "no")      // nginx to turn off buffering
    }
    
    // Write http common headers
    func setCommonHeaders(w http.ResponseWriter) {
    	// Set the "Server" http header.
    	w.Header().Set(xhttp.ServerInfo, MinioStoreName)
    
    	// Set `x-amz-bucket-region` only if region is set on the server
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.9K bytes
    - Viewed (1)
  10. docs/de/docs/advanced/response-headers.md

    Und dann können Sie Header in diesem *vorübergehenden* Response-Objekt festlegen.
    
    ```Python hl_lines="1  7-8"
    {!../../../docs_src/response_headers/tutorial002.py!}
    ```
    
    Anschließend können Sie wie gewohnt jedes gewünschte Objekt zurückgeben (ein `dict`, ein Datenbankmodell, usw.).
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 20:19:06 GMT 2024
    - 2.6K bytes
    - Viewed (0)
Back to top