Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for maxAge (1.2 sec)

  1. src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java

                @Override
                protected long getCurrentTime() {
                    return System.currentTimeMillis();
                }
            };
            roleQueryHelper.maxAge = 60; // 1 minute
    
            Set<String> roleSet = new HashSet<>();
            // Create timestamp that's 2 minutes old
            long expiredTimestamp = System.currentTimeMillis() / 1000 - 120;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 28.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

        }
    
        /**
         * Sets the maximum age of the role information in seconds.
         * @param maxAge The maximum age of the role information in seconds.
         */
        public void setMaxAge(final long maxAge) {
            this.maxAge = maxAge;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/CookiesTest.kt

        assertThat(cookie.value).isEqualTo("android")
        assertThat(cookie.comment).isNull()
        assertThat(cookie.commentURL).isNull()
        assertThat(cookie.discard).isFalse()
        assertThat(cookie.maxAge).isGreaterThan(100000000000L)
        assertThat(cookie.path).isEqualTo("/path")
        assertThat(cookie.secure).isTrue()
        assertThat(cookie.version).isEqualTo(0)
      }
    
      @Test
      fun testRfc2109Response() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 13K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

     * efficient `max-age=0` directive instead:
     *
     * ```java
     * Request request = new Request.Builder()
     *     .cacheControl(new CacheControl.Builder()
     *         .maxAge(0, TimeUnit.SECONDS)
     *         .build())
     *     .url("http://publicobject.com/helloworld.txt")
     *     .build();
     * ```
     *
     * ## Force a Cache Response
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  5. okhttp/api/jvm/okhttp.api

    	public fun <init> ()V
    	public final fun build ()Lokhttp3/CacheControl;
    	public final fun immutable ()Lokhttp3/CacheControl$Builder;
    	public final fun maxAge (ILjava/util/concurrent/TimeUnit;)Lokhttp3/CacheControl$Builder;
    	public final fun maxAge-LRDsOJo (J)Lokhttp3/CacheControl$Builder;
    	public final fun maxStale (ILjava/util/concurrent/TimeUnit;)Lokhttp3/CacheControl$Builder;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

        }
    
        override fun alternateService(
          streamId: Int,
          origin: String,
          protocol: ByteString,
          host: String,
          port: Int,
          maxAge: Long,
        ) {
          // TODO: register alternate service.
        }
      }
    
      /** Even, positive numbered streams are pushed streams in HTTP/2. */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

      }
    
      @Test
      fun cacheControlBuilder() {
        var builder: CacheControl.Builder = CacheControl.Builder()
        builder = builder.noCache()
        builder = builder.noStore()
        builder = builder.maxAge(0, TimeUnit.MILLISECONDS)
        builder = builder.maxStale(0, TimeUnit.MILLISECONDS)
        builder = builder.minFresh(0, TimeUnit.MILLISECONDS)
        builder = builder.onlyIfCached()
        builder = builder.noTransform()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 46.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                            if (logger.isDebugEnabled()) {
                                logger.debug(
                                        "Stored search parameters in cookie: name={}, size={}, maxAge={}, path={}, domain={}, secure={}, httpOnly={}, sameSite={}",
                                        cookie.getName(), encoded.length(), cookie.getMaxAge(), cookie.getPath(), cookie.getDomain(),
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 35.8K bytes
    - Viewed (0)
  9. okhttp/api/android/okhttp.api

    	public fun <init> ()V
    	public final fun build ()Lokhttp3/CacheControl;
    	public final fun immutable ()Lokhttp3/CacheControl$Builder;
    	public final fun maxAge (ILjava/util/concurrent/TimeUnit;)Lokhttp3/CacheControl$Builder;
    	public final fun maxAge-LRDsOJo (J)Lokhttp3/CacheControl$Builder;
    	public final fun maxStale (ILjava/util/concurrent/TimeUnit;)Lokhttp3/CacheControl$Builder;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

            .addHeader("Cache-Control: s-maxage=60")
            .addHeader("Cache-Control: max-age=180")
            .build(),
        )
      }
    
      @Test
      fun maxAgePreferredOverHigherMaxAge() {
        assertNotCached(
          MockResponse
            .Builder()
            .addHeader("Date: " + formatDate(-2, TimeUnit.MINUTES))
            .addHeader("Cache-Control: s-maxage=180")
            .addHeader("Cache-Control: max-age=60")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 113.6K bytes
    - Viewed (0)
Back to top