Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for hasUAMathcer (0.06 seconds)

  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) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 3.3K bytes
    - Click Count (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 -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 9.5K bytes
    - Click Count (0)
Back to Top