Searched refs:url (Results 101 - 125 of 582) sorted by relevance

1234567891011>>

/openjdk7/jdk/test/sun/net/www/protocol/file/
H A DGetLastModified.java40 URL url = new URL("file://localhost"+s);
42 conn = url.openConnection();
H A DNonUTF8EncodedChar.java39 URL url = new URL(s);
40 URLConnection urlCon = url.openConnection();
/openjdk7/jdk/src/share/sample/nio/server/
H A DURLDumper.java64 URL url = new URL(location);
69 InputStream is = url.openStream();
/openjdk7/jdk/src/share/classes/sun/misc/
H A DURLClassPath.java143 public synchronized void addURL(URL url) { argument
147 if (url == null || path.contains(url))
150 urls.add(0, url);
151 path.add(url);
176 URL url = loader.findResource(name, check);
177 if (url != null) {
178 return url;
218 private URL url = null;
221 if (url !
353 getLoader(final URL url) argument
421 checkURL(URL url) argument
436 check(URL url) argument
478 Loader(URL url) argument
606 JarLoader(URL url, URLStreamHandler jarHandler, HashMap<String, Loader> loaderMap) argument
658 isOptimizable(URL url) argument
721 getJarFile(URL url) argument
1033 FileLoader(URL url) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/awt/
H A DDesktopBrowse.java45 public abstract void browse(URL url); argument
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/
H A DSDDocumentSource.java92 public static SDDocumentSource create(final URL url) { argument
94 private final URL systemId = url;
97 InputStream is = url.openStream();
103 InputStream is = url.openStream();
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/parser/
H A DEntityResolverWrapper.java62 URL url = new URL(systemId);
63 InputStream stream = url.openStream();
64 return new Parser(url,
65 new TidyXMLStreamReader(XMLStreamReaderFactory.create(url.toExternalForm(), stream, true), stream));
/openjdk7/jdk/test/java/security/Security/ClassLoaderDeadlock/
H A DClassLoaderDeadlock.java34 URL url = new URL("file:provider/");
35 final DelayClassLoader cl = new DelayClassLoader(url);
76 DelayClassLoader(URL url) { argument
77 super(new URL[] {url});
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/jar/
H A DURLJarFile.java63 static JarFile getJarFile(URL url) throws IOException { argument
64 return getJarFile(url, null);
67 static JarFile getJarFile(URL url, URLJarFileCloseController closeController) throws IOException { argument
68 if (isFileURL(url))
69 return new URLJarFile(url, closeController);
71 return retrieve(url, closeController);
92 private URLJarFile(URL url, URLJarFileCloseController closeController) throws IOException { argument
93 super(ParseUtil.decode(url.getFile()));
97 private static boolean isFileURL(URL url) { argument
98 if (url
189 retrieve(final URL url) argument
197 retrieve(final URL url, final URLJarFileCloseController closeController) argument
[all...]
H A DHandler.java126 protected void parseURL(URL url, String spec, argument
136 file = url.getFile();
141 // 2. relative (i.e. url + foo/bar/baz.ext)
142 // 3. anchor-only (i.e. url + #foo), which we already did (refOnly)
152 file = parseContextSpec(url, spec);
162 setURL(url, "jar", "", -1, file, ref);
166 URL url = null;
175 url = new URL(innerSpec);
177 throw new NullPointerException("invalid url: " +
183 private String parseContextSpec(URL url, Strin argument
[all...]
/openjdk7/jdk/make/com/sun/jndi/cosnaming/
H A DMakefile43 AUTO_FILES_JAVA_DIRS = com/sun/jndi/cosnaming com/sun/jndi/url
/openjdk7/jdk/make/com/sun/jndi/dns/
H A DMakefile38 AUTO_FILES_JAVA_DIRS = com/sun/jndi/dns com/sun/jndi/url/dns
/openjdk7/jdk/make/com/sun/jndi/ldap/
H A DMakefile43 AUTO_FILES_JAVA_DIRS = com/sun/jndi/ldap com/sun/jndi/url/ldap
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/server/
H A DServerMgr.java72 URL url = new URL(address);
73 int port = url.getPort();
75 port = url.getDefaultPort();
77 InetSocketAddress inetAddress = new InetSocketAddress(url.getHost(),
86 String path = url.toURI().getPath();
97 logger.fine("Creating HTTP Context at = "+url.getPath());
98 HttpContext context = server.createContext(url.getPath());
/openjdk7/jdk/src/share/classes/com/sun/jndi/cosnaming/
H A DIiopUrl.java34 import com.sun.jndi.toolkit.url.UrlUtil;
41 * iiopname url = "iiopname://" [addr_list]["/" string_name]
61 * iiop url = "iiop://" [host [":" port]] ["/" string_name]
168 public IiopUrl(String url) throws MalformedURLException { argument
172 if (url.startsWith("iiopname://")) {
175 } else if (url.startsWith("iiop://")) {
179 throw new MalformedURLException("Invalid iiop/iiopname URL: " + url);
181 int addrEnd = url.indexOf('/', addrStart);
183 addrEnd = url.length();
186 stringName = UrlUtil.decode(url
[all...]
/openjdk7/jdk/src/share/classes/java/net/
H A DJarURLConnection.java43 * jar:&lt;url&gt;!/{entry}
66 * URL url = new URL("jar:file:/home/duke/duke.jar!/");
67 * JarURLConnection jarConnection = (JarURLConnection)url.openConnection();
91 * <p>When constructing a JAR url via <code>new URL(context, spec)</code>,
114 * <dd>url:<b>jar:http://www.foo.com/bar/jar.jar!/baz/entry.txt</b>
119 * <dd>url:<b>jar:http://www.foo.com/bar/jar.jar!/baz/entry.txt</b>
124 * <dd>url:<b>jar:http://www.foo.com/bar/jar.jar!/entry.txt</b>
154 * @param url the URL
160 protected JarURLConnection(URL url) throws MalformedURLException { argument
161 super(url);
168 parseSpecs(URL url) argument
[all...]
/openjdk7/jdk/src/share/classes/java/sql/
H A DDriverManager.java176 * @param url a database url of the form
185 public static Connection getConnection(String url, argument
187 return (getConnection(url, info, Reflection.getCallerClass()));
195 * @param url a database url of the form
204 public static Connection getConnection(String url, argument
215 return (getConnection(url, info, Reflection.getCallerClass()));
223 * @param url a database url o
229 getConnection(String url) argument
248 getDriver(String url) argument
539 getConnection( String url, java.util.Properties info, Class<?> caller) argument
[all...]
/openjdk7/jdk/test/java/net/URL/
H A DTest.java55 URL url = null; field in class:Test
58 String op = null; // Op performed if url != originalURL
67 url = new URL(s);
71 originalURL = url;
81 url = new URL(s);
85 if (url != null)
86 input = url.toString();
87 originalURL = url;
96 url = new URL(base, spec);
100 if (url !
128 URL url() { method in class:Test
[all...]
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/naming/namingutil/
H A DCorbalocURL.java51 String url = aURL;
53 if( url != null ) {
56 url = Utility.cleanEscapes( url );
62 int endIndex = url.indexOf( '/' );
65 endIndex = url.length();
69 // The url starts with a '/', it's an error
75 url.substring( 0, endIndex ), "," );
109 if( url.length() > (endIndex + 1) ) {
110 theKeyString = url
[all...]
/openjdk7/jdk/src/share/classes/com/sun/jndi/ldap/
H A DLdapURL.java35 import com.sun.jndi.toolkit.url.Uri;
36 import com.sun.jndi.toolkit.url.UrlUtil;
80 public LdapURL(String url) throws NamingException { argument
85 init(url); // scheme, host, port, path, query
89 throw new MalformedURLException("Not an LDAP URL: " + url);
95 NamingException ne = new NamingException("Cannot parse url: " + url);
99 NamingException ne = new NamingException("Cannot parse url: " + url);
167 public static boolean hasQueryComponents(String url) { argument
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/istack/internal/tools/
H A DParallelWorldClassLoader.java208 String url = res.toExternalForm();
209 if(!url.startsWith("jar:"))
210 throw new ClassNotFoundException("Loaded outside a jar "+url);
211 url = url.substring(4); // cut off jar:
212 url = url.substring(0,url.lastIndexOf('!')); // cut off everything after '!'
213 return new URL(url);
/openjdk7/jdk/src/share/classes/com/sun/tools/extcheck/
H A DExtCheck.java93 URL url = ParseUtil.fileToEncodedURL(canon);
94 if (url != null){
95 JarLoader loader = new JarLoader(url);
165 URL url = ParseUtil.fileToEncodedURL(canon);
166 if (url != null){
167 result = result && checkURLRecursively(1,url);
191 * @param url is the path to the jar file being checked.
194 private boolean checkURLRecursively(int indent, URL url) argument
197 verboseMessage("Comparing with " + url);
198 JarLoader jarloader = new JarLoader(url);
330 JarLoader(URL url) argument
357 findJarFile(URL url) argument
[all...]
/openjdk7/jaxp/src/javax/xml/validation/
H A DSecuritySupport.java84 InputStream getURLInputStream(final URL url) argument
91 return url.openStream();
105 URL url;
107 url = Object.class.getResource(name);
109 url = cl.getResource(name);
111 return url;
/openjdk7/jaxp/src/javax/xml/xpath/
H A DSecuritySupport.java81 InputStream getURLInputStream(final URL url) argument
88 return url.openStream();
102 URL url;
104 url = Object.class.getResource(name);
106 url = cl.getResource(name);
108 return url;
/openjdk7/jdk/test/sun/net/www/protocol/http/
H A DB6299712.java43 * for url ends with "/redirect", i.e. the url redirected to by our simple http server,
44 * and null for other url.
73 URL url = new URL("http" , InetAddress.getLocalHost().getHostAddress(),
75 HttpURLConnection uc = (HttpURLConnection)url.openConnection();
127 URL url = uri.toURL();
128 return new DeployCacheRequest(url, conn);
139 DeployCacheRequest(URL url, URLConnection conn) { argument
140 _url = url;

Completed in 157 milliseconds

1234567891011>>