Modifier and Type | Class and Description |
---|---|
class |
AbstractResourceOrigin<P extends AbstractResource>
Exposes methods that
AbstractResource simply delegates to. |
Modifier and Type | Method and Description |
---|---|
ResourceOrigin |
DefaultResourceOrigins.get() |
ResourceOrigin |
ResourceStub.getOrigin()
Deprecated.
|
ResourceOrigin |
Resource.getOrigin() |
ResourceOrigin |
AbstractResource.getOrigin() |
Modifier and Type | Method and Description |
---|---|
ResourceOriginChange.Builder |
ResourceOriginChange.Builder.inOrigin(ResourceOrigin actualChangedOrigin) |
Constructor and Description |
---|
ResourceNotFoundException(ResourceOrigin origin,
String path) |
Modifier and Type | Class and Description |
---|---|
class |
ClasspathResourceOrigin
A
ResourceOrigin which serves resources collected from the web application classpath. |
class |
LegacyClasspathResourceOrigin
Exposes resources under the /mgnl-resources/ folder as if they were under the root path.
|
Modifier and Type | Class and Description |
---|---|
class |
FileSystemResourceOrigin
A
ResourceOrigin which loads resources on the file system. |
Modifier and Type | Class and Description |
---|---|
class |
JcrResourceOrigin
A
ResourceOrigin which loads resources from JCR. |
Modifier and Type | Class and Description |
---|---|
class |
LayeredResourceOrigin
An implementation of
ResourceOrigin which aggregates
other instances of ResourceOrigin ; resources located on the same path will
be served from the foremost ResourceOrigin, but resources that exist only on one path will always be served. |
Modifier and Type | Method and Description |
---|---|
LayeredResourceOrigin |
LayeredResourceOriginFactory.create(String name,
ResourceOrigin<?>... origins) |
Modifier and Type | Method and Description |
---|---|
static Function<ResourceOrigin,Resource> |
Functions.getByPath(String path)
Deprecated.
since 6.1 use
getByPath(String) and lambdas |
static Function<ResourceOrigin,Resource> |
Functions.getRoot()
Deprecated.
since 6.1 use
getRoot() method reference |
static Predicate<ResourceOrigin> |
Functions.hasPath(String path)
Deprecated.
since 6.1 use
hasPath(java.lang.String) and lambdas |
Copyright © 2003–2019 Magnolia International Ltd.. All rights reserved.