Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 25 for getExpiration (0.1 sec)

  1. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

                Long expiration = 1000L;
    
                response.setExpiration(expiration);
    
                assertEquals(expiration, response.getExpiration());
            }
    
            @Test
            @DisplayName("Should handle null expiration")
            void testNullExpiration() {
                response.setExpiration(null);
    
                assertNull(response.getExpiration());
            }
        }
    
        @Nested
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

            } catch (final IOException ex) {}
            return connection.getContentEncoding();
        }
    
        @Override
        public long getExpiration() {
            try {
                handshake();
            } catch (final IOException ex) {}
            return connection.getExpiration();
        }
    
        @Override
        public long getDate() {
            try {
                handshake();
            } catch (final IOException ex) {}
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

            if (type.isAssignableFrom(this.getClass())) {
                return (T) this;
            }
            throw new ClassCastException();
        }
    
        @Override
        public long getExpiration() {
            return this.expiration;
        }
    
        @Override
        public int getPathConsumed() {
            return this.pathConsumed;
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

            }
    
            @Test
            @DisplayName("Test expiration property")
            void testExpirationProperty() {
                assertNull(testBlock.getExpiration());
                testBlock.setExpiration(123456789L);
                assertEquals(123456789L, testBlock.getExpiration());
            }
        }
    
        @Nested
        @DisplayName("DFS Resolution Tests")
        class DFSResolutionTests {
    
            @BeforeEach
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/RequestTest.java

            }
    
            @Override
            public void error() {
                this.errorCode = -1;
            }
    
            @Override
            public Long getExpiration() {
                return expiration;
            }
    
            @Override
            public void setExpiration(Long exp) {
                this.expiration = exp;
            }
    
            @Override
            public Exception getException() {
                return exception;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java

                // Test some inherited methods
                assertFalse(response.isReceived());
                assertFalse(response.isError());
                assertNull(response.getExpiration());
            }
    
            @Test
            @DisplayName("Should handle configuration correctly")
            void testConfigurationHandling() {
                // Given - create a mock configuration
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTransportImpl.java

                iter = this.sessions.listIterator();
                while (iter.hasNext()) {
                    final SmbSessionImpl ssn = iter.next();
                    if (ssn.getExpiration() != null && ssn.getExpiration() < now && !ssn.isInUse()) {
                        if (log.isDebugEnabled()) {
                            log.debug("Closing session after timeout " + ssn);
                        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/http/NtlmHttpURLConnection.java

        @Override
        public String getContentEncoding() {
            handshake();
            return this.connection.getContentEncoding();
        }
    
        @Override
        public long getExpiration() {
            handshake();
            return this.connection.getExpiration();
        }
    
        @Override
        public long getDate() {
            handshake();
            return this.connection.getDate();
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

                // Test some inherited methods
                assertFalse(response.isReceived());
                assertFalse(response.isError());
                assertNull(response.getExpiration());
            }
    
            @Test
            @DisplayName("Should handle multiple configurations")
            void testMultipleConfigurations() throws SMBProtocolDecodingException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/NotifyResponseTest.java

            public Exception getException() {
                return this.exception;
            }
    
            @Override
            public void setExpiration(Long expiration) {
                this.expiration = expiration;
            }
    
            @Override
            public Long getExpiration() {
                return this.expiration;
            }
    
            // Additional Response interface methods
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
Back to top