Package | Description |
---|---|
net.jini.loader.pref |
Provides class loader and
RMIClassLoader
provider implementations that support preferred classes. |
org.apache.river.api.net | |
org.apache.river.api.security |
This package contains a scalable cache based security manager that parallelises
domain security checks.
|
Modifier and Type | Field and Description |
---|---|
private static java.util.concurrent.ConcurrentMap<List<Uri>,URL[]> |
PreferredClassProvider.urlCache
URL cache is time based, we need this to be as fast as possible,
every remote class to be loaded is annotated.
|
Modifier and Type | Method and Description |
---|---|
private Uri[] |
PreferredClassProvider.getLoaderAnnotationURIs(ClassLoader loader)
Returns an array of URLs corresponding to the annotation string
for the specified class loader, or null if the annotation
string is null.
|
private static Uri[] |
PreferredClassProvider.pathToURIs(String path)
Convert a string containing a space-separated list of URL Strings into a
corresponding array of Uri objects, throwing a MalformedURLException
if any of the URLs are invalid.
|
Modifier and Type | Method and Description |
---|---|
private URL[] |
PreferredClassProvider.asURL(Uri[] uris)
Converts Uri[] to URL[].
|
private void |
PreferredClassProvider.checkLoader(ClassLoader loader,
ClassLoader parent,
Uri[] uris,
URL[] urls) |
private ClassLoader |
PreferredClassProvider.findOriginLoader(Uri[] pathURLs,
ClassLoader parent)
Return the origin class loader for the
pathURLs or
null if the origin loader was not present in the delegation
hierarchy. |
private ClassLoader |
PreferredClassProvider.findOriginLoader0(Uri[] pathURLs,
ClassLoader parent) |
private ClassLoader |
PreferredClassProvider.lookupLoader(Uri[] uris,
URL[] urls,
ClassLoader parent)
Look up the class loader for the given codebase URL path
and the given parent class loader.
|
private boolean |
PreferredClassProvider.urlsMatchLoaderAnnotation(Uri[] urls,
ClassLoader loader)
Returns true if the specified path of URLs is equal to the
annotation URLs of the specified loader, and false otherwise.
|
Modifier and Type | Field and Description |
---|---|
private Uri |
RFC3986URLClassLoader.UriCodeSource.uri |
Modifier and Type | Field and Description |
---|---|
private Map<Uri,RFC3986URLClassLoader.URLHandler> |
RFC3986URLClassLoader.handlerMap |
private Map<Uri,RFC3986URLClassLoader.URLHandler> |
RFC3986URLClassLoader.URLJarHandler.subHandlers |
Modifier and Type | Method and Description |
---|---|
static Uri |
Uri.create(String rfc3986compliantURI)
Parses the given argument
rfc3986compliantURI and creates an appropriate URI
instance. |
static Uri |
Uri.escapeAndCreate(String unescapedString)
The parameter string doesn't contain any existing escape sequences, any
escape character % found is encoded as %25.
|
static Uri |
Uri.filePathToUri(String path) |
static Uri |
Uri.fileToUri(File file) |
Uri |
Uri.normalize()
Normalizes the path part of this URI.
|
static Uri |
Uri.parseAndCreate(String nonCompliantEscapedString)
The parameter string may already contain escaped sequences, any illegal
characters are escaped and any that shouldn't be escaped are un-escaped.
|
Uri |
Uri.parseServerAuthority()
Tries to parse the authority component of this URI to divide it into the
host, port, and user-info.
|
Uri |
Uri.relativize(Uri relative)
Makes the given URI
relative to a relative URI against the URI
represented by this instance. |
Uri |
Uri.resolve(String relative)
Creates a new URI instance by parsing the given string
relative
and resolves the created URI against the URI represented by this
instance. |
Uri |
Uri.resolve(Uri relative)
Resolves the given URI
relative against the URI represented by
this instance. |
static Uri |
Uri.urlToUri(URL url) |
Modifier and Type | Method and Description |
---|---|
int |
Uri.compareTo(Uri uri)
Compares this URI with the given argument
uri . |
boolean |
Uri.implies(Uri implied)
Indicates whether the specified Uri is implied by this
Uri . |
Uri |
Uri.relativize(Uri relative)
Makes the given URI
relative to a relative URI against the URI
represented by this instance. |
Uri |
Uri.resolve(Uri relative)
Resolves the given URI
relative against the URI represented by
this instance. |
static File |
Uri.uriToFile(Uri uri) |
static URI |
Uri.uriToURI(Uri uri) |
Modifier and Type | Field and Description |
---|---|
private Collection<Uri> |
URIGrant.location |
Modifier and Type | Method and Description |
---|---|
Uri |
URIGrant.NormaliseURLAction.run() |
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.