Searched refs:addRequestProperty (Results 1 - 3 of 3) sorted by relevance
/libcore/luni/src/test/java/libcore/java/net/ |
H A D | URLConnectionTest.java | 115 urlConnection.addRequestProperty("D", "e"); 116 urlConnection.addRequestProperty("D", "f"); 138 urlConnection.addRequestProperty(null, "k"); 144 urlConnection.addRequestProperty("AnotherNullValue", null); // should fail silently! 157 urlConnection.addRequestProperty("N", "o"); 176 urlConnection.addRequestProperty("A", "value1"); 177 urlConnection.addRequestProperty("A", "value2"); 764 connection.addRequestProperty("Private", "Secret"); 765 connection.addRequestProperty("Proxy-Authorization", "bar"); 766 connection.addRequestProperty("Use [all...] |
/libcore/luni/src/main/java/java/net/ |
H A D | URLConnection.java | 482 public void addRequestProperty(String field, String newValue) { method in class:URLConnection
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/ |
H A D | URLConnectionTest.java | 76 * {@link java.net.URLConnection#addRequestProperty(String, String)} 87 u.addRequestProperty(null, "someValue"); 97 u.addRequestProperty(null, "someValue"); 247 * {@link java.net.URLConnection#addRequestProperty(java.lang.String,java.lang.String)}
|
Completed in 116 milliseconds