- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for user_agent (0.03 sec)
-
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 Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 5.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java
* * @param userAgent The user agent string to look up in the directives * @return The Directive object matching the user agent, or null if no matching directive is found or if userAgent is null */ public Directive getDirective(final String userAgent) { if (userAgent == null) { return null; }Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 10K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java
} final String userAgent = value.toLowerCase(Locale.ENGLISH); Directive currentDirective = robotsTxt.getDirective(userAgent); if (currentDirective == null) { currentDirective = new Directive(userAgent); robotsTxt.addDirective(currentDirective);Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 7.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractor.java
this.authSchemeProviderMap = authSchemeProviderMap; } /** * Sets the user agent string. * @param userAgent The user agent string. */ public void setUserAgent(final String userAgent) { this.userAgent = userAgent; } /** * Sets the credentials provider. * @param credentialsProvider The credentials provider. */Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 12.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java
} } // user agent userAgent = getInitParameter(USER_AGENT_PROPERTY, userAgent, String.class); if (StringUtil.isNotBlank(userAgent)) { httpClientBuilder.setUserAgent(userAgent); } final HttpRoutePlanner planner = buildRoutePlanner(); if (planner != null) {Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 52.2K bytes - Viewed (0)