Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for getProtocolHelper (0.11 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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 the chat session manager component.
         * @return The chat session manager.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 30.9K bytes
    - Click Count (0)
  2. 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
    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/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
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 11 09:47:03 GMT 2025
    - 9K bytes
    - Click Count (0)
  4. 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) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 11 09:47:03 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  5. 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("//")) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 10 02:14:37 GMT 2026
    - 16.4K bytes
    - Click Count (0)
  6. 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;
                        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 11 09:47:03 GMT 2025
    - 19.5K bytes
    - Click Count (0)
Back to Top