Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for getUserAgent (0.07 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java

            for (final Directive directive : directiveMap.values()) {
                if (userAgent.equals(directive.getUserAgent())) {
                    return directive;
                }
            }
            return null;
        }
    
        public void addDirective(final Directive directive) {
            directiveMap.put(Pattern.compile(directive.getUserAgent().replace("*", ".*"), Pattern.CASE_INSENSITIVE), directive);
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/config/exentity/PathMapping.java

        }
    
        public boolean hasUAMathcer() {
            return StringUtil.isNotBlank(getUserAgent());
        }
    
        public Matcher getUAMatcher(final CharSequence input) {
            if (!hasUAMathcer()) {
                return null;
            }
    
            if (userAgentPattern == null) {
                userAgentPattern = Pattern.compile(getUserAgent());
            }
            return userAgentPattern.matcher(input);
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. cmd/update.go

    //
    // Any change here should be discussed by opening an issue at
    // https://github.com/minio/minio/issues.
    func getUserAgent(mode string) string {
    	userAgentParts := []string{}
    	// Helper function to concisely append a pair of strings to a
    	// the user-agent slice.
    	uaAppend := func(p, q string) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/bsentity/BsPathMapping.java

            return updatedTime;
        }
    
        public void setUpdatedTime(Long value) {
            registerModifiedProperty("updatedTime");
            this.updatedTime = value;
        }
    
        public String getUserAgent() {
            checkSpecifiedProperty("userAgent");
            return convertEmptyToNull(userAgent);
        }
    
        public void setUserAgent(String value) {
            registerModifiedProperty("userAgent");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

            // configProps map is kept "pristine", is written ONLY, the mandatory resolver config
            Map<String, Object> configProps = new LinkedHashMap<>();
            configProps.put(ConfigurationProperties.USER_AGENT, getUserAgent());
            configProps.put(ConfigurationProperties.INTERACTIVE, request.isInteractiveMode());
            configProps.put("maven.startTime", request.getStartTime());
    
            sessionBuilder.setOffline(request.isOffline());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/log/bsentity/BsSearchLog.java

            return convertEmptyToNull(user);
        }
    
        public void setUser(String value) {
            registerModifiedProperty("user");
            this.user = value;
        }
    
        public String getUserAgent() {
            checkSpecifiedProperty("userAgent");
            return convertEmptyToNull(userAgent);
        }
    
        public void setUserAgent(String value) {
            registerModifiedProperty("userAgent");
    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/bsentity/BsWebConfig.java

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

            if (paramMap.get(Param.Client.ROBOTS_TXT_ENABLED) == null) {
                paramMap.put(Param.Client.ROBOTS_TXT_ENABLED, !fessConfig.isCrawlerIgnoreRobotsTxt());
            }
    
            final String userAgent = getUserAgent();
            if (!StringUtil.isNotBlank(userAgent) || (userAgent.startsWith(Constants.CRAWLING_USER_AGENT_PREFIX)
                    && userAgent.endsWith(Constants.CRAWLING_USER_AGENT_SUFFIX))) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/PathMappingDbm.java

            setupEpg(_epgMap, et -> ((PathMapping) et).getUpdatedTime(), (et, vl) -> ((PathMapping) et).setUpdatedTime(DfTypeUtil.toLong(vl)),
                    "updatedTime");
            setupEpg(_epgMap, et -> ((PathMapping) et).getUserAgent(), (et, vl) -> ((PathMapping) et).setUserAgent(DfTypeUtil.toString(vl)),
                    "userAgent");
        }
    
        @Override
        public PropertyGateway findPropertyGateway(final String prop) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  10. cmd/config-current.go

    		loggerCfg, err := logger.LookupConfigForSubSys(ctx, s, config.LoggerWebhookSubSys)
    		if err != nil {
    			configLogIf(ctx, fmt.Errorf("Unable to load logger webhook config: %w", err))
    		}
    		userAgent := getUserAgent(getMinioMode())
    		for n, l := range loggerCfg.HTTP {
    			if l.Enabled {
    				l.LogOnceIf = configLogOnceConsoleIf
    				l.UserAgent = userAgent
    				l.Transport = NewHTTPTransportWithClientCerts(l.ClientCert, l.ClientKey)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
Back to top