Home | History | Annotate | Download | only in certpath

Lines Matching defs:connection

77  * negative responses are cached, i.e. if we are unable to open the connection
80 * connection.
277 URLConnection connection = uri.toURL().openConnection();
279 connection.setIfModifiedSince(lastModified);
282 try (InputStream in = connection.getInputStream()) {
283 lastModified = connection.getLastModified();
290 } else if (connection instanceof HttpURLConnection) {
292 HttpURLConnection hconn = (HttpURLConnection)connection;
390 URLConnection connection = uri.toURL().openConnection();
392 connection.setIfModifiedSince(lastModified);
395 connection.setConnectTimeout(CRL_CONNECT_TIMEOUT);
396 try (InputStream in = connection.getInputStream()) {
397 connection.getLastModified();
404 } else if (connection instanceof HttpURLConnection) {
406 HttpURLConnection hconn = (HttpURLConnection)connection;