public class OptionSourceResolvers extends Object
Note: This class is not a part of the public API and is subject to change. Do not use it in your own code
OptionProviderService
,
OptionSourceResolver
Modifier and Type | Method and Description |
---|---|
static org.apache.sling.api.resource.Resource |
resolve(org.apache.sling.api.SlingHttpServletRequest request,
PathParameters params)
Extracts a resource identifier from the provided request and attempts to retrieve an option datasource by picking
up one of the available source resolvers
|
public static org.apache.sling.api.resource.Resource resolve(org.apache.sling.api.SlingHttpServletRequest request, PathParameters params)
request
- SlingHttpServletRequest
instance. May contain a predefined option source resolver as a
request attributeparams
- PathParameters
object containing the path to resolve as well as the values that affect the
resolution routineResource
instance, or else null
Copyright © 2024 Exadel, Inc.. All rights reserved.