Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for validatedBy (0.05 sec)

  1. src/test/java/org/codelibs/fess/validation/CronExpressionTest.java

            jakarta.validation.Constraint constraint = CronExpression.class.getAnnotation(jakarta.validation.Constraint.class);
            assertNotNull(constraint);
            Class<?>[] validators = constraint.validatedBy();
            assertEquals(1, validators.length);
            assertEquals(CronExpressionValidator.class, validators[0]);
        }
    
        // Test validation with valid cron expressions
        public void test_validCronExpressions() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/validation/UriTypeTest.java

            assertNotNull("Constraint annotation should be present", constraint);
            assertEquals("Validator class should be UriTypeValidator", UriTypeValidator.class, constraint.validatedBy()[0]);
            assertEquals("Should have exactly one validator", 1, constraint.validatedBy().length);
        }
    
        // Test default values
        public void test_defaultValues() throws Exception {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 21K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/validation/CustomSizeTest.java

            assertNotNull("Constraint annotation should be present", constraint);
            assertEquals("Validator class should be CustomSizeValidator", CustomSizeValidator.class, constraint.validatedBy()[0]);
        }
    
        // Test default values
        public void test_defaultValues() throws Exception {
            final Field field = CustomSizeTest.class.getDeclaredField("testField");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/using-request-directly.md

    It would also mean that if you get data from the `Request` object directly (for example, read the body) it won't be validated, converted or documented (with OpenAPI, for the automatic API user interface) by FastAPI.
    
    Although any other parameter declared normally (for example, the body with a Pydantic model) would still be validated, converted, annotated, etc.
    
    But there are specific cases where it's useful to get the `Request` object.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/FessApiAdminAction.java

     * This class extends FessApiAction to provide admin-specific functionality
     * including enhanced access control for administrative operations.
     *
     * <p>Admin API actions require special permissions and access tokens
     * that are validated against the admin role configuration.</p>
     */
    public abstract class FessApiAdminAction extends FessApiAction {
    
        /** Logger instance for this class. */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  6. cmd/erasure-metadata-utils.go

    // values of maximally occurring errors validated against readQuorum.
    func reduceReadQuorumErrs(ctx context.Context, errs []error, ignoredErrs []error, readQuorum int) (maxErr error) {
    	return reduceQuorumErrs(ctx, errs, ignoredErrs, readQuorum, errErasureReadQuorum)
    }
    
    // reduceWriteQuorumErrs behaves like reduceErrs but only for returning
    // values of maximally occurring errors validated against writeQuorum.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java

            }
            return redirect(getClass());
        }
    
        /**
         * Reloads the document index by closing and reopening it.
         *
         * @param form the action form (validated but not used for configuration)
         * @return HTML response redirecting to the maintenance page
         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse reloadDocIndex(final ActionForm form) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18K bytes
    - Viewed (0)
  8. docs/en/docs/features.md

    * Validate **complex structures**:
        * Use of hierarchical Pydantic models, Python `typing`’s `List` and `Dict`, etc.
        * And validators allow complex data schemas to be clearly and easily defined, checked and documented as JSON Schema.
        * You can have deeply **nested JSON** objects and have them all validated and annotated.
    * **Extensible**:
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/pac/PacUnicodeString.java

         * Checks that the string length matches the expected length and that
         * null strings have a zero pointer.
         *
         * @param string the string to validate
         * @return the validated string
         * @throws PACDecodingException if validation fails
         */
        public String check(final String string) throws PACDecodingException {
            if (this.pointer == 0 && string != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  10. cmd/bucket-handlers_test.go

    	// sets the bucket policy using the policy statement generated from `getReadOnlyBucketStatement` so that the
    	// unsigned request goes through and its validated again.
    	ExecObjectLayerAPIAnonTest(t, obj, "TestGetBucketLocationHandler", bucketName, "", instanceType, apiRouter, anonReq, getAnonReadOnlyBucketPolicy(bucketName))
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 39.8K bytes
    - Viewed (0)
Back to top