Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 855 for 400 (0.01 sec)

  1. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/validation/DefaultSettingsValidator.java

    import org.apache.maven.settings.building.SettingsProblem.Severity;
    import org.apache.maven.settings.building.SettingsProblemCollector;
    
    /**
     * @deprecated since 4.0.0, use {@link org.apache.maven.internal.impl.DefaultSettingsValidator} instead
     */
    @Named
    @Singleton
    @Deprecated(since = "4.0.0")
    public class DefaultSettingsValidator implements SettingsValidator {
    
        private static final String ID = "[\\w.-]+";
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/ToolchainsBuildingException.java

    import java.io.StringWriter;
    import java.util.ArrayList;
    import java.util.List;
    
    import org.apache.maven.building.Problem;
    
    /**
     * @since 3.3.0
     * @deprecated since 4.0.0, use {@link org.apache.maven.api.services.ToolchainsBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public class ToolchainsBuildingException extends Exception {
    
        private final List<Problem> problems;
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/ToolchainsBuildingRequest.java

    import org.apache.maven.building.Source;
    
    /**
     * Collects toolchains that control the building of effective toolchains.
     *
     * @since 3.3.0
     * @deprecated since 4.0.0, use {@link org.apache.maven.api.services.ToolchainsBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public interface ToolchainsBuildingRequest {
    
        /**
         * Gets the global toolchains source.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelSource.java

     * will be used to find POMs for subprojects.
     *
     * @since 4.0.0
     */
    public interface ModelSource extends Source {
    
        interface ModelLocator {
            /**
             * Returns the file containing the pom or null if a pom can not be
             * found at the given file or in the given directory.
             *
             * @since 4.0.0
             */
            @Nullable
            Path locateExistingPom(@Nonnull Path project);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Aug 29 18:21:40 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecryptionResult.java

    import org.apache.maven.settings.Server;
    import org.apache.maven.settings.building.SettingsProblem;
    
    /**
     * Collects the output of the settings decrypter.
     *
     * @deprecated since 4.0.0
     */
    @Deprecated(since = "4.0.0")
    class DefaultSettingsDecryptionResult implements SettingsDecryptionResult {
    
        private List<Server> servers;
    
        private List<Proxy> proxies;
    
        private List<SettingsProblem> problems;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionSchemeProvider.java

    import org.eclipse.aether.version.VersionScheme;
    
    /**
     * Default version scheme provider: provides singleton {@link GenericVersionScheme} instance.
     *
     * @deprecated since 4.0.0, use {@code maven-api-impl} jar instead
     */
    @Singleton
    @Named
    @Deprecated(since = "4.0.0")
    public final class DefaultVersionSchemeProvider implements Provider<VersionScheme> {
        private final GenericVersionScheme genericVersionScheme;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. docs_src/app_testing/app_b_an/test_main.py

            "title": "Foo",
            "description": "There goes my hero",
        }
    
    
    def test_read_item_bad_token():
        response = client.get("/items/foo", headers={"X-Token": "hailhydra"})
        assert response.status_code == 400
        assert response.json() == {"detail": "Invalid X-Token header"}
    
    
    def test_read_nonexistent_item():
        response = client.get("/items/baz", headers={"X-Token": "coneofsilence"})
        assert response.status_code == 404
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Aug 15 22:31:16 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. docs_src/app_testing/app_b_an_py310/test_main.py

            "title": "Foo",
            "description": "There goes my hero",
        }
    
    
    def test_read_item_bad_token():
        response = client.get("/items/foo", headers={"X-Token": "hailhydra"})
        assert response.status_code == 400
        assert response.json() == {"detail": "Invalid X-Token header"}
    
    
    def test_read_nonexistent_item():
        response = client.get("/items/baz", headers={"X-Token": "coneofsilence"})
        assert response.status_code == 404
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Aug 15 22:31:16 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_bigger_applications/test_main.py

        assert response.status_code == 400
        assert response.json() == {"detail": "X-Token header invalid"}
    
    
    def test_items_bar_with_invalid_token(client: TestClient):
        response = client.get("/items/bar?token=jessica", headers={"X-Token": "invalid"})
        assert response.status_code == 400
        assert response.json() == {"detail": "X-Token header invalid"}
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  10. tests/test_dependency_normal_exceptions.py

    
    @app.put("/invalid-user/{user_id}")
    def put_invalid_user(
        user_id: str, name: str = Body(), db: dict = Depends(get_database)
    ):
        db[user_id] = name
        raise HTTPException(status_code=400, detail="Invalid user")
    
    
    @app.put("/user/{user_id}")
    def put_user(user_id: str, name: str = Body(), db: dict = Depends(get_database)):
        db[user_id] = name
        return {"message": "OK"}
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Feb 24 23:06:37 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top