org.apache.sling.scripting.sightly.ResourceResolution
class instead.@Deprecated
public class ResourceResolution
extends java.lang.Object
| Constructor and Description |
|---|
ResourceResolution()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static Resource |
resolveComponentForRequest(ResourceResolver resolver,
SlingHttpServletRequest request)
Deprecated.
|
static Resource |
resolveComponentRelative(ResourceResolver resourceResolver,
Resource base,
java.lang.String path)
Deprecated.
Resolve the resource with the given path relative to the base resource, using the
resource super type logic
|
public static Resource resolveComponentRelative(ResourceResolver resourceResolver, Resource base, java.lang.String path)
resourceResolver - The resource resolver to be usedbase - the base resource. It can be null if path is absolutepath - the path to the resourcejava.lang.UnsupportedOperationException - if the resource is not in the resource resolver's search pathjava.lang.IllegalStateException - if the number of steps necessary to search for the resource on the resource
superType chain has reached the maximum limitjava.lang.IllegalArgumentException - if a null componentResource is provided but the path is not absolutepublic static Resource resolveComponentForRequest(ResourceResolver resolver, SlingHttpServletRequest request)
"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"