- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 44 for GetContext (0.05 sec)
-
src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java
url.append("?").append(params.substring(1)); } return url.toString(); } @Override public CIFSContext getTransportContext() { return this.pipe.getContext(); } @Override public String getServer() { return this.pipe.getLocator().getServer(); } @Override public String getServerWithDfs() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java
} @Test @DisplayName("Test constructor with transport throws SmbException on error") void testConstructorWithTransportThrowsException() throws Exception { when(mockTransport.getContext()).thenReturn(mockContext); when(mockContext.getConfig()).thenReturn(mockConfig); when(mockConfig.getLanManCompatibility()).thenReturn(3);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/main/java/jcifs/SmbException.java
*/ public Category getCategory() { return category; } /** * Gets the error context * * @return the context map */ public Map<String, Object> getContext() { return new HashMap<>(context); } /** * Gets a specific context value * * @param key the context key * @return the context value or null */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplTest.java
when(credentialsInternal.clone()).thenReturn(credentialsInternal); // Transport wiring - used by most tests when(transport.acquire()).thenReturn(transport); when(transport.getContext()).thenReturn(cifsContext); } // Helper to set private fields for targeted edge cases private static void setField(Object target, String name, Object value) { try {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
} else { response = new SmbComTreeConnectAndXResponse(sess.getConfig(), (ServerMessageBlock) andxResponse); request = new SmbComTreeConnectAndX(sess.getContext(), ((SmbComNegotiateResponse) nego).getServerData(), unc, svc, (ServerMessageBlock) andx); } response = sess.send(request, response);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbCopyUtil.java
new SmbComSetInformationResponse(dh.getConfig())); } } } catch (final IOException se) { if (!src.getContext().getConfig().isIgnoreCopyToException()) { throw new SmbException("Failed to copy file from [" + src.toString() + "] to [" + dest.toString() + "]", se); } log.warn("Copy failed", se);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 16.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthentication.java
this.hashesExternal = true; } /** * Get the CIFS context associated with this authentication. * * @return the CIFS context */ protected CIFSContext getContext() { return this.context; } @Override public NtlmPasswordAuthentication clone() { final NtlmPasswordAuthentication cloned = new NtlmPasswordAuthentication();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java
} private void setupParentForUrlCreation() throws CIFSException { // Only set up parent mocks when they're actually needed for URL creation when(parent.getContext()).thenReturn(this.ctx); when(parent.getLocator()).thenReturn(parentLocator); // Make the parent appear as a workgroup to use the simpler URL code-path when(parentLocator.isWorkgroup()).thenReturn(true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbOperationException.java
public ErrorCategory getErrorCategory() { return errorCode.getCategory(); } public RetryPolicy getRetryPolicy() { return retryPolicy; } public Map<String, Object> getContext() { return Collections.unmodifiableMap(context); } public long getOperationStartTime() { return operationStartTime; } public String getOperationName() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java
if (activeWatchers.containsKey(directoryPath)) { return; // Already watching } try { SmbFile directory = new SmbFile(directoryPath, leaseManager.getContext()); ChangeNotificationHandle handle = new ChangeNotificationHandle(directoryPath, leaseKey, directory); activeWatchers.put(directoryPath, handle);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.7K bytes - Viewed (0)