Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 100 for Agent (0.02 sec)

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

     *   <li>Manages crawl delay settings per user agent</li>
     *   <li>Stores sitemap URLs listed in robots.txt</li>
     * </ul>
     *
     * <p>The class uses case-insensitive pattern matching for user agents and supports
     * wildcard characters (*) in user agent strings. When multiple directives match a user agent,
     * the most specific (longest) match is used.</p>
     *
     */
    public class RobotsTxt {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/HeadersTest.kt

      @Test fun ofMapAcceptsEmptyValue() {
        val headers = mapOf("User-Agent" to "").toHeaders()
        assertThat(headers.value(0)).isEqualTo("")
      }
    
      @Test fun ofMapTrimsKey() {
        val headers = mapOf(" User-Agent " to "OkHttp").toHeaders()
        assertThat(headers.name(0)).isEqualTo("User-Agent")
      }
    
      @Test fun ofMapTrimsValue() {
        val headers = mapOf("User-Agent" to " OkHttp ").toHeaders()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/UserAgentHelper.java

        }
    
        /** The HTTP header name for User-Agent */
        protected static final String USER_AGENT = "user-agent";
    
        /** The request attribute key for storing cached user agent type */
        protected static final String USER_AGENT_TYPE = "ViewHelper.UserAgent";
    
        /**
         * Determines the user agent type from the current HTTP request.
         * The method analyzes the User-Agent header to categorize the browser type
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/UserAgentHelperTest.java

        }
    
        public void test_getUserAgentType_IE9() {
            getMockRequest().addHeader("user-agent", "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.0; Trident/5.0)");
            assertEquals(UserAgentType.IE, userAgentHelper.getUserAgentType());
        }
    
        public void test_getUserAgentType_IE10() {
            getMockRequest().addHeader("user-agent", "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0)");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/common/CommonExtensions.kt

    }
    
    fun Requirements.requiresNotEc2Agent() {
        doesNotContain("teamcity.agent.name", "ec2")
        // US region agents have name "EC2-XXX"
        doesNotContain("teamcity.agent.name", "EC2")
    }
    
    /**
     * We have some "shared" host where a Linux build agent and a Windows build agent
     * both run on the same bare metal. Some builds require exclusive access to the
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Wed Sep 10 01:37:13 UTC 2025
    - 15K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/HeadersJvmTest.kt

        assertFailsWith<NullPointerException> {
          (mapOf("User-Agent" to null) as Map<String, String>).toHeaders()
        }
      }
    
      @Test fun toMultimapGroupsHeaders() {
        val headers =
          Headers.headersOf(
            "cache-control",
            "no-cache",
            "cache-control",
            "no-store",
            "user-agent",
            "OkHttp",
          )
        val headerMap = headers.toMultimap()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/configurations/CheckTeamCityKotlinDSL.kt

                params {
                    // Disable jdk-provider-plugin, otherwise the JAVA_HOME will be overwritten
                    // https://github.com/gradle/teamcity-jdk-provider-plugin/blob/main/teamcity-jdk-provider-plugin-agent/src/main/kotlin/org/gradle/teamcity_jdk_provider_plugin/JdkProviderAgentLifecycleListener.kt#L22
                    param("JdkProviderEnabled", "false")
                    // should be the same version we run TeamCity with
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Thu Jul 31 01:53:09 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  8. 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.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/PathMappingHelper.java

                logger.debug("replace: {} -> {}", url, newUrl);
            }
            return newUrl;
        }
    
        /**
         * Checks if the user agent matches the path mapping.
         *
         * @param pathMapping the path mapping
         * @return true if the user agent matches
         */
        protected boolean matchUserAgent(final PathMapping pathMapping) {
            if (!pathMapping.hasUAMathcer()) {
                return true;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt

    class RequestCommonTest {
      @Test
      fun constructorNormal() {
        val url = "https://example.com/".toHttpUrl()
        val body = "hello".toRequestBody()
        val headers = headersOf("User-Agent", "RequestTest")
        val method = "PUT"
        val request =
          Request(
            url = url,
            headers = headers,
            method = method,
            body = body,
          )
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.8K bytes
    - Viewed (0)
Back to top