Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getResponseCode (0.05 sec)

  1. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

            mockResponse(HTTP_OK, "OK", null, null);
    
            // Act & Assert
            assertDoesNotThrow(() -> spiedConnection.getResponseCode());
            // Use reflection to verify handshake method is called
            assertDoesNotThrow(() -> spiedConnection.getResponseCode());
            assertDoesNotThrow(() -> spiedConnection.getInputStream());
        }
    
        /**
         * Test a successful NTLM authentication handshake.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

        public String getRequestMethod() {
            return connection.getRequestMethod();
        }
    
        @Override
        public int getResponseCode() throws IOException {
            try {
                handshake();
            } catch (final IOException ex) {}
            return connection.getResponseCode();
        }
    
        @Override
        public String getResponseMessage() throws IOException {
            try {
                handshake();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/http/NtlmHttpURLConnection.java

        }
    
        @Override
        public String getRequestMethod() {
            return this.connection.getRequestMethod();
        }
    
        @Override
        public int getResponseCode() throws IOException {
            handshake();
            return this.connection.getResponseCode();
        }
    
        @Override
        public String getResponseMessage() throws IOException {
            handshake();
            return this.connection.getResponseMessage();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 25.6K bytes
    - Viewed (0)
Back to top