Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1331 - 1340 of 2,198 for created (0.06 sec)

  1. guava/src/com/google/common/util/concurrent/Callables.java

    @ElementTypesAreNonnullByDefault
    public final class Callables {
      private Callables() {}
    
      /** Creates a {@code Callable} which immediately returns a preset value each time it is called. */
      public static <T extends @Nullable Object> Callable<T> returning(@ParametricNullness T value) {
        return () -> value;
      }
    
      /**
       * Creates an {@link AsyncCallable} from a {@link Callable}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelData.java

        private String artifactId;
    
        private String version;
    
        /**
         * Creates a new container for the specified model.
         *
         * @param model The model to wrap, may be {@code null}.
         */
        ModelData(Source source, Model model) {
            this.source = source;
            this.model = model;
        }
    
        /**
         * Creates a new container for the specified model.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. docs_src/response_change_status_code/tutorial001.py

    from fastapi import FastAPI, Response, status
    
    app = FastAPI()
    
    tasks = {"foo": "Listen to the Bar Fighters"}
    
    
    @app.put("/get-or-create-task/{task_id}", status_code=200)
    def get_or_create_task(task_id: str, response: Response):
        if task_id not in tasks:
            tasks[task_id] = "This didn't exist before"
            response.status_code = status.HTTP_201_CREATED
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 391 bytes
    - Viewed (0)
  4. docs/en/docs/reference/response.md

    # `Response` class
    
    You can declare a parameter in a *path operation function* or dependency to be of type `Response` and then you can set data for the response like headers or cookies.
    
    You can also use it directly to create an instance of it and return it from your *path operations*.
    
    You can import it directly from `fastapi`:
    
    ```python
    from fastapi import Response
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 397 bytes
    - Viewed (0)
  5. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/ClientAndServer.java

    import okhttp3.OkHttpClient;
    import okhttp3.Protocol;
    import okhttp3.Request;
    import okhttp3.Response;
    import okhttp3.mockwebserver.MockResponse;
    import okhttp3.mockwebserver.MockWebServer;
    
    /**
     * Create UNIX domain sockets for MockWebServer and OkHttp and connect 'em together. Note that we
     * cannot do TLS over domain sockets.
     */
    public class ClientAndServer {
      public void run() throws Exception {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Dec 24 03:46:30 UTC 2018
    - 2.1K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/RepositoryFactory.java

    import org.apache.maven.api.Session;
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.model.Repository;
    
    /**
     * Factory service to create {@link LocalRepository} or {@link RemoteRepository} objects.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface RepositoryFactory extends Service {
    
        @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu May 02 15:10:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_body_nested_models/test_tutorial009_py39.py

                                        }
                                    }
                                },
                            },
                        },
                        "summary": "Create Index Weights",
                        "operationId": "create_index_weights_index_weights__post",
                        "requestBody": {
                            "content": {
                                "application/json": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. dbflute_fess/dfprop/commonColumnMap.dfprop

    # commonColumnMap: (Default map:{})
    #
    # The definition of common column(contains auto set-up).
    # For example, the date you registered the record,
    # the user who updated the record and so on...
    # The column names are treated as case insensitive.
    #
    # The variable '$$AccessContext$$' means allcommon.AccessContext.
    #
    # Example:
    # map:{
    #     ; commonColumnMap = map:{
    #         ; REGISTER_DATETIME=TIMESTAMP ; REGISTER_USER=VARCHAR
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Jul 04 22:46:31 UTC 2015
    - 1.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/io/TraversalUtil.java

            addTraverserFactory("zip", (url, rootPackage,
                    rootDir) -> new JarFileTraverser(JarFileUtil.create(new File(ZipFileUtil.toZipFilePath(url))), rootPackage, rootDir));
            addTraverserFactory("code-source",
                    (url, rootPackage, rootDir) -> new JarFileTraverser(URLUtil.create("jar:file:" + url.getPath()), rootPackage, rootDir));
            addTraverserFactory("vfszip", VfsZipTraverser::new);
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/QueueTestSuiteBuilder.java

    import com.google.common.collect.testing.testers.QueueRemoveTester;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.ArrayList;
    import java.util.List;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a queue
     * implementation.
     *
     * @author Jared Levy
     */
    @GwtIncompatible
    public final class QueueTestSuiteBuilder<E>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top