Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for getProtocolHelper (0.07 sec)

  1. 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 empty or invalid: " + uriType.protocolType());
            };
        }
    
        @Override
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Nov 23 12:34:02 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/go/GoAction.java

         *
         * @param url the URL to check
         * @return true if the URL is a file system path, false otherwise
         */
        protected boolean isFileSystemPath(final String url) {
            return ComponentUtil.getProtocolHelper().isFileSystemPath(url);
        }
    
        /**
         * Validates if the URL is safe for redirection.
         *
         * @param url the URL to validate
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

                }
    
                idx = u.lastIndexOf('#');
                if (idx >= 0) {
                    u = u.substring(0, idx);
                }
            }
            if (!ComponentUtil.getProtocolHelper().shouldSkipUrlDecode(u)) {
                u = decodeUrlAsName(u, u.startsWith("file:"));
            }
            idx = u.lastIndexOf('/');
            if (idx >= 0) {
                if (u.length() > idx + 1) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardAction.java

         * @param path the original path to convert
         * @return the converted path with appropriate protocol prefix
         */
        protected String convertCrawlingPath(final String path) {
            if (ComponentUtil.getProtocolHelper().hasKnownProtocol(path)) {
                return path;
            }
    
            if (path.startsWith("www.")) {
                return "http://" + path;
            }
    
            if (path.startsWith("//")) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

                    final List<String> roleTypeList = new ArrayList<>();
                    stream(crawlingConfig.getPermissions()).of(stream -> stream.forEach(p -> roleTypeList.add(p)));
                    if (ComponentUtil.getProtocolHelper().isFilePathProtocol(url)) {
                        if (url.endsWith("/")) {
                            // directory
                            return true;
                        }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
            ComponentUtil.getFessConfig();
            final ProtocolHelper protocolHelper = ComponentUtil.getProtocolHelper();
    
            final long startTime = systemHelper.getCurrentTimeAsLong();
    
            final List<String> sessionIdList = new ArrayList<>();
            crawlerList.clear();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 25K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/util/ComponentUtil.java

            return getComponent(RANK_FUSION_PROCESSOR);
        }
    
        /**
         * Gets the protocol helper component.
         * @return The protocol helper.
         */
        public static ProtocolHelper getProtocolHelper() {
            return getComponent(PROTOCOL_HELPER);
        }
    
        /**
         * Gets a component by its class type.
         * @param <T> The type of the component.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 28.9K bytes
    - Viewed (0)
Back to top