Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 178 for reconnection (2.02 sec)

  1. src/main/java/jcifs/smb/SmbNamedPipe.java

         *
         * @param url the SMB URL for the named pipe
         * @param pipeType the type of the pipe
         * @param unshared
         *            whether to use an exclusive connection for this pipe
         * @param tc the CIFS context to use
         * @throws MalformedURLException if the URL is not properly formatted
         */
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/http/NtlmServlet.java

                    if (offerBasic) {
                        response.addHeader("WWW-Authenticate", "Basic realm=\"" + this.realm + "\"");
                    }
                    response.setHeader("Connection", "close");
                    response.setStatus(HttpServletResponse.SC_UNAUTHORIZED);
                    response.flushBuffer();
                    return;
                }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.1K bytes
    - Viewed (1)
  3. src/test/java/jcifs/smb/SmbSessionImplTest.java

            assertEquals(123L, session.getExpiration());
            setField(session, "expiration", 0L);
            assertNull(session.getExpiration());
        }
    
        @Test
        @DisplayName("connection and failure status delegate to transport")
        void testConnectionAndFailureStatus() {
            SmbSessionImpl session = newSession();
    
            // Make session look connected via setSessionSetup
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

        protected long searchStoreInterval = 1; // min
    
        /**
         * Initializes the SuggestHelper.
         * This method sets up the suggester, configures field names, and initializes
         * the connection to the search engine.
         */
        @PostConstruct
        public void init() {
            if (logger.isDebugEnabled()) {
                logger.debug("Initializing {}", this.getClass().getSimpleName());
            }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java

                    throw new IOException("Failed to create new transport");
                }
    
                // Reconnect
                channel.setState(ChannelState.CONNECTING);
                // Connection would be ensured through proper transport interface
    
                // Re-establish channel binding
                manager.performChannelBinding(channel);
    
                // Update channel with new transport
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbConstantsTest.java

    /**
     * Test class for SmbConstants interface constants
     */
    @DisplayName("SmbConstants Tests")
    class SmbConstantsTest extends BaseTest {
    
        @Test
        @DisplayName("Should define default connection constants")
        void testDefaultConstants() {
            assertEquals(445, SmbConstants.DEFAULT_PORT);
            assertEquals(10, SmbConstants.DEFAULT_MAX_MPX_COUNT);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

     * {@link MimeTypeHelper}, to handle content length checks and MIME type detection.
     * </p>
     *
     * <p>
     * The class uses JCIFS properties to configure the SMB connection.
     * </p>
     *
     * <p>
     * Usage example:
     * </p>
     *
     * <pre>
     * {@code
     * SmbClient smbClient = new SmbClient();
     * smbClient.init();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 23.4K bytes
    - Viewed (3)
  8. src/main/java/jcifs/http/NtlmHttpFilter.java

                return new NtlmChallenge(trans.getServerEncryptionKey(), dc);
            } catch (final SmbException e) {
                throw e;
            } catch (final IOException e) {
                throw new SmbException("Connection failed", e);
            }
        }
    
        /**
         * @return
         */
        private CIFSContext getTransportContext() {
            return this.transportContext;
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/SidResolverTest.java

        }
    
        @Test
        void testGetServerSid_ConnectionTimeout() throws CIFSException {
            when(sidResolver.getServerSid(any(CIFSContext.class), anyString())).thenThrow(new CIFSException("Connection timeout"));
    
            assertThrows(CIFSException.class, () -> sidResolver.getServerSid(mockContext, testServerName));
        }
    
        // Test with large datasets
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

        @DisplayName("Should identify error categories correctly")
        void testErrorCategories() {
            // Network error
            exception = new SmbOperationException(SmbOperationException.ErrorCode.CONNECTION_RESET, "Connection lost");
            assertTrue(exception.isNetworkError());
            assertFalse(exception.isAuthenticationError());
            assertFalse(exception.isFileSystemError());
            assertFalse(exception.isTransientError());
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.1K bytes
    - Viewed (0)
Back to top