Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for protocolType (0.04 sec)

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

        @UriType(protocolType = ProtocolType.FILE)
        private String testFieldFile;
    
        // Test field with custom message
        @UriType(protocolType = ProtocolType.WEB, message = "Custom URI validation error")
        private String testFieldWithMessage;
    
        // Test field with groups
        @UriType(protocolType = ProtocolType.WEB, groups = { TestGroup.class })
        private String testFieldWithGroups;
    
        // Test field with payload
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 21K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/fileconfig/CreateForm.java

        @Size(max = 1000)
        public String description;
    
        /** The file paths to crawl (required, must be valid file URIs). */
        @Required
        @UriType(protocolType = ProtocolType.FILE)
        @CustomSize(maxKey = "form.admin.max.input.size")
        public String paths;
    
        /** The paths to include during crawling (pattern-based). */
        @CustomSize(maxKey = "form.admin.max.input.size")
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/validation/UriType.java

    @Documented
    @Constraint(validatedBy = UriTypeValidator.class)
    public @interface UriType {
    
        /**
         * Specifies the protocol type to validate against.
         *
         * @return the protocol type
         */
        ProtocolType protocolType();
    
        /**
         * The validation error message.
         *
         * @return the error message
         */
        String message() default "{org.lastaflute.validator.constraints.UriType.message}";
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/webconfig/CreateForm.java

         */
        @Size(max = 1000)
        public String description;
    
        /**
         * The URLs to be crawled by this web configuration.
         */
        @Required
        @UriType(protocolType = ProtocolType.WEB)
        @CustomSize(maxKey = "form.admin.max.input.size")
        public String urls;
    
        /**
         * URL patterns to include during crawling.
         */
        @CustomSize(maxKey = "form.admin.max.input.size")
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/validation/UriTypeValidator.java

        @Override
        public void initialize(final UriType uriType) {
            protocols = switch (uriType.protocolType()) {
            case WEB -> ComponentUtil.getProtocolHelper().getWebProtocols();
            case FILE -> ComponentUtil.getProtocolHelper().getFileProtocols();
            default -> throw new ConstraintDefinitionException("protocolType is emtpy.");
            };
        }
    
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

                    final Field protocolTypeField = ClassUtil.getDeclaredField(handlerClazz, "PROTOCOL_TYPE");
                    if (protocolTypeField.get(null) instanceof final String protocolType) {
                        if ("web".equalsIgnoreCase(protocolType)) {
                            addWebProtocol(protocol);
                        } else if ("file".equalsIgnoreCase(protocolType)) {
                            addFileProtocol(protocol);
                        } else {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/test/net/protocol/xxx2/Handler.java

    import java.io.IOException;
    import java.net.URL;
    import java.net.URLConnection;
    import java.net.URLStreamHandler;
    
    public class Handler extends URLStreamHandler {
    
        public static final String PROTOCOL_TYPE = "file";
    
        @Override
        protected URLConnection openConnection(URL u) throws IOException {
            return null;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 1007 bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/test/net/protocol/xxx1/Handler.java

    import java.io.IOException;
    import java.net.URL;
    import java.net.URLConnection;
    import java.net.URLStreamHandler;
    
    public class Handler extends URLStreamHandler {
    
        public static final String PROTOCOL_TYPE = "web";
    
        @Override
        protected URLConnection openConnection(URL u) throws IOException {
            return null;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 1006 bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/test/net/protocol/xxx3/Handler.java

    import java.io.IOException;
    import java.net.URL;
    import java.net.URLConnection;
    import java.net.URLStreamHandler;
    
    public class Handler extends URLStreamHandler {
    
        public static final String PROTOCOL_TYPE = "test";
    
        @Override
        protected URLConnection openConnection(URL u) throws IOException {
            return null;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 1007 bytes
    - Viewed (0)
Back to top