Searched refs:urlc (Results 1 - 25 of 78) sorted by relevance

1234

/openjdk7/jdk/test/sun/net/www/protocol/file/
H A DGetContentLength.java37 URLConnection urlc = u.openConnection();
38 urlc.connect();
39 len = urlc.getContentLength();
H A DGetContentType.java35 URLConnection urlc = url.openConnection();
36 urlc.connect();
37 String type = urlc.getContentType();
/openjdk7/jdk/src/share/classes/java/net/
H A DContentHandler.java77 * @param urlc a URL connection.
81 abstract public Object getContent(URLConnection urlc) throws IOException; argument
91 * @param urlc a URL connection.
99 public Object getContent(URLConnection urlc, Class[] classes) throws IOException { argument
100 Object obj = getContent(urlc);
/openjdk7/jdk/test/sun/net/www/protocol/jar/
H A DB5105410.java30 URLConnection urlc = url.openConnection ();
31 urlc.setUseCaches (false);
32 InputStream is = urlc.getInputStream();
/openjdk7/jdk/test/sun/security/ssl/javax/net/ssl/FixingJavadocs/
H A DJavaxURLNulls.java54 HttpsURLConnection urlc =
58 urlc.getCipherSuite();
65 urlc.getLocalCertificates();
72 urlc.getServerCertificates();
79 urlc.setDefaultHostnameVerifier(null);
86 urlc.setHostnameVerifier(null);
93 urlc.setDefaultSSLSocketFactory(null);
100 urlc.setSSLSocketFactory(null);
H A DComURLNulls.java63 HttpsURLConnection urlc =
67 urlc.getCipherSuite();
74 urlc.getServerCertificateChain();
81 urlc.setDefaultHostnameVerifier(null);
88 urlc.setHostnameVerifier(null);
95 urlc.setDefaultSSLSocketFactory(null);
102 urlc.setSSLSocketFactory(null);
/openjdk7/jdk/src/share/classes/sun/net/www/content/image/
H A Dgif.java39 public Object getContent(URLConnection urlc) throws java.io.IOException { argument
40 return new URLImageSource(urlc);
43 public Object getContent(URLConnection urlc, Class[] classes) throws IOException { argument
46 return new URLImageSource(urlc);
50 return tk.createImage(new URLImageSource(urlc));
H A Djpeg.java38 public Object getContent(URLConnection urlc) throws java.io.IOException { argument
39 return new URLImageSource(urlc);
42 public Object getContent(URLConnection urlc, Class[] classes) throws IOException { argument
45 return new URLImageSource(urlc);
49 return tk.createImage(new URLImageSource(urlc));
H A Dpng.java38 public Object getContent(URLConnection urlc) throws java.io.IOException { argument
39 return new URLImageSource(urlc);
42 public Object getContent(URLConnection urlc, Class[] classes) throws IOException { argument
45 return new URLImageSource(urlc);
49 return tk.createImage(new URLImageSource(urlc));
H A Dx_xbitmap.java34 public Object getContent(URLConnection urlc) throws java.io.IOException { argument
35 return new URLImageSource(urlc);
38 public Object getContent(URLConnection urlc, Class[] classes) throws java.io.IOException { argument
41 return new URLImageSource(urlc);
45 return tk.createImage(new URLImageSource(urlc));
H A Dx_xpixmap.java34 public Object getContent(URLConnection urlc) throws java.io.IOException { argument
35 return new URLImageSource(urlc);
38 public Object getContent(URLConnection urlc, Class[] classes) throws java.io.IOException { argument
41 return new URLImageSource(urlc);
45 return tk.createImage(new URLImageSource(urlc));
/openjdk7/jdk/test/sun/security/ssl/sun/net/www/http/ChunkedOutputStream/
H A DTest.java161 HttpURLConnection urlc = (HttpURLConnection)url.openConnection ();
162 urlc.setChunkedStreamingMode (20);
163 urlc.setDoOutput(true);
164 urlc.setRequestMethod ("POST");
165 OutputStream os = urlc.getOutputStream ();
168 InputStream is = urlc.getInputStream();
178 HttpURLConnection urlc = (HttpURLConnection)url.openConnection ();
179 urlc.setFixedLengthStreamingMode (str2.length());
180 urlc.setDoOutput(true);
181 urlc
[all...]
/openjdk7/jdk/test/sun/net/www/http/ChunkedOutputStream/
H A DTest.java277 HttpURLConnection urlc = (HttpURLConnection)url.openConnection ();
278 urlc.setChunkedStreamingMode (20);
279 urlc.setDoOutput(true);
280 urlc.setRequestMethod ("POST");
281 OutputStream os = urlc.getOutputStream ();
284 InputStream is = urlc.getInputStream();
294 HttpURLConnection urlc = (HttpURLConnection)url.openConnection ();
295 urlc.setFixedLengthStreamingMode (str2.length());
296 urlc.setDoOutput(true);
297 urlc
[all...]
/openjdk7/jdk/test/com/sun/net/httpserver/
H A DTest6a.java57 HttpsURLConnection urlc = (HttpsURLConnection)url.openConnection ();
58 urlc.setDoOutput (true);
59 urlc.setRequestMethod ("POST");
60 urlc.setChunkedStreamingMode (32); // small chunks
61 urlc.setSSLSocketFactory (ssl.getSocketFactory());
62 urlc.setHostnameVerifier (new DummyVerifier());
63 OutputStream os = new BufferedOutputStream (urlc.getOutputStream());
68 int resp = urlc.getResponseCode();
H A DTest7a.java62 HttpsURLConnection urlc = (HttpsURLConnection)url.openConnection ();
63 urlc.setDoOutput (true);
64 urlc.setRequestMethod ("POST");
65 urlc.setChunkedStreamingMode (16 * 1024); // big chunks
66 urlc.setHostnameVerifier (new DummyVerifier());
67 urlc.setSSLSocketFactory (ssl.getSocketFactory());
68 OutputStream os = new BufferedOutputStream (urlc.getOutputStream(), 8000);
73 int resp = urlc.getResponseCode();
H A DTest6.java57 HttpURLConnection urlc = (HttpURLConnection)url.openConnection ();
58 urlc.setDoOutput (true);
59 urlc.setRequestMethod ("POST");
60 urlc.setChunkedStreamingMode (32); // small chunks
61 OutputStream os = new BufferedOutputStream (urlc.getOutputStream());
66 int resp = urlc.getResponseCode();
H A DTest7.java57 HttpURLConnection urlc = (HttpURLConnection)url.openConnection ();
58 urlc.setDoOutput (true);
59 urlc.setRequestMethod ("POST");
60 urlc.setChunkedStreamingMode (16 * 1024); // big chunks
61 OutputStream os = new BufferedOutputStream (urlc.getOutputStream());
66 int resp = urlc.getResponseCode();
H A DTest8a.java65 HttpsURLConnection urlc = (HttpsURLConnection)url.openConnection ();
66 urlc.setDoOutput (true);
67 urlc.setRequestMethod ("POST");
68 urlc.setHostnameVerifier (new DummyVerifier());
69 urlc.setSSLSocketFactory (ssl.getSocketFactory());
70 OutputStream os = new BufferedOutputStream (urlc.getOutputStream(), 8000);
75 int resp = urlc.getResponseCode();
79 InputStream is = urlc.getInputStream ();
H A DTest8.java57 HttpURLConnection urlc = (HttpURLConnection)url.openConnection ();
58 urlc.setDoOutput (true);
59 urlc.setRequestMethod ("POST");
60 OutputStream os = new BufferedOutputStream (urlc.getOutputStream());
65 int resp = urlc.getResponseCode();
/openjdk7/jdk/test/sun/net/www/protocol/http/
H A DSetChunkedStreamingMode.java71 HttpURLConnection urlc = (HttpURLConnection)url.openConnection();
72 urlc.setChunkedStreamingMode (0);
73 urlc.setRequestMethod("POST");
74 urlc.setDoOutput(true);
75 InputStream is = urlc.getInputStream();
H A DFinalizer.java90 URLConnection urlc = url.openConnection ();
91 urlc.connect ();
92 InputStream is = urlc.getInputStream ();
93 is = urlc.getInputStream ();
95 HttpURLConnection ht = (HttpURLConnection) urlc;
100 ht = null; urlc = null;
/openjdk7/jdk/test/java/net/ProxySelector/
H A DLoopbackAddresses.java66 HttpURLConnection urlc = (HttpURLConnection)url.openConnection ();
67 int respCode = urlc.getResponseCode();
68 urlc.disconnect();
75 HttpURLConnection urlc = (HttpURLConnection)url.openConnection ();
76 int respCode = urlc.getResponseCode();
77 urlc.disconnect();
/openjdk7/jdk/test/com/sun/net/httpserver/bugs/
H A DB6526158.java56 HttpURLConnection urlc = (HttpURLConnection)url.openConnection ();
57 urlc.setDoOutput (true);
59 OutputStream os = new BufferedOutputStream (urlc.getOutputStream());
64 InputStream is = urlc.getInputStream();
H A DB6886436.java55 HttpURLConnection urlc = (HttpURLConnection)url.openConnection ();
57 InputStream is = urlc.getInputStream();
60 urlc = (HttpURLConnection)url.openConnection ();
61 urlc.setReadTimeout (3000);
62 is = urlc.getInputStream();
H A DB6339483.java51 HttpURLConnection urlc = (HttpURLConnection)url.openConnection ();
53 InputStream is = urlc.getInputStream();

Completed in 48 milliseconds

1234