Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 121 for userAgent (0.05 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. 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)
  4. src/main/java/org/codelibs/fess/helper/UserAgentHelper.java

                if (uaType == null) {
                    final String userAgent = request.getHeader(USER_AGENT);
                    if (userAgent != null) {
                        if (userAgent.indexOf("MSIE") >= 0 || userAgent.indexOf("Trident") >= 0) {
                            uaType = UserAgentType.IE;
                        } else if (userAgent.indexOf("Firefox") >= 0) {
                            uaType = UserAgentType.FIREFOX;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  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. internal/logger/target/console/console.go

    		remoteHost = "\nRemoteHost: " + entry.RemoteHost
    	}
    
    	var host string
    	if entry.Host != "" {
    		host = "\nHost: " + entry.Host
    	}
    
    	var userAgent string
    	if entry.UserAgent != "" {
    		userAgent = "\nUserAgent: " + entry.UserAgent
    	}
    
    	if len(entry.Trace.Variables) > 0 {
    		tagString = "\n       " + tagString
    	}
    
    	msg := color.RedBold(entry.Trace.Message)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top