Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for CIFSContextWrapper (0.09 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/jcifs/context/CIFSContextWrapper.java

     *
     * @author mbechler
     */
    public class CIFSContextWrapper implements CIFSContext {
    
        private final CIFSContext delegate;
        private Handler wrappedHandler;
    
        /**
         * Constructs a wrapper around the specified CIFS context.
         *
         * @param delegate
         *            context to delegate non-override methods to
         *
         */
        public CIFSContextWrapper(final CIFSContext delegate) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  2. src/test/java/jcifs/context/CIFSContextWrapperTest.java

            cifsContextWrapper = new CIFSContextWrapper(mockDelegate);
        }
    
        @Test
        void testConstructor() {
            // Verify that the delegate is correctly set
            assertNotNull(cifsContextWrapper);
        }
    
        @Test
        void testGetSmbResource() throws CIFSException, MalformedURLException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  3. src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java

        }
    
        @Test
        @DisplayName("Should construct with delegate and credentials")
        void testConstructor() {
            // Verify that the constructor correctly sets the delegate (inherited from CIFSContextWrapper)
            // and the credentials. The delegate is tested implicitly by calling super's methods.
            // We can directly test getCredentials() to ensure it returns the initial credentials.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  4. src/main/java/jcifs/Config.java

    import org.slf4j.LoggerFactory;
    
    import jcifs.context.SingletonContext;
    
    /**
     * This class now contains only utilities for config parsing.
     *
     * We strongly suggest that you create an explicit {@link jcifs.context.CIFSContextWrapper}
     * with your desired config. It's base implementation {@link jcifs.context.BaseContext}
     * should be sufficient for most needs.
     *
     * If you want to retain the classic singleton behavior you can use
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.1K bytes
    - Click Count (0)
Back to Top