Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getRequestMethod (0.14 sec)

  1. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

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

            this.connection.setRequestMethod(requestMethod);
            this.method = requestMethod;
        }
    
        @Override
        public String getRequestMethod() {
            return this.connection.getRequestMethod();
        }
    
        @Override
        public int getResponseCode() throws IOException {
            handshake();
            return this.connection.getResponseCode();
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

         * @throws ProtocolException
         */
        @Test
        void testConstructorCopiesSettings() throws ProtocolException {
            // Arrange
            when(mockConnection.getRequestMethod()).thenReturn("GET");
            when(mockConnection.getAllowUserInteraction()).thenReturn(true);
            when(mockConnection.getDoInput()).thenReturn(true);
            when(mockConnection.getDoOutput()).thenReturn(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/curl/CurlRequest.java

                            } else {
                                return con.getInputStream();
                            }
                        } else if ("head".equalsIgnoreCase(con.getRequestMethod())) {
                            return new ByteArrayInputStream(new byte[0]);
                        } else {
                            if (GZIP.equals(con.getContentEncoding())) {
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 17.8K bytes
    - Viewed (0)
Back to top