Searched refs:url (Results 201 - 225 of 716) sorted by relevance

1234567891011>>

/openjdk10/jdk/test/java/net/URLClassLoader/
H A DClassLoad.java59 URL url = new URL("http://localhost:" + server.getAddress().getPort());
61 ClassLoader loader = new URLClassLoader(new URL[] { url });
62 System.out.println(url);
/openjdk10/jdk/test/java/net/URL/
H A DGetContent.java76 java.net.URL url = null;
77 url = new java.net.URL(name);
78 Object obj = url.getContent();
H A DConstructor.java53 URL url;
57 url = new URL(e.spec);
59 url = new URL(new URL(e.context), e.spec);
61 if (!(url.toString().equals(e.expected))) {
65 "\n\tactual: " + url.toString());
68 //System.out.println("success for: " + url);
/openjdk10/jdk/test/java/net/ProxySelector/
H A DProxyTest.java79 URL url = new URL("http://localhost:"+server.getLocalPort());
80 System.out.println ("client opening connection to: " + url);
81 HttpURLConnection urlc = (HttpURLConnection)url.openConnection ();
/openjdk10/jdk/test/java/net/ResponseCache/
H A DgetResponseCode.java40 static URL url; field in class:getResponseCode
45 url = new URL("http://localhost/file1.cache");
46 HttpURLConnection http = (HttpURLConnection)url.openConnection();
/openjdk10/jdk/test/java/util/spi/ResourceBundleControlProvider/com/foo/
H A DUserXMLControl.java55 URL url = loader.getResource(resourceName);
56 if (url != null) {
57 URLConnection connection = url.openConnection();
/openjdk10/jdk/test/sun/net/www/protocol/http/
H A DRelativeRedirect.java95 URL url = new URL("http://localhost:"+server.getLocalPort());
96 System.out.println ("client opening connection to: " + url);
97 HttpURLConnection urlc = (HttpURLConnection)url.openConnection ();
H A DSetChunkedStreamingMode.java70 URL url = new URL ("http://127.0.0.1:"+server.getLocalPort()+"/");
71 System.out.println ("Client: connecting to " + url);
72 HttpURLConnection urlc = (HttpURLConnection)url.openConnection();
H A DSetIfModifiedSince.java85 URL url;
88 //url = new URL(args[0]);
89 url = new URL("http://localhost:" + String.valueOf(port) +
91 con = (HttpURLConnection)url.openConnection(Proxy.NO_PROXY);
/openjdk10/jdk/test/sun/net/www/protocol/jrt/
H A DWithSecurityManager.java61 URL url = new URL("jrt:/java.base/java/lang/Object.class");
62 if (url != null) {
64 in = url.openStream();
/openjdk10/jdk/test/sun/net/www/protocol/jar/
H A DB6449504.java51 URL url = new URL(u + "!/DoesNotExist.txt");
52 System.out.println("url = " + url);
53 JarURLConnection j1 = (JarURLConnection)url.openConnection();
/openjdk10/jdk/src/java.base/share/classes/jdk/internal/loader/
H A DBuiltinClassLoader.java122 URL url = null;
125 url = mref.location().get().toURL();
130 this.codeSourceURL = url;
220 URL url = null;
226 url = findResource(mref, name);
230 url = findResourceOnClassPath(name);
233 return checkURL(url); // check access before returning
246 URL url = findResource(mn, name);
247 return (url != null) ? url
815 defineOrCheckPackage(String pn, Manifest man, URL url) argument
840 getAndVerifyPackage(String pn, Manifest man, URL url) argument
867 definePackage(String pn, Manifest man, URL url) argument
1044 checkURL(URL url) argument
[all...]
/openjdk10/jdk/src/java.base/share/classes/java/net/
H A DURLClassLoader.java317 URL url = getResource(name);
319 if (url == null) {
322 URLConnection urlc = url.openConnection();
414 * @param url the URL to be added to the search path of URLs
416 protected void addURL(URL url) { argument
417 ucp.addURL(url);
477 Manifest man, URL url) {
483 if (!pkg.isSealed(url)) {
508 URL url = res.getCodeSourceURL();
513 if (getAndVerifyPackage(pkgname, man, url)
476 getAndVerifyPackage(String pkgname, Manifest man, URL url) argument
567 definePackage(String name, Manifest man, URL url) argument
[all...]
/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/
H A DSource.java142 return new DebuggerSupport.SourceInfo(getName(), data.hashCode(), data.url(), data.array());
148 URL url(); method in interface:Source.Data
205 public URL url() { method in class:Source.RawData
232 private final URL url; field in class:Source.URLData
239 private URLData(final URL url, final Charset cs) { argument
240 this.url = Objects.requireNonNull(url);
248 h = hash = url.hashCode();
264 if (url.equals(otherData.url)) {
290 public URL url() { method in class:Source.URLData
456 sourceFor(final String name, final URL url) argument
471 sourceFor(final String name, final URL url, final Charset cs) argument
825 readFully(final URL url) argument
837 readFully(final URL url, final Charset cs) argument
885 baseURL(final URL url) argument
[all...]
/openjdk10/jdk/src/java.sql/share/classes/java/sql/
H A DDriverManager.java166 * <B>Note:</B> If a property is specified as part of the {@code url} and
172 * @param url a database url of the form
178 * @exception SQLException if a database access error occurs or the url is
186 public static Connection getConnection(String url, argument
189 return (getConnection(url, info, Reflection.getCallerClass()));
198 * also specified as part of the {@code url}, it is
203 * @param url a database url of the form
209 * @exception SQLException if a database access error occurs or the url i
217 getConnection(String url, String user, String password) argument
247 getConnection(String url) argument
266 getDriver(String url) argument
646 getConnection( String url, java.util.Properties info, Class<?> caller) argument
[all...]
/openjdk10/jdk/test/javax/management/remote/mandatory/util/
H A DMapNullValuesTest.java160 JMXServiceURL url =
164 JMXConnectorServerFactory.newJMXConnectorServer(url,
201 JMXServiceURL url =
205 JMXConnectorServerFactory.newJMXConnectorServer(url,
241 JMXServiceURL url = null;
247 url = new JMXServiceURL(urlStr + "1");
248 jmxcs = JMXConnectorServerFactory.newJMXConnectorServer(url,
260 url = new JMXServiceURL(urlStr + "2");
261 jmxcs = JMXConnectorServerFactory.newJMXConnectorServer(url,
277 url
[all...]
/openjdk10/jaxws/src/java.xml.bind/share/classes/javax/xml/bind/helpers/
H A DValidationEventLocatorImpl.java78 this.url = toURL(loc.getSystemId());
101 this.url = toURL(e.getSystemId());
154 private URL url = null; field in class:ValidationEventLocatorImpl
166 return url;
172 * @param _url the url
175 this.url = _url;
265 return MessageFormat.format("[node={0},object={1},url={2},line={3},col={4},offset={5}]",
/openjdk10/jdk/src/java.base/share/classes/sun/net/www/http/
H A DHttpCapture.java112 private HttpCapture(File f, java.net.URL url) { argument
116 out.write("URL: " + url + "\n");
144 public static HttpCapture getCapture(java.net.URL url) { argument
151 String s = url.toString();
166 return new HttpCapture(fi, url);
/openjdk10/jdk/src/java.desktop/share/classes/com/sun/media/sound/
H A DJARSoundbankReader.java51 private static boolean isZIP(URL url) { argument
54 InputStream stream = url.openStream();
74 public Soundbank getSoundbank(URL url) argument
76 if (!isZIP(url))
79 URLClassLoader ucl = URLClassLoader.newInstance(new URL[]{url});
/openjdk10/jdk/src/java.base/share/classes/jdk/internal/jrtfs/
H A DSystemImage.java117 URL url = cs.getLocation();
118 if (!url.getProtocol().equalsIgnoreCase("file"))
119 throw new InternalError(url + " loaded in unexpected way");
121 Path lib = Paths.get(url.toURI()).getParent();
123 throw new InternalError(url + " unexpected path");
/openjdk10/jdk/test/com/sun/jmx/remote/NotificationMarshalVersions/
H A DTestSerializationMismatch.java63 String url = startServer();
64 debug("server started and listening on " + url);
66 startClient(url);
116 static void startClient(String url) throws Exception { argument
122 runMethod.invoke(null, url);
/openjdk10/jdk/test/javax/management/loading/
H A DMLetContentTest.java66 URL url = new URL(baseUrl+myfile);
67 MLetContent content = new MLetContent(url, attributes, types, values);
73 if (!url.equals(content.getDocumentBase())) {
106 throw new RuntimeException("The user specific base url are changed.");
109 url = new URL(baseUrl);
111 content = new MLetContent(url, attributes, types, values);
114 throw new RuntimeException("The user specific base url are changed.");
/openjdk10/jdk/test/javax/management/remote/mandatory/notif/
H A DServerNotifs.java64 JMXServiceURL url = new JMXServiceURL("service:jmx:rmi://");
66 JMXConnectorServerFactory.newJMXConnectorServer(url,
77 url = cs.getAddress();
78 echo("---RMIConnectorServer address: " + url);
86 JMXConnector c = JMXConnectorFactory.newJMXConnector(url, null);
/openjdk10/jdk/src/java.base/share/classes/sun/net/www/protocol/jrt/
H A DJavaRuntimeURLConnection.java66 JavaRuntimeURLConnection(URL url) throws IOException { argument
67 super(url);
68 String path = url.getPath();
70 throw new MalformedURLException(url + " missing path or /");
92 URL url = toJrtURL(module, name);
94 if (location != null && URLClassPath.checkURL(url) != null) {
102 return url;
/openjdk10/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/addressing/policy/
H A DAddressingFeatureConfigurator.java140 private static String toJar(String url) { argument
141 if(!url.startsWith("jar:"))
142 return url;
143 url = url.substring(4); // cut off jar:
144 return url.substring(0,url.lastIndexOf('!')); // cut off everything after '!'

Completed in 191 milliseconds

1234567891011>>