Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 512 for Connection (0.06 sec)

  1. src/test/java/org/codelibs/fess/exception/ContainerNotAvailableExceptionTest.java

        }
    
        public void test_constructor_withComponentNameAndCause() {
            // Test constructor with component name and cause
            String componentName = "myComponent";
            Throwable cause = new RuntimeException("Connection failed");
            ContainerNotAvailableException exception = new ContainerNotAvailableException(componentName, cause);
    
            assertEquals(componentName + " is not available.", exception.getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/WebSocket.kt

     *    from the peer.
     *
     * Web sockets may fail due to HTTP upgrade problems, connectivity problems, or if either peer
     * chooses to short-circuit the graceful shutdown process:
     *
     *  * **Canceled:** the web socket connection failed. Messages that were successfully enqueued by
     *    either peer may not have been transmitted to the other.
     *
     * Note that the state progression is independent for each peer. Arriving at a gracefully-closed
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  4. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.1K bytes
    - Viewed (1)
  5. src/test/java/jcifs/smb/HandlerTest.java

            // Act
            URLConnection conn = handler.openConnection(url);
    
            // Assert
            assertNotNull(conn);
            assertTrue(conn instanceof SmbFile, "Connection should be an instance of SmbFile");
            SmbFile file = (SmbFile) conn;
            assertEquals(url, file.getURL(), "Returned SmbFile should wrap the given URL");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                    firstRun = false;
                }
            } catch (ConnectionException e) {
                throw new TransferFailedException("Connection failed: " + e.getMessage(), e);
            } catch (AuthenticationException e) {
                throw new TransferFailedException("Authentication failed: " + e.getMessage(), e);
            } catch (AuthorizationException e) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/MockHttp2Peer.kt

            }
    
            // Write a frame.
            val length = (end - start).toInt()
            outputStream.write(outBytes, start.toInt(), length)
    
            // If the last frame was truncated, immediately close the connection.
            if (truncated) {
              socket.close()
            }
          } else {
            // read a frame
            val inFrame = InFrame(i, reader)
            reader.nextFrame(false, inFrame)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/http/NetworkExplorer.java

                    if (offerBasic) {
                        resp.addHeader("WWW-Authenticate", "Basic realm=\"" + realm + "\"");
                    }
                    resp.setHeader("Connection", "close");
                    resp.setStatus(HttpServletResponse.SC_UNAUTHORIZED);
                    resp.flushBuffer();
                    return;
                }
            }
    
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  9. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  10. cmd/bitrot-streaming.go

    	shardSize  int64
    	hashBytes  []byte
    }
    
    func (b *streamingBitrotReader) Close() error {
    	if b.rc == nil {
    		return nil
    	}
    	if closer, ok := b.rc.(io.Closer); ok {
    		// drain the body for connection reuse at network layer.
    		xhttp.DrainBody(io.NopCloser(b.rc))
    		return closer.Close()
    	}
    	return nil
    }
    
    func (b *streamingBitrotReader) ReadAt(buf []byte, offset int64) (int, error) {
    	var err error
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jan 17 19:19:30 UTC 2025
    - 6.2K bytes
    - Viewed (0)
Back to top