Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/main/java/org/codelibs/fess/es/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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top