Searched refs:setRequestProperty (Results 1 - 9 of 9) sorted by relevance

/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/
H A DJarURLConnection.java238 public void setRequestProperty(String key, String value) { method in class:JarURLConnection
239 jarFileURLConnection.setRequestProperty(key, value);
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
H A DURLConnectionTest.java101 * {@link java.net.URLConnection#setRequestProperty(String, String)}
109 u.setRequestProperty(null, "someValue");
116 u.setRequestProperty("user-agent", "Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.7.5) Gecko/20041122 Firefox/1.0");
126 u.setRequestProperty(null, "someValue");
252 uc.setRequestProperty("prop", "yo");
253 uc.setRequestProperty("prop", "yo2");
828 uc.setRequestProperty("whatever", "you like");
877 urlCon.setRequestProperty("test", "testProperty");
893 uc.setRequestProperty("Yo", "yo");
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
H A DOCSP.java229 con.setRequestProperty
231 con.setRequestProperty
/libcore/ojluni/src/main/java/sun/net/www/
H A DURLConnection.java73 public void setRequestProperty(String key, String value) { method in class:URLConnection
/libcore/ojluni/src/main/java/sun/net/www/protocol/ftp/
H A DFtpURLConnection.java597 public void setRequestProperty(String key, String value) { method in class:FtpURLConnection
598 super.setRequestProperty(key, value);
623 * @see #setRequestProperty(java.lang.String, java.lang.String)
/libcore/ojluni/src/main/java/java/net/
H A DURLConnection.java82 * <li>{@code setRequestProperty}
157 * @see java.net.URLConnection#setRequestProperty(java.lang.String, java.lang.String)
1061 public void setRequestProperty(String key, String value) { method in class:URLConnection
1107 * @see #setRequestProperty(java.lang.String, java.lang.String)
1150 * @see java.net.URLConnection#setRequestProperty(java.lang.String,java.lang.String)
1152 * @deprecated The instance specific setRequestProperty method
/libcore/luni/src/test/java/libcore/java/net/
H A DURLConnectionTest.java253 urlConnection.setRequestProperty(null, "j");
262 urlConnection.setRequestProperty("NullValue", null); // should fail silently!
282 urlConnection.setRequestProperty("P", "q");
1056 connection.setRequestProperty("Connection", "close");
2156 urlConnection.setRequestProperty("Transfer-encoding", "chunked");
2171 a.setRequestProperty("Connection", "close");
H A DAbstractCookiesTest.java422 connection.setRequestProperty("Foo", "foo");
/libcore/ojluni/src/main/java/sun/misc/
H A DURLClassPath.java730 uc.setRequestProperty(USER_AGENT_JAVA_VERSION, JAVA_VERSION);

Completed in 227 milliseconds