Search Options

Results per page
Sort
Preferred Languages
Advance

Results 601 - 610 of 864 for Property (0.35 sec)

  1. docs/en/docs/advanced/middleware.md

    new_app = UnicornMiddleware(app, some_config="rainbow")
    ```
    
    But FastAPI (actually Starlette) provides a simpler way to do it that makes sure that the internal middlewares handle server errors and custom exception handlers work properly.
    
    For that, you use `app.add_middleware()` (as in the example for CORS).
    
    ```Python
    from fastapi import FastAPI
    from unicorn import UnicornMiddleware
    
    app = FastAPI()
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/PathValidatorTest.java

        }
    
        @Test
        public void testUncPathNotAllowed() throws Exception {
            PathValidator noUncValidator = new PathValidator(260, 255, false, false);
            // Due to normalization bug, UNC paths are not properly detected
            // The normalization removes all duplicate backslashes, so \\\\server becomes \server
            // This test validates that paths which should be UNC but aren't detected due to normalization
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java

            }
        }
    
        @Nested
        @DisplayName("Inheritance verification")
        class InheritanceVerification {
    
            @Test
            @DisplayName("should properly extend base classes")
            void testInheritance() {
                // Arrange
                SamrPolicyHandle ph = createMockPolicyHandle();
    
                // Act
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CheckTest.java

                // This test verifies that Check inherits the model version logic from AbstractUpgradeGoal
                // The actual logic is tested in AbstractUpgradeGoalTest
                // Here we just verify that Check is properly configured as a subclass
                assertTrue(checkGoal instanceof AbstractUpgradeGoal, "Check should extend AbstractUpgradeGoal");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Jun 07 06:22:47 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactory.java

    import jakarta.annotation.PostConstruct;
    import jakarta.annotation.Resource;
    
    /**
     * A factory class for managing and creating crawler clients based on URL patterns.
     * This class implements AutoCloseable to properly handle resource cleanup.
     *
     * <p>The factory maintains a map of regular expression patterns to crawler clients,
     * allowing for URL-based client selection. Clients can be added with specific patterns
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbExceptionTest.java

                SmbException exception = new SmbException((String) null);
                assertNotNull(exception);
            });
        }
    
        @Test
        @DisplayName("Should convert to string properly")
        void testToString() {
            // Given
            String message = "Test error message";
            SmbException exception = new SmbException(message);
    
            // When
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  7. cmd/storage-interface.go

    	// Storage operations.
    
    	// Returns true if disk is online and its valid i.e valid format.json.
    	// This has nothing to do with if the drive is hung or not responding.
    	// For that individual storage API calls will fail properly. The purpose
    	// of this function is to know if the "drive" has "format.json" or not
    	// if it has a "format.json" then is it correct "format.json" or not.
    	IsOnline() bool
    
    	// Returns the last time this disk (re)-connected
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Apr 25 05:41:04 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/ProtoSession.java

         * (prefixed with {@code env.}).
         *
         * @return the system properties, never {@code null}
         */
        @Nonnull
        Map<String, String> getSystemProperties();
    
        /**
         * Returns the properly overlaid map of properties: system + user.
         */
        @Nonnull
        Map<String, String> getEffectiveProperties();
    
        /**
         * Returns the start time of the session.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jul 03 14:18:26 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

            Thread.sleep(100);
            assertFalse(auth.isExpired());
        }
    
        /**
         * Test close() method
         */
        @Test
        @DisplayName("Test close() method properly wipes sensitive data")
        public void testCloseMethod() {
            NtlmPasswordAuthenticator auth = new NtlmPasswordAuthenticator("DOMAIN", "user", "CloseTestPass123!");
    
            assertFalse(auth.isClosed());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  10. cmd/auth-handler_test.go

    		// When request is properly signed, but has bad Content-MD5 header.
    		{mustNewSignedBadMD5Request(http.MethodPut, "http://127.0.0.1:9000/", 5, bytes.NewReader([]byte("hello")), t), ErrBadDigest},
    		// When request is properly signed, error is none.
    		{mustNewSignedRequest(http.MethodGet, "http://127.0.0.1:9000", 0, nil, t), ErrNone},
    	}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 15.4K bytes
    - Viewed (0)
Back to top