- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for getExpiration (0.09 sec)
-
src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java
} @Test @DisplayName("Test Response interface methods - setExpiration") void testSetExpiration() { // Given Long expiration = System.currentTimeMillis() + 60000L; doNothing().when(response).setExpiration(expiration); // When response.setExpiration(expiration); // Then verify(response).setExpiration(expiration);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.3K bytes - Viewed (0) -
src/test/java/jcifs/DfsReferralDataTest.java
// Given long expiration = System.currentTimeMillis(); when(mockReferralData.getExpiration()).thenReturn(expiration); // When long result = mockReferralData.getExpiration(); // Then assertEquals(expiration, result); verify(mockReferralData).getExpiration(); } @Test @DisplayName("Should get next referral") void testNext() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java
// Test with mock when(mockReferralData.getExpiration()).thenReturn(expiration); assertEquals(expiration, mockReferralData.getExpiration()); verify(mockReferralData, times(1)).getExpiration(); // Test with concrete implementation long concreteExpiration = concreteImplementation.getExpiration(); assertTrue(concreteExpiration >= 0); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 28.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java
assertEquals("share2", combined.getShare()); assertEquals("path2", combined.getPath()); assertEquals("DOMAIN", combined.getDomain()); assertEquals(second.getExpiration(), combined.getExpiration()); // Path consumed should be combined int expectedPathConsumed = 20 + 15; if (first.getPath() != null) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java
* {@inheritDoc} * * @see jcifs.util.transport.Response#getExpiration() */ @Override public Long getExpiration() { return this.expiration; } /** * {@inheritDoc} * * @see jcifs.util.transport.Response#setExpiration(java.lang.Long) */ @Override public void setExpiration(final Long exp) { this.expiration = exp; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 8.1K bytes - Viewed (0) -
src/main/java/jcifs/util/transport/Response.java
/** * Gets the expiration time for this response. * * @return the message timeout */ Long getExpiration(); /** * Sets the expiration time for this response. * * @param exp the message timeout to set */ void setExpiration(Long exp); /** * Resets this response to its initial state. */ void reset(); /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.2K bytes - Viewed (0) -
src/main/java/jcifs/DfsReferralData.java
*/ String getPath(); /** * Get the expiration time of this referral entry * * @return the expiration time of this entry */ long getExpiration(); /** * Get the next referral in the chain * * @return pointer to next referral, points to self if there is no further referral */ DfsReferralData next(); /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.5K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.7K bytes - Viewed (0) -
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(); } @OverrideRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 25.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 22.1K bytes - Viewed (0)