Home
last modified time | relevance | path

Searched refs:newResource (Results 1 – 25 of 26) sorted by relevance

12

/external/jetty/src/java/org/eclipse/jetty/util/resource/
DResource.java76 public static Resource newResource(URI uri) in newResource() method in Resource
79 return newResource(uri.toURL()); in newResource()
88 public static Resource newResource(URL url) in newResource() method in Resource
91 return newResource(url, __defaultUseCaches); in newResource()
101 static Resource newResource(URL url, boolean useCaches) in newResource() method in Resource
139 public static Resource newResource(String resource) in newResource() method in Resource
142 return newResource(resource, __defaultUseCaches); in newResource()
151 public static Resource newResource (String resource, boolean useCaches) in newResource() method in Resource
192 return newResource(url); in newResource()
196 public static Resource newResource (File file) in newResource() method in Resource
[all …]
DJarFileResource.java147 try{return newResource(file_url).exists();} in exists()
402 JarFileResource newResource = new JarFileResource(oldResource.getURL(), false); in getNonCachingResource() local
403 return newResource; in getNonCachingResource()
DResourceCollection.java103 _resources[i] = Resource.newResource(resources[i]); in ResourceCollection()
174 _resources[i] = Resource.newResource(tokenizer.nextToken().trim()); in setResourcesAsCSV()
DURLResource.java285 return newResource(URIUtil.addPaths(_url.toExternalForm(),path)); in addPath()
DJarResource.java271 return Resource.newResource("jar:" + resource + "!/");
DFileResource.java166 r=(URLResource)Resource.newResource(url); in addPath()
/external/jetty/src/java/org/eclipse/jetty/util/component/
DFileDestroyable.java43 _files.add(Resource.newResource(file).getFile()); in FileDestroyable()
53 _files.add(Resource.newResource(file).getFile()); in addFile()
68 _files.remove(Resource.newResource(file).getFile()); in removeFile()
/external/jetty/src/java/org/eclipse/jetty/webapp/
DWebXmlConfiguration.java53 dftResource = context.newResource(defaultsDescriptor); in preConfigure()
73 orideResource = context.newResource(overrideDescriptor); in preConfigure()
103 Resource web = context.newResource(descriptor); in findWebXml()
DMetaInfConfiguration.java132 addResource(context,METAINF_FRAGMENTS,Resource.newResource(jarUri)); in processEntry()
136 … addResource(context,METAINF_RESOURCES,Resource.newResource("jar:"+jarUri+"!/META-INF/resources")); in processEntry()
143 addResource(context,METAINF_TLDS,Resource.newResource("jar:"+jarUri+"!/"+name)); in processEntry()
DWebInfConfiguration.java87 context.getMetaData().addContainerJar(Resource.newResource(uri)); in preConfigure()
124 context.getMetaData().addWebInfJar(Resource.newResource(uri)); in preConfigure()
412 web_app = context.newResource(war); in unpack()
420 web_app = context.newResource(web_app.getAlias()); in unpack()
448 File warfile=Resource.newResource(war).getFile(); in unpack()
498 web_app = Resource.newResource(extractedWebAppDir.getCanonicalPath()); in unpack()
550 web_inf=Resource.newResource(extractedWebInfDir.getCanonicalPath()); in unpack()
643 resource=context.newResource(context.getResourceBase()); in getCanonicalNameForWebAppTmpDir()
646 resource = context.newResource(context.getWar()); in getCanonicalNameForWebAppTmpDir()
DFragmentConfiguration.java80 …metaData.addFragment(frag, Resource.newResource(frag.getURL()+"/META-INF/web-fragment.xml")); … in findWebFragments()
84 …metaData.addFragment(frag, Resource.newResource("jar:"+frag.getURL()+"!/META-INF/web-fragment.xml"… in findWebFragments()
DWebAppClassLoader.java83 Resource newResource(String urlOrPath) throws IOException; in newResource() method
226 Resource resource= _context.newResource(tokenizer.nextToken().trim()); in addClassPath()
DJarScanner.java151 InputStream in = Resource.newResource(uri).getInputStream(); in matched()
DMetaData.java557 public void addWebInfJar(Resource newResource) in addWebInfJar() argument
559 _webInfJars.add(newResource); in addWebInfJar()
DTagLibConfiguration.java189 return Resource.newResource(url); in extractJarResource()
/external/jetty/src/java/org/eclipse/jetty/util/security/
DCertificateUtils.java43 inStream = Resource.newResource(storePath).getInputStream(); in getKeyStore()
79 in = Resource.newResource(crlPath).getInputStream(); in loadCRL()
/external/jetty/src/java/org/eclipse/jetty/server/handler/
DResourceHandler.java207 setBaseResource(Resource.newResource(resourceBase)); in setResourceBase()
233 … _defaultStylesheet = Resource.newResource(this.getClass().getResource("/jetty-dir.css")); in getStylesheet()
253 _stylesheet = Resource.newResource(stylesheet); in setStylesheet()
DContextHandler.java467 Resource resource = newResource(urls[i]); in getClassPath()
1347 setBaseResource(newResource(resourceBase)); in setResourceBase()
1624 public Resource newResource(URL url) throws IOException in newResource() method in ContextHandler
1626 return Resource.newResource(url); in newResource()
1639 public Resource newResource(String urlOrPath) throws IOException in newResource() method in ContextHandler
1641 return Resource.newResource(urlOrPath); in newResource()
1958 Resource r = Resource.newResource(url); in getResourceAsStream()
DDefaultHandler.java70 Resource r = Resource.newResource(fav); in DefaultHandler()
/external/jetty/src/java/org/eclipse/jetty/security/
DPropertyUserStore.java102 _configResource = Resource.newResource(_config); in getConfigResource()
266 Resource r = Resource.newResource(filenames.get(0)); in doStart()
DSpnegoLoginService.java100 Resource resource = Resource.newResource(_config); in doStart()
DJDBCLoginService.java118 Resource resource = Resource.newResource(_config); in doStart()
/external/jetty/src/java/org/eclipse/jetty/servlet/
DDefaultServlet.java219 try{_resourceBase=_contextHandler.newResource(rb);} in init()
232 _stylesheet = Resource.newResource(css); in init()
241 _stylesheet = Resource.newResource(this.getClass().getResource("/jetty-dir.css")); in init()
387 r = _contextHandler.newResource(u); in getResource()
/external/jetty/src/java/org/eclipse/jetty/util/
DLoader.java178 Resource resource = Resource.newResource(urls[i]); in getClassPath()
/external/jetty/src/java/org/eclipse/jetty/xml/
DXmlConfiguration.java1246 properties.load(Resource.newResource(args[i]).getInputStream()); in main()
1250 … XmlConfiguration configuration = new XmlConfiguration(Resource.newResource(args[i]).getURL()); in main()

12