Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 5281 - 5290 of 5,779 for classe (0.09 seconds)

  1. compat/maven-model/src/main/java/org/apache/maven/model/io/xpp3/MavenXpp3Reader.java

    import org.apache.maven.model.v4.MavenStaxReader;
    import org.codehaus.plexus.util.xml.pull.XmlPullParserException;
    
    /**
     * @deprecated Use MavenStaxReader instead
     */
    @Deprecated
    public class MavenXpp3Reader {
        private MavenStaxReader delegate;
    
        public MavenXpp3Reader() {
            this(null, false);
        }
    
        public MavenXpp3Reader(ContentTransformer contentTransformer) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 5.2K bytes
    - Click Count (0)
  2. docs/zh/docs/advanced/templates.md

    **FastAPI** 支持多种模板引擎。
    
    Flask 等工具使用的 Jinja2 是最用的模板引擎。
    
    在 Starlette 的支持下,**FastAPI** 应用可以直接使用工具轻易地配置 Jinja2。
    
    ## 安装依赖项 { #install-dependencies }
    
    确保你创建一个[虚拟环境](../virtual-environments.md),激活它,并安装 `jinja2`:
    
    <div class="termy">
    
    ```console
    $ pip install jinja2
    
    ---> 100%
    ```
    
    </div>
    
    ## 使用 `Jinja2Templates` { #using-jinja2templates }
    
    * 导入 `Jinja2Templates`
    * 创建可复用的 `templates` 对象
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 3K bytes
    - Click Count (0)
  3. docs/zh-hant/docs/tutorial/cookie-param-models.md

    {* ../../docs_src/cookie_param_models/tutorial001_an_py310.py hl[9:12,16] *}
    
    **FastAPI** 會從請求收到的 **Cookie** 中擷取 **每個欄位** 的資料,並交給你定義的 Pydantic 模型。
    
    ## 查看文件 { #check-the-docs }
    
    你可以在 `/docs` 的文件介面中看到已定義的 Cookie:
    
    <div class="screenshot">
    <img src="/img/tutorial/cookie-param-models/image01.png">
    </div>
    
    /// info
    
    請注意,由於**瀏覽器會以特殊且在背景進行的方式處理 Cookie**,因此**不會**輕易允許 **JavaScript** 存取它們。
    
    當你前往位於 `/docs` 的 **API 文件介面**時,可以看到路徑操作的 Cookie 說明。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:15:26 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

     *
     * This roles are reversed for client authentication. In that case the client has a private key and
     * a chain of certificates. The server uses a set of trusted root certificates to authenticate the
     * client. Subject alternative names are not used for client authentication.
     */
    @Suppress("DEPRECATION")
    class HeldCertificate(
      @get:JvmName("keyPair") val keyPair: KeyPair,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 21.6K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

    import org.eclipse.aether.transfer.ArtifactNotFoundException;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     */
    @Named("maven")
    @Singleton
    @Deprecated
    public class MavenMetadataSource implements ArtifactMetadataSource {
        private final Logger logger = LoggerFactory.getLogger(getClass());
        private final RepositoryMetadataManager repositoryMetadataManager;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 25 12:03:50 GMT 2025
    - 30.4K bytes
    - Click Count (0)
  6. docs/ko/docs/advanced/custom-response.md

    또한 `response_class` 매개변수를 사용할 수도 있습니다:
    
    {* ../../docs_src/custom_response/tutorial009b_py310.py hl[2,8,10] *}
    
    이 경우, 경로 처리 함수에서 파일 경로를 직접 반환할 수 있습니다.
    
    ## 사용자 정의 응답 클래스 { #custom-response-class }
    
    `Response`를 상속받아 사용자 정의 응답 클래스를 생성하고 사용할 수 있습니다.
    
    예를 들어, [`orjson`](https://github.com/ijl/orjson)을 일부 설정과 함께 사용하고 싶다고 가정해봅시다.
    
    들여쓰기 및 포맷된 JSON을 반환하고 싶다면, orjson 옵션 `orjson.OPT_INDENT_2`를 사용할 수 있습니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 12.4K bytes
    - Click Count (0)
  7. architecture/standards/0008-use-nullaway.md

      * For polynull public APIs, the solution has to be decided on a case-by-case basis.
    
    Do not remove `null` checks on public API boundaries, even if the annotations (or rather lack of them) suggest this.
    Not all client code is compiled with NullAway.
    Do not make a parameter `@Nullable` just to check and throw a `NullPointerException` when it is `null`. 
    
    ## Consequences
    
    * Classes are forced to have consistent nullability annotations.
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 05 12:39:41 GMT 2026
    - 4K bytes
    - Click Count (0)
  8. build-logic-commons/code-quality-rules/src/main/resources/checkstyle/checkstyle.xml

            <module name="UnusedImports"/>
            <module name="IllegalImport">
                <!--
                    We shouldn't use jdk.internal types.
    
                    com.beust and org.testng.collections has classes that look like Guava.
                -->
                <property name="illegalPkgs" value="jdk.internal,com.beust,org.testng.collections"/>
                <!--
                    We prefer org.jspecify for nullability annotations.
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Dec 11 10:24:25 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java

    import static java.util.Objects.requireNonNull;
    import static org.apache.maven.cling.invoker.CliUtils.createInterpolator;
    import static org.apache.maven.cling.invoker.CliUtils.toMap;
    
    public class CommonsCliOptions implements Options {
        public static CommonsCliOptions parse(String source, String[] args) throws ParseException {
            CLIManager cliManager = new CLIManager();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Oct 08 07:36:42 GMT 2025
    - 21.3K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt

    import okio.IOException
    import okio.Path
    import okio.Path.Companion.toPath
    import okio.fakefilesystem.FakeFileSystem
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    @Burst
    class InterceptorOverridesTest {
      @RegisterExtension
      val platform = PlatformRule()
    
      @StartStop
      private val server = MockWebServer()
    
      // Can't use test instance with overrides
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 11 02:37:00 GMT 2026
    - 28.8K bytes
    - Click Count (0)
Back to Top