Searched refs:setRequestProperty (Results 1 - 10 of 10) 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.java105 * {@link java.net.URLConnection#setRequestProperty(String, String)}
113 u.setRequestProperty(null, "someValue");
120 u.setRequestProperty("user-agent", "Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.7.5) Gecko/20041122 Firefox/1.0");
130 u.setRequestProperty(null, "someValue");
257 uc.setRequestProperty("prop", "yo");
258 uc.setRequestProperty("prop", "yo2");
817 uc.setRequestProperty("whatever", "you like");
866 urlCon.setRequestProperty("test", "testProperty");
882 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.java586 public void setRequestProperty(String key, String value) { method in class:FtpURLConnection
587 super.setRequestProperty(key, value);
612 * @see #setRequestProperty(java.lang.String, java.lang.String)
/libcore/ojluni/src/main/java/java/net/
H A DURLConnection.java82 * <li><code>setRequestProperty</code>
166 * @see java.net.URLConnection#setRequestProperty(java.lang.String, java.lang.String)
1070 public void setRequestProperty(String key, String value) { method in class:URLConnection
1116 * @see #setRequestProperty(java.lang.String, java.lang.String)
1159 * @see java.net.URLConnection#setRequestProperty(java.lang.String,java.lang.String)
1161 * @deprecated The instance specific setRequestProperty method
/libcore/luni/src/test/java/libcore/java/net/
H A DURLConnectionTest.java232 urlConnection.setRequestProperty(null, "j");
241 urlConnection.setRequestProperty("NullValue", null); // should fail silently!
261 urlConnection.setRequestProperty("P", "q");
1024 connection.setRequestProperty("Connection", "close");
2068 urlConnection.setRequestProperty("Transfer-encoding", "chunked");
2083 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);
/libcore/ojluni/src/main/java/sun/net/www/protocol/http/
H A DHttpURLConnection.java2746 public void setRequestProperty(String key, String value) { method in class:HttpURLConnection

Completed in 210 milliseconds