Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for getRequestMethod (0.11 seconds)

  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) {}
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 22.1K bytes
    - Click Count (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();
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 25.6K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/curl/io/IOIntegrationTest.java

            public void connect() {
            }
    
            @Override
            public int getResponseCode() {
                return statusCode;
            }
    
            @Override
            public String getRequestMethod() {
                return "HEAD";
            }
    
            @Override
            public InputStream getInputStream() {
                throw new AssertionError("HEAD request should not read input stream");
            }
    
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 12:00:34 GMT 2026
    - 44.1K bytes
    - Click Count (0)
  4. 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);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/curl/CurlRequest.java

                    throw new CurlException("Failed to access the response.", e);
                }
                writeContent(() -> {
                    try {
                        if (Method.HEAD.toString().equalsIgnoreCase(con.getRequestMethod())) {
                            return new ByteArrayInputStream(new byte[0]);
                        } else if (con.getResponseCode() < 400) {
                            if (GZIP.equals(con.getContentEncoding())) {
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 19.7K bytes
    - Click Count (0)
Back to Top