Searched refs:HttpURLConnection (Results 1 – 15 of 15) sorted by relevance
49 import java.net.HttpURLConnection;212 HttpURLConnection urlConnection = (HttpURLConnection) url.openConnection(); in assertForbiddenRequestHeaderName()224 HttpURLConnection urlConnection = (HttpURLConnection) url.openConnection(); in assertForbiddenRequestHeaderValue()234 HttpURLConnection urlConnection = (HttpURLConnection) url.openConnection(); in setAndReturnRequestHeaderValue()243 HttpURLConnection urlConnection = (HttpURLConnection) server.getUrl("/").openConnection(); in requestHeaders()304 HttpURLConnection urlConnection = (HttpURLConnection) server.getUrl("/").openConnection(); in getRequestPropertyReturnsLastValue()319 HttpURLConnection urlConnection = (HttpURLConnection) server.getUrl("/").openConnection(); in responseHeaders()348 HttpURLConnection connection = (HttpURLConnection) server.getUrl("/").openConnection(); in getErrorStreamOnSuccessfulRequest()355 HttpURLConnection connection = (HttpURLConnection) server.getUrl("/").openConnection(); in getErrorStreamOnUnsuccessfulRequest()505 HttpURLConnection conn = (HttpURLConnection) server.getUrl("/").openConnection(); in doUpload()[all …]
46 import java.net.HttpURLConnection;366 .setResponseCode(HttpURLConnection.HTTP_MOVED_TEMP) in testRedirectsDoNotIncludeTooManyCookies()418 HttpURLConnection connection = (HttpURLConnection) server.getUrl("/").openConnection(); in testHeadersSentToCookieHandler()
22 import java.net.HttpURLConnection;171 HttpURLConnection c = (HttpURLConnection) in testGetOutputStream()193 HttpURLConnection connection = (HttpURLConnection) url in testUsingProxy()218 HttpURLConnection huc = (HttpURLConnection)url.openConnection(Proxy.NO_PROXY); in testUsingProxy()240 HttpURLConnection connection = in testUsingProxySelector()241 (HttpURLConnection) url.openConnection(); in testUsingProxySelector()286 HttpURLConnection connection = in testProxyAuthorization()287 (HttpURLConnection) url.openConnection( in testProxyAuthorization()
30 import java.net.HttpURLConnection;290 } else if (connection instanceof HttpURLConnection) { in engineGetCertificates()292 HttpURLConnection hconn = (HttpURLConnection)connection; in engineGetCertificates()294 == HttpURLConnection.HTTP_NOT_MODIFIED) { in engineGetCertificates()404 } else if (connection instanceof HttpURLConnection) { in engineGetCRLs()406 HttpURLConnection hconn = (HttpURLConnection)connection; in engineGetCRLs()408 == HttpURLConnection.HTTP_NOT_MODIFIED) { in engineGetCRLs()
32 import java.net.HttpURLConnection;223 HttpURLConnection con = (HttpURLConnection)url.openConnection(); in check()238 con.getResponseCode() != HttpURLConnection.HTTP_OK) { in check()
36 import java.net.HttpURLConnection;182 return new HttpURLConnection(u) { in openConnection()240 ((HttpURLConnection) uc).disconnect();241 ((HttpURLConnection) uc2).disconnect();242 ((HttpURLConnection) uc3).disconnect();289 HttpURLConnection connection = (HttpURLConnection)333 ((HttpURLConnection) uc).disconnect();374 ((HttpURLConnection) fakeCon).disconnect();376 ((HttpURLConnection) uc).disconnect();404 ((HttpURLConnection) uc).disconnect();[all …]
26 import java.net.HttpURLConnection;81 HttpURLConnection connection = (HttpURLConnection) url.openConnection(); in get()
30 import java.net.HttpURLConnection;57 class HttpsURLConnection extends HttpURLConnection
275 abstract public class HttpURLConnection extends URLConnection { class527 protected HttpURLConnection (URL u) { in HttpURLConnection() method in HttpURLConnection
29 abstract public class HttpsURLConnection extends HttpURLConnection {
42 import java.net.HttpURLConnection;725 if (uc instanceof HttpURLConnection) {726 HttpURLConnection hconn = (HttpURLConnection)uc;728 if (hconn.getResponseCode() >= HttpURLConnection.HTTP_BAD_REQUEST) {
570 public abstract class HttpsURLConnection extends java.net.HttpURLConnection {
5639 public abstract class HttpURLConnection extends java.net.URLConnection {5640 ctor protected HttpURLConnection(java.net.URL);19403 public abstract class HttpsURLConnection extends java.net.HttpURLConnection {
306 "ojluni/src/main/java/java/net/HttpURLConnection.java",
341 ojluni/src/main/java/java/net/HttpURLConnection.java,jdk8u/jdk8u121-b13,jdk/src/share/classes/java/…