Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 7 of 7 for protocolType (0.05 seconds)

  1. 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}";
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/validation/UriTypeValidator.java

        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 empty or invalid: " + uriType.protocolType());
            };
        }
    
        @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Nov 23 12:34:02 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  3. 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")
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.6K bytes
    - Click Count (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")
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  5. 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;
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 1007 bytes
    - Click Count (0)
  6. 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;
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 1006 bytes
    - Click Count (0)
  7. 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;
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 1007 bytes
    - Click Count (0)
Back to Top