Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for addRequestProperty (0.32 sec)

  1. src/main/java/org/codelibs/curl/CurlRequest.java

                    if (headerList != null) {
                        for (final String[] values : headerList) {
                            logger.fine(() -> ">>> " + values[0] + "=" + values[1]);
                            connection.addRequestProperty(values[0], values[1]);
                        }
                    }
                    if (compression != null) {
                        connection.setRequestProperty("Accept-Encoding", compression);
                    }
    
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Sun Feb 12 12:21:25 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

                    break;
                }
            }
            if (!found) requestProperties.put(key, values);
            connection.setRequestProperty(key, value);
        }
    
        public void addRequestProperty(String key, String value) {
            if (key == null) throw new NullPointerException();
            List values = null;
            Iterator entries = requestProperties.entrySet().iterator();
            while (entries.hasNext()) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 20.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/http/NtlmHttpURLConnection.java

                }
            }
            if ( !found )
                this.requestProperties.put(key, values);
            this.connection.setRequestProperty(key, value);
        }
    
    
        @Override
        public void addRequestProperty ( String key, String value ) {
            if ( key == null )
                throw new NullPointerException();
            List<String> values = null;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 25.5K bytes
    - Viewed (0)
Back to top