- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for getRequestProperty (0.55 sec)
-
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
when(mockConnection.getRequestProperties()).thenReturn(properties); // Need to mock getRequestProperty as well since it delegates to wrapped connection when(mockConnection.getRequestProperty("Accept")).thenReturn("application/json"); // Act ntlmConnection = new NtlmHttpURLConnection(mockConnection, mockCifsContext); // Assert
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java
buffer.append(", "); } } connection.setRequestProperty(key, buffer.toString()); } @Override public String getRequestProperty(final String key) { return connection.getRequestProperty(key); } @Override public Map getRequestProperties() { final Map map = new HashMap();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 22.1K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmHttpURLConnection.java
buffer.append(", "); } } this.connection.setRequestProperty(key, buffer.toString()); } @Override public String getRequestProperty(final String key) { return this.connection.getRequestProperty(key); } @Override public Map<String, List<String>> getRequestProperties() { final Map<String, List<String>> map = new HashMap<>();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 25.6K bytes - Viewed (0)