Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1041 - 1050 of 9,506 for import (0.1 sec)

  1. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/DefaultSettingsReader.java

     */
    package org.apache.maven.settings.io;
    
    import javax.inject.Named;
    import javax.inject.Singleton;
    import javax.xml.stream.XMLStreamException;
    
    import java.io.File;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.Reader;
    import java.nio.file.Files;
    import java.util.Map;
    import java.util.Objects;
    
    import org.apache.maven.api.settings.InputSource;
    import org.apache.maven.settings.Settings;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/query/PhraseQueryCommand.java

     */
    package org.codelibs.fess.query;
    
    import static org.codelibs.core.stream.StreamUtil.stream;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.apache.lucene.index.Term;
    import org.apache.lucene.search.PhraseQuery;
    import org.apache.lucene.search.Query;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.entity.QueryContext;
    import org.codelibs.fess.exception.InvalidQueryException;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. fastapi/applications.py

    from starlette.datastructures import State
    from starlette.exceptions import HTTPException
    from starlette.middleware import Middleware
    from starlette.middleware.base import BaseHTTPMiddleware
    from starlette.requests import Request
    from starlette.responses import HTMLResponse, JSONResponse, Response
    from starlette.routing import BaseRoute
    from starlette.types import ASGIApp, Lifespan, Receive, Scope, Send
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 17 04:52:31 UTC 2024
    - 172.2K bytes
    - Viewed (0)
  4. docs/zh/docs/advanced/middleware.md

    因此,有些第三方 ASGI 中间件的文档推荐以如下方式使用中间件:
    
    ```Python
    from unicorn import UnicornMiddleware
    
    app = SomeASGIApp()
    
    new_app = UnicornMiddleware(app, some_config="rainbow")
    ```
    
    但 FastAPI(实际上是 Starlette)提供了一种更简单的方式,能让内部中间件在处理服务器错误的同时,还能让自定义异常处理器正常运作。
    
    为此,要使用 `app.add_middleware()` (与 CORS 中的示例一样)。
    
    ```Python
    from fastapi import FastAPI
    from unicorn import UnicornMiddleware
    
    app = FastAPI()
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/ElementTypesAreNonnullByDefault.java

    package com.google.common.collect.testing.google;
    
    import static java.lang.annotation.ElementType.FIELD;
    import static java.lang.annotation.ElementType.METHOD;
    import static java.lang.annotation.ElementType.PARAMETER;
    import static java.lang.annotation.ElementType.TYPE;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    import com.google.common.annotations.GwtCompatible;
    import java.lang.annotation.Retention;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/ElementTypesAreNonnullByDefault.java

    package com.google.common.collect.testing.testers;
    
    import static java.lang.annotation.ElementType.FIELD;
    import static java.lang.annotation.ElementType.METHOD;
    import static java.lang.annotation.ElementType.PARAMETER;
    import static java.lang.annotation.ElementType.TYPE;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    import com.google.common.annotations.GwtCompatible;
    import java.lang.annotation.Retention;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/math/ElementTypesAreNonnullByDefault.java

     */
    
    package com.google.common.math;
    
    import static java.lang.annotation.ElementType.FIELD;
    import static java.lang.annotation.ElementType.METHOD;
    import static java.lang.annotation.ElementType.PARAMETER;
    import static java.lang.annotation.ElementType.TYPE;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    import com.google.common.annotations.GwtCompatible;
    import java.lang.annotation.Retention;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 17 15:44:29 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImpl.java

    package org.codelibs.fess.crawler.helper.impl;
    
    import java.io.BufferedInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.HashMap;
    import java.util.Map;
    
    import org.apache.tika.metadata.Metadata;
    import org.apache.tika.mime.MediaType;
    import org.apache.tika.mime.MimeTypes;
    import org.apache.tika.mime.MimeTypesFactory;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.crawler.entity.ExtractData;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/artifact/transform/TransformationManagerTest.java

     */
    package org.apache.maven.artifact.transform;
    
    import javax.inject.Inject;
    
    import java.util.List;
    
    import org.apache.maven.repository.legacy.resolver.transform.ArtifactTransformation;
    import org.apache.maven.repository.legacy.resolver.transform.ArtifactTransformationManager;
    import org.apache.maven.repository.legacy.resolver.transform.LatestArtifactTransformation;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/spnego/NegTokenTarg.java

     */
    
    package jcifs.spnego;
    
    
    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    import java.util.Enumeration;
    
    import org.bouncycastle.asn1.ASN1EncodableVector;
    import org.bouncycastle.asn1.ASN1Encoding;
    import org.bouncycastle.asn1.ASN1Enumerated;
    import org.bouncycastle.asn1.ASN1InputStream;
    import org.bouncycastle.asn1.ASN1ObjectIdentifier;
    import org.bouncycastle.asn1.ASN1OctetString;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Jan 04 04:18:31 UTC 2021
    - 5.4K bytes
    - Viewed (0)
Back to top