Searched refs:addRequestProperty (Results 1 – 6 of 6) sorted by relevance
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/ |
D | JarURLConnection.java | 268 public void addRequestProperty(String key, String value) { in addRequestProperty() method in JarURLConnection 269 jarFileURLConnection.addRequestProperty(key, value); in addRequestProperty()
|
/libcore/ojluni/annotations/hiddenapi/sun/net/www/ |
D | URLConnection.java | 50 public void addRequestProperty(java.lang.String key, java.lang.String value) { in addRequestProperty() method in URLConnection
|
/libcore/ojluni/src/main/java/sun/net/www/ |
D | URLConnection.java | 81 public void addRequestProperty(String key, String value) { in addRequestProperty() method in URLConnection
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | URLConnectionTest.java | 210 urlConnection.addRequestProperty(name, "value"); in assertForbiddenRequestHeaderName() 222 urlConnection.addRequestProperty("key", value); in assertForbiddenRequestHeaderValue() 231 urlConnection.addRequestProperty("key", value); in setAndReturnRequestHeaderValue() 240 urlConnection.addRequestProperty("D", "e"); in requestHeaders() 241 urlConnection.addRequestProperty("D", "f"); in requestHeaders() 263 urlConnection.addRequestProperty(null, "k"); in requestHeaders() 269 urlConnection.addRequestProperty("AnotherNullValue", null); // should fail silently! in requestHeaders() 282 urlConnection.addRequestProperty("N", "o"); in requestHeaders() 301 urlConnection.addRequestProperty("A", "value1"); in getRequestPropertyReturnsLastValue() 302 urlConnection.addRequestProperty("A", "value2"); in getRequestPropertyReturnsLastValue() [all …]
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/ |
D | URLConnectionTest.java | 82 u.addRequestProperty(null, "someValue"); in test_addRequestProperty() 92 u.addRequestProperty(null, "someValue"); in test_addRequestProperty()
|
/libcore/ojluni/src/main/java/java/net/ |
D | URLConnection.java | 1125 public void addRequestProperty(String key, String value) { in addRequestProperty() method in URLConnection
|