Search Results
OK to copy?
Examples 1 through 10 of
169 (0.0020 seconds)
Class:
org.springframework.remoting.httpinvoker.SimpleHttpInvokerRequestExecutor
©,
Rating:
100% of 1,
C1
Class: org.springframework.core.io.UrlResource ©, Rating: 0% of 0, C1
Class: org.springframework.core.io.UrlResource ©, Rating: 0% of 0, C1
Class: org.apache.batik.util.ParsedURLJarProtocolHandler ©, Rating: 0% of 0, C1
Class: org.apache.batik.util.ParsedURLJarProtocolHandler ©, Rating: 0% of 0, C1
Class: org.springframework.core.io.FileSystemResource ©, Rating: 0% of 0, C1
Class: com.technoetic.xplanner.wiki.GenericWikiAdapter ©, Rating: 0% of 0, C2
Class: org.springframework.context.support.ResourceEntityResolver ©, Rating: 0% of 0, C2
Class: org.springframework.core.io.DefaultResourceLoader ©, Rating: 0% of 0, C1
Class: org.apache.webapp.balancer.RuleChain ©, Rating: 0% of 0, C1
42 throws IOException, ClassNotFoundException {
43
44 URLConnection con = new URL(config.getServiceUrl()).openConnection();
45 if (!(con instanceof HttpURLConnection)) {
46 throw new IOException("Service URL [" + config.getServiceUrl() + "] is not an HTTP URL");
Class: org.springframework.core.io.UrlResource ©, Rating: 0% of 0, C1
72 relativePath = relativePath.substring(1);
73 }
74 return new UrlResource(new URL(this.url, relativePath));
75 }
76
Class: org.springframework.core.io.UrlResource ©, Rating: 0% of 0, C1
53 public UrlResource(String path) throws MalformedURLException {
54 Assert.notNull(path, "path is required");
55 this.url = new URL(path);
56 }
57
Class: org.apache.batik.util.ParsedURLJarProtocolHandler ©, Rating: 0% of 0, C1
85 try {
86 URL context = new URL(baseURL.toString());
87 URL url = new URL(context, urlStr);
88 return constructParsedURLData(url);
89 } catch (MalformedURLException mue) {
Class: org.apache.batik.util.ParsedURLJarProtocolHandler ©, Rating: 0% of 0, C1
84 // It's relative so base it off baseURL.
85 try {
86 URL context = new URL(baseURL.toString());
87 URL url = new URL(context, urlStr);
88 return constructParsedURLData(url);
Class: org.springframework.core.io.FileSystemResource ©, Rating: 0% of 0, C1
069
070 public URL getURL() throws IOException {
071 return new URL(ResourceUtils.URL_PROTOCOL_FILE + ":" + this.file.getAbsolutePath());
072 }
073
Class: com.technoetic.xplanner.wiki.GenericWikiAdapter ©, Rating: 0% of 0, C2
56 }
57 try {
58 URL url = new URL(formatUrl(wikiWord, existingTopicUrlPattern));
59 InputStream page = url.openStream();
60 BufferedReader reader = new BufferedReader(new InputStreamReader(page));
Class: org.springframework.context.support.ResourceEntityResolver ©, Rating: 0% of 0, C2
62 try {
63 String decodedSystemId = URLDecoder.decode(systemId);
64 String givenUrl = new URL(decodedSystemId).toString();
65 String systemRootUrl = new File("").toURL().toString();
66 // try relative to resource base if currently in system root
Class: org.springframework.core.io.DefaultResourceLoader ©, Rating: 0% of 0, C1
Class: org.apache.webapp.balancer.RuleChain ©, Rating: 0% of 0, C1
102 if (currentMatches) {
103 try {
104 return new URL(currentRule.getRedirectUrl());
105 } catch (Exception e) {
106 throw new RuntimeException(e);