org.apache.sling.scripting.sightly.ResourceResolution
class instead.@Deprecated public class ResourceResolution extends 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,
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, String path)
resourceResolver
- The resource resolver to be usedbase
- the base resource. It can be null if path is absolutepath
- the path to the resourceUnsupportedOperationException
- if the resource is not in the resource resolver's search pathIllegalStateException
- if the number of steps necessary to search for the resource on the resource
superType chain has reached the maximum limitIllegalArgumentException
- if a null componentResource is provided but the path is not absolutepublic static Resource resolveComponentForRequest(ResourceResolver resolver, SlingHttpServletRequest request)
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"