Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 529 for rheaders (0.05 sec)

  1. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

            LaResponseUtil.getResponse().addCookie(cookie);
        }
    
        /**
         * Determines whether the user identification cookie should be marked as secure.
         * Checks the configured secure setting or examines request headers to detect HTTPS.
         *
         * @return true if the cookie should be secure, false otherwise
         */
        protected boolean isSecureCookie() {
            if (cookieSecure != null) {
                return cookieSecure;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/RewriteResponseCacheControl.java

    public final class RewriteResponseCacheControl {
      /** Dangerous interceptor that rewrites the server's cache-control header. */
      private static final Interceptor REWRITE_CACHE_CONTROL_INTERCEPTOR = chain -> {
        Response originalResponse = chain.proceed(chain.request());
        return originalResponse.newBuilder()
            .header("Cache-Control", "max-age=60")
            .build();
      };
    
      private final OkHttpClient client;
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jan 12 03:31:36 UTC 2019
    - 2.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/persistent/DurableHandleRequest.java

        }
    
        @Override
        public int size() {
            // Context header (16) + name length (4) + padding to 8-byte alignment + data (16)
            return 16 + 4 + 4 + STRUCTURE_SIZE;
        }
    
        @Override
        public int encode(byte[] dst, int dstIndex) {
            int start = dstIndex;
    
            // Write context header
            SMBUtil.writeInt4(0, dst, dstIndex); // Next (offset to next context, 0 for last)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  4. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

        assertEquals(setOf(OkHttpTest::class.java.name), testHandler.calls.keys)
      }
    
      fun testCachedRequest() {
        enableTls()
    
        server.enqueue(MockResponse(body = "abc", headers = Headers.headersOf("cache-control", "public, max-age=3")))
        server.enqueue(MockResponse(body = "abc"))
    
        val ctxt = InstrumentationRegistry.getInstrumentation().targetContext.applicationContext
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 14:12:28 UTC 2025
    - 29K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java

            SMBUtil.writeInt4(20, buffer, offset + 16); // DACL offset
    
            // DACL header at offset 20
            prepareDaclHeader(buffer, offset + 20, aceCount);
    
            // Add ACEs
            int aceOffset = offset + 28; // After DACL header
            for (int i = 0; i < aceCount; i++) {
                prepareSimpleAce(buffer, aceOffset);
                aceOffset += 32; // Simple ACE size
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/ServerData.java

         */
        public ServerData() {
            // Default constructor
        }
    
        /**
         * Server flags from the SMB header.
         */
        public byte sflags;
        /**
         * Server flags2 field from the SMB header.
         */
        public int sflags2;
        /**
         * Maximum number of outstanding multiplex requests.
         */
        public int smaxMpxCount;
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/collection/IndexedIteratorTest.java

            }
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testForEachLineIterator() throws Exception {
            final StringReader reader = new StringReader("aaa\nbbb\nccc\n");
            for (final Indexed<String> indexed : indexed(iterable(reader))) {
                System.out.println(indexed.getIndex());
                System.out.println(indexed.getElement());
            }
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  8. docs/features/caching.md

    Cache Miss will be typical if the item has not been read from the network, is uncacheable, or is past it's 
    lifetime based on Response cache headers.
    
     - CallStart 
     - **CacheMiss**
     - ProxySelectStart
     - ... Standard Events ...
     - CallEnd
            
    ### Conditional Cache Hit
     
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

            // Command SMB2_CREATE (0x0005)
            SMBUtil.writeInt2(0x0005, header, 12);
            // Some message id
            SMBUtil.writeInt8(1L, header, 24);
            return header;
        }
    
        /**
         * Build a basic CREATE response body without create contexts.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/misc/DynamicProperties.java

            prop.load(inStream);
            properties = prop;
        }
    
        @Override
        public synchronized void load(final Reader reader) throws IOException {
            final Properties prop = new Properties();
            lastModified = propertiesFile.lastModified();
            prop.load(reader);
            properties = prop;
        }
    
        @Override
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 13.1K bytes
    - Viewed (0)
Back to top