Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getUAMatcher (0.13 sec)

  1. src/main/java/org/codelibs/fess/opensearch/config/exentity/PathMapping.java

                }
            }
            return input;
        }
    
        public boolean hasUAMathcer() {
            return StringUtil.isNotBlank(getUserAgent());
        }
    
        public Matcher getUAMatcher(final CharSequence input) {
            if (!hasUAMathcer()) {
                return null;
            }
    
            if (userAgentPattern == null) {
                userAgentPattern = Pattern.compile(getUserAgent());
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/PathMappingHelper.java

                    final String userAgent = request.getHeader("user-agent");
                    if (StringUtil.isBlank(userAgent)) {
                        return false;
                    }
    
                    return pathMapping.getUAMatcher(userAgent).find();
                }).orElse(false);
            }
            return false;
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.5K bytes
    - Viewed (0)
Back to top