Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 92 for UserAgent (0.07 sec)

  1. src/main/java/org/codelibs/fess/es/config/bsentity/BsPathMapping.java

            this.updatedTime = value;
        }
    
        public String getUserAgent() {
            checkSpecifiedProperty("userAgent");
            return convertEmptyToNull(userAgent);
        }
    
        public void setUserAgent(String value) {
            registerModifiedProperty("userAgent");
            this.userAgent = value;
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java

        public boolean allows(final String path, final String userAgent) {
            final Directive directive = getMatchedDirective(userAgent);
            if (directive == null) {
                return true;
            }
            return directive.allows(path);
        }
    
        public int getCrawlDelay(final String userAgent) {
            final Directive directive = getMatchedDirective(userAgent);
            if (directive == null) {
                return 0;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java

                assertFalse(robotsTxt.allows("/private/index.html", userAgent));
                assertFalse(robotsTxt.allows("/help/", userAgent));
                assertFalse(robotsTxt.allows("/help.html", userAgent));
                assertFalse(robotsTxt.allows("/help/faq.html", userAgent));
                assertTrue(robotsTxt.allows("/foo/bar/", userAgent));
                assertTrue(robotsTxt.allows("/foo/bar/index.html", userAgent));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/log/bsentity/BsSearchLog.java

            this.user = value;
        }
    
        public String getUserAgent() {
            checkSpecifiedProperty("userAgent");
            return convertEmptyToNull(userAgent);
        }
    
        public void setUserAgent(String value) {
            registerModifiedProperty("userAgent");
            this.userAgent = value;
        }
    
        public String getUserInfoId() {
            checkSpecifiedProperty("userInfoId");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsPathMappingCQ.java

        }
    
        public void setUserAgent_Equal(String userAgent) {
            setUserAgent_Term(userAgent, null);
        }
    
        public void setUserAgent_Equal(String userAgent, ConditionOptionCall<TermQueryBuilder> opLambda) {
            setUserAgent_Term(userAgent, opLambda);
        }
    
        public void setUserAgent_Term(String userAgent) {
            setUserAgent_Term(userAgent, null);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 72.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/config/bsentity/BsWebConfig.java

            this.urls = value;
        }
    
        public String getUserAgent() {
            checkSpecifiedProperty("userAgent");
            return convertEmptyToNull(userAgent);
        }
    
        public void setUserAgent(String value) {
            registerModifiedProperty("userAgent");
            this.userAgent = value;
        }
    
        public String[] getVirtualHosts() {
            checkSpecifiedProperty("virtualHosts");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/exentity/WebConfig.java

            }
    
            final String userAgent = getUserAgent();
            if (!StringUtil.isNotBlank(userAgent) || (userAgent.startsWith(Constants.CRAWLING_USER_AGENT_PREFIX)
                    && userAgent.endsWith(Constants.CRAWLING_USER_AGENT_SUFFIX))) {
                paramMap.put(Client.USER_AGENT, fessConfig.getUserAgentName());
            } else {
                paramMap.put(Client.USER_AGENT, userAgent);
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/UserAgentHelper.java

                            uaType = UserAgentType.IE;
                        } else if (userAgent.indexOf("Firefox") >= 0) {
                            uaType = UserAgentType.FIREFOX;
                        } else if (userAgent.indexOf("Chrome") >= 0) {
                            uaType = UserAgentType.CHROME;
                        } else if (userAgent.indexOf("Safari") >= 0) {
                            uaType = UserAgentType.SAFARI;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/es/config/exentity/WebConfigTest.java

            final SetOnce<Map<String, Object>> initParamMapSet = new SetOnce<>();
            WebConfig webConfig = new WebConfig();
            final String userAgent = "TestAgent";
            webConfig.setUserAgent(userAgent);
            webConfig.setConfigParameter("""
                    client.robotsTxtEnabled=false
                    """);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu May 09 09:48:04 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractor.java

            this.authSchemeProviderMap = authSchemeProviderMap;
        }
    
        public void setUserAgent(final String userAgent) {
            this.userAgent = userAgent;
        }
    
        public void setCredentialsProvider(final CredentialsProvider credentialsProvider) {
            this.credentialsProvider = credentialsProvider;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top