Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for hasUAMathcer (0.75 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) {
    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

         *
         * @param pathMapping the path mapping
         * @return true if the user agent matches
         */
        protected boolean matchUserAgent(final PathMapping pathMapping) {
            if (!pathMapping.hasUAMathcer()) {
                return true;
            }
    
            if (SingletonLaContainerFactory.getExternalContext().getRequest() != null) {
                return LaRequestUtil.getOptionalRequest().map(request -> {
    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