Searched refs:URLConnection (Results 1 - 25 of 161) sorted by relevance

1234567

/openjdk7/jdk/test/sun/net/www/protocol/file/
H A DDirPermissionDenied.java25 import java.net.URLConnection;
33 URLConnection uc = url.openConnection();
42 URLConnection uc = url.openConnection();
51 URLConnection uc = url.openConnection();
H A DGetLastModified.java26 * @summary File.lastModified() & URLConnection.getLastModified() are inconsistent
31 import java.net.URLConnection;
41 URLConnection conn = null;
H A DGetContentLength.java27 * @summary test URLConnection.GetContentLength for file protocol
37 URLConnection urlc = u.openConnection();
H A DGetContentType.java35 URLConnection urlc = url.openConnection();
/openjdk7/jdk/test/java/net/URLConnection/
H A DGetFileNameMap.java35 FileNameMap map = URLConnection.getFileNameMap();
H A DUNCTest.java29 URLConnection conn = url.openConnection();
H A DRequestPropertyValues.java27 * @summary Test URLConnection Request Proterties
31 import java.net.URLConnection;
37 * bug 6230836: A few methods of class URLConnection implemented incorrectly
57 URLConnection uc = (URLConnection) urls[proto].openConnection();
84 URLConnection conn = getConnection(url);
98 static URLConnection getConnection(URL url) {
102 static class DummyURLConnection extends URLConnection {
H A DExifContentGuesser.java27 * @summary java.net.URLConnection.guessContentTypeFromStream cannot
31 import java.net.URLConnection;
39 * This test makes sure that URLConnection.guessContentTypeFromStream
55 String content_type = URLConnection.guessContentTypeFromStream(in);
H A DGetLastModified.java27 * @summary Test that URLConnection.getLastModified returns the last
31 import java.net.URLConnection;
40 URLConnection conn = url.openConnection();
H A DConnect.java37 URLConnection urlConnection = url.openConnection();
/openjdk7/jdk/src/share/classes/java/net/
H A DContentHandler.java33 * <code>URLConnection</code>.
38 * <code>URL</code> or in <code>URLConnection</code>.
47 * If no content handler could be found, URLConnection will
63 * @see java.net.ContentHandler#getContent(java.net.URLConnection)
66 * @see java.net.URLConnection
67 * @see java.net.URLConnection#getContent()
68 * @see java.net.URLConnection#setContentHandlerFactory(java.net.ContentHandlerFactory)
81 abstract public Object getContent(URLConnection urlc) throws IOException;
99 public Object getContent(URLConnection urlc, Class[] classes) throws IOException {
/openjdk7/jdk/src/share/classes/sun/net/www/content/image/
H A Dgif.java29 import java.net.URLConnection;
39 public Object getContent(URLConnection urlc) throws java.io.IOException {
43 public Object getContent(URLConnection urlc, Class[] classes) throws IOException {
H A Djpeg.java29 import java.net.URLConnection;
38 public Object getContent(URLConnection urlc) throws java.io.IOException {
42 public Object getContent(URLConnection urlc, Class[] classes) throws IOException {
H A Dpng.java29 import java.net.URLConnection;
38 public Object getContent(URLConnection urlc) throws java.io.IOException {
42 public Object getContent(URLConnection urlc, Class[] classes) throws IOException {
/openjdk7/jdk/src/share/classes/com/sun/net/ssl/internal/www/protocol/https/
H A DHandler.java48 protected java.net.URLConnection openConnection(URL u) throws IOException {
52 protected java.net.URLConnection openConnection(URL u, Proxy p) throws IOException {
/openjdk7/jdk/test/java/net/ProxySelector/
H A DNullSelector.java26 * @summary URLConnection.openConnection NPE if ProxySelector.setDefault is set to null
36 URLConnection con = url.openConnection();
/openjdk7/jdk/test/java/net/URL/
H A DOpenConnection.java39 URLConnection con = u.openConnection(Proxy.NO_PROXY);
/openjdk7/jdk/src/share/classes/sun/net/www/content/audio/
H A Daiff.java40 public Object getContent(URLConnection uc) throws IOException {
H A Dbasic.java42 public Object getContent(URLConnection uc) throws IOException {
H A Dwav.java40 public Object getContent(URLConnection uc) throws IOException {
H A Dx_aiff.java40 public Object getContent(URLConnection uc) throws IOException {
H A Dx_wav.java40 public Object getContent(URLConnection uc) throws IOException {
/openjdk7/jdk/src/share/classes/sun/net/www/content/text/
H A Dplain.java40 public Object getContent(URLConnection uc) {
/openjdk7/jaxws/src/share/jaf_classes/javax/activation/
H A DURLDataSource.java29 import java.net.URLConnection;
49 private URLConnection url_conn = null;
64 * It calls the URL's <code>URLConnection.getContentType</code> method
65 * after retrieving a URLConnection object.
68 * returned from the URLConnection, getContentType returns
112 * made to get the URLConnection object for the URL. If that
113 * succeeds, the getOutputStream method on the URLConnection
/openjdk7/jdk/test/java/net/URLConnection/contentHandler/COM/foo/content/text/
H A Dplain.java46 import java.net.URLConnection;
64 public Object getContent(URLConnection uc) {

Completed in 141 milliseconds

1234567