- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 25 for setExpiration (0.11 seconds)
-
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);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.3K bytes - Click Count (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(); /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.2K bytes - Click Count (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; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 8.1K bytes - Click Count (0) -
src/test/java/jcifs/util/transport/ResponseTest.java
when(mockResponse.getExpiration()).thenReturn(expiration); assertEquals(expiration, mockResponse.getExpiration()); // Test null expiration when(mockResponse.getExpiration()).thenReturn(null); assertNull(mockResponse.getExpiration()); // Verify the method was called verify(mockResponse, times(2)).getExpiration(); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.5K bytes - Click Count (0) -
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;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.5K bytes - Click Count (0) -
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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.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; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 38.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java
Long expiration = 1000L; echoResponse.setExpiration(expiration); assertEquals(expiration, echoResponse.getExpiration()); echoResponse.setExpiration(null); assertNull(echoResponse.getExpiration()); } } @Nested @DisplayName("Signature Verification Tests") class SignatureVerificationTests { @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.1K bytes - Click Count (0) -
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()); } } @NestedCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.3K bytes - Click Count (0) -
src/main/java/jcifs/util/transport/Transport.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 27.8K bytes - Click Count (0)