|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Resource in org.apache.sling.api |
---|
Methods in org.apache.sling.api that return Resource | |
---|---|
Resource |
SlingHttpServletRequest.getResource()
Returns the Resource object on whose behalf the servlet acts. |
Methods in org.apache.sling.api with parameters of type Resource | |
---|---|
javax.servlet.RequestDispatcher |
SlingHttpServletRequest.getRequestDispatcher(Resource resource)
Same as SlingHttpServletRequest.getRequestDispatcher(Resource,RequestDispatcherOptions)
but using empty options. |
javax.servlet.RequestDispatcher |
SlingHttpServletRequest.getRequestDispatcher(Resource resource,
RequestDispatcherOptions options)
Returns a RequestDispatcher object that acts as a wrapper
for the resource located at the given resource. |
Uses of Resource in org.apache.sling.api.resource |
---|
Classes in org.apache.sling.api.resource that implement Resource | |
---|---|
class |
AbstractResource
The AbstractResource is an abstract implementation of the
Resource interface. |
class |
NonExistingResource
Simple helper class representing nonexisting resources. |
class |
ResourceWrapper
The ResourceWrapper is a wrapper for any Resource
delegating all method calls to the wrapped resource by default. |
class |
SyntheticResource
The SyntheticResource class is a simple implementation of the
Resource interface which may be used to provide a resource
object which has no actual resource data. |
Methods in org.apache.sling.api.resource that return Resource | |
---|---|
Resource |
ResourceDecorator.decorate(Resource resource)
Decorate a resource. |
Resource |
ResourceDecorator.decorate(Resource resource,
javax.servlet.http.HttpServletRequest request)
Decorate a resource. |
Resource |
ResourceWrapper.getChild(String relPath)
Returns the value of calling getChild on the
wrapped resource . |
Resource |
Resource.getChild(String relPath)
Returns the child at the given relative path of this resource or null if no such child exists. |
Resource |
AbstractResource.getChild(String relPath)
Returns the indicated child of this resource. |
Resource |
ResourceWrapper.getParent()
Returns the value of calling getParent on the
wrapped resource . |
Resource |
Resource.getParent()
Returns the parent resource or null if this resource
represents the root of the resource tree. |
Resource |
AbstractResource.getParent()
Returns the parent resource of this resource. |
static Resource |
ResourceUtil.getParent(Resource rsrc)
Deprecated. since 2.1.0, use getParent() instead |
Resource |
ResourceWrapper.getResource()
Returns the Resource wrapped by this instance. |
Resource |
ResourceProvider.getResource(ResourceResolver resourceResolver,
javax.servlet.http.HttpServletRequest request,
String path)
Returns a resource from this resource provider or null if
the resource provider cannot find it. |
Resource |
ResourceProvider.getResource(ResourceResolver resourceResolver,
String path)
Returns a resource from this resource provider or null if
the resource provider cannot find it. |
Resource |
ResourceResolver.getResource(Resource base,
String path)
Returns a Resource object for data located at the given path. |
Resource |
ResourceResolver.getResource(String path)
Returns a Resource object for data located at the given path. |
Resource |
ResourceResolver.resolve(javax.servlet.http.HttpServletRequest request)
Deprecated. as of 2.0.4, use ResourceResolver.resolve(HttpServletRequest, String)
instead. |
Resource |
ResourceResolver.resolve(javax.servlet.http.HttpServletRequest request,
String absPath)
Resolves the resource from the given absPath optionally
taking HttpServletRequest into account, such as the value of
the Host request header. |
Resource |
ResourceResolver.resolve(String absPath)
Resolves the resource from the given absolute path. |
Methods in org.apache.sling.api.resource that return types with arguments of type Resource | |
---|---|
Iterator<Resource> |
ResourceResolver.findResources(String query,
String language)
Searches for resources using the given query formulated in the given language. |
Iterator<Resource> |
ResourceWrapper.listChildren()
Returns the value of calling listChildren on the
wrapped resource . |
Iterator<Resource> |
Resource.listChildren()
Returns an iterator of the direct children of this resource. |
Iterator<Resource> |
AbstractResource.listChildren()
Returns an iterator on the direct child resources. |
Iterator<Resource> |
ResourceProvider.listChildren(Resource parent)
Returns an Iterator of Resource objects loaded
from the children of the given Resource . |
Iterator<Resource> |
ResourceResolver.listChildren(Resource parent)
Returns an Iterator of Resource objects loaded from
the children of the given Resource . |
static Iterator<Resource> |
ResourceUtil.listChildren(Resource parent)
Deprecated. since 2.1.0, use listChildren() instead |
Methods in org.apache.sling.api.resource with parameters of type Resource | |
---|---|
Resource |
ResourceDecorator.decorate(Resource resource)
Decorate a resource. |
Resource |
ResourceDecorator.decorate(Resource resource,
javax.servlet.http.HttpServletRequest request)
Decorate a resource. |
static String |
ResourceUtil.findResourceSuperType(Resource resource)
Returns the super type of the given resource. |
static String |
ResourceUtil.getName(Resource rsrc)
Deprecated. since 2.1.0, use getName() instead |
static Resource |
ResourceUtil.getParent(Resource rsrc)
Deprecated. since 2.1.0, use getParent() instead |
Resource |
ResourceResolver.getResource(Resource base,
String path)
Returns a Resource object for data located at the given path. |
static ValueMap |
ResourceUtil.getValueMap(Resource res)
Returns an ValueMap object for the given
Resource . |
static boolean |
ResourceUtil.isA(Resource resource,
String resourceType)
Check if the resource is of the given type. |
static boolean |
ResourceUtil.isNonExistingResource(Resource res)
Returns true if the resource res is a
non-existing resource. |
static boolean |
ResourceUtil.isStarResource(Resource res)
Returns true if the resource res is a "star
resource". |
static boolean |
ResourceUtil.isSyntheticResource(Resource res)
Returns true if the resource res is a synthetic
resource. |
Iterator<Resource> |
ResourceProvider.listChildren(Resource parent)
Returns an Iterator of Resource objects loaded
from the children of the given Resource . |
Iterator<Resource> |
ResourceResolver.listChildren(Resource parent)
Returns an Iterator of Resource objects loaded from
the children of the given Resource . |
static Iterator<Resource> |
ResourceUtil.listChildren(Resource parent)
Deprecated. since 2.1.0, use listChildren() instead |
Method parameters in org.apache.sling.api.resource with type arguments of type Resource | ||
---|---|---|
static
|
ResourceUtil.adaptTo(Iterator<Resource> iterator,
Class<T> type)
Return an iterator for objecs of the specified type. |
Constructors in org.apache.sling.api.resource with parameters of type Resource | |
---|---|
ResourceWrapper(Resource resource)
Creates a new wrapper instance delegating all method calls to the given resource . |
Uses of Resource in org.apache.sling.api.scripting |
---|
Methods in org.apache.sling.api.scripting that return Resource | |
---|---|
Resource |
SlingBindings.getResource()
Returns the SlingBindings.RESOURCE property if not null and a
Resource instance. |
Resource |
SlingScript.getScriptResource()
Returns the Resource providing the script source code. |
Methods in org.apache.sling.api.scripting with parameters of type Resource | |
---|---|
void |
SlingScriptHelper.forward(Resource resource)
Same as SlingScriptHelper.forward(Resource,RequestDispatcherOptions) , but using
empty options. |
void |
SlingScriptHelper.forward(Resource resource,
RequestDispatcherOptions options)
Helper method to forward the request to a Servlet or script for the given resource and options . |
void |
SlingScriptHelper.forward(Resource resource,
String requestDispatcherOptions)
Helper method to forward the request to a Servlet or script for the given resource and requestDispatcherOptions . |
void |
SlingScriptHelper.include(Resource resource)
Same as SlingScriptHelper.include(Resource,RequestDispatcherOptions) , but using
empty options. |
void |
SlingScriptHelper.include(Resource resource,
RequestDispatcherOptions options)
Helper method to include the result of processing the request for the given resource and options . |
void |
SlingScriptHelper.include(Resource resource,
String requestDispatcherOptions)
Helper method to include the result of processing the request for the given resource and requestDispatcherOptions . |
void |
SlingBindings.setResource(Resource resource)
Sets the SlingBindings.RESOURCE property to resource if not
null . |
Uses of Resource in org.apache.sling.api.servlets |
---|
Methods in org.apache.sling.api.servlets with parameters of type Resource | |
---|---|
javax.servlet.Servlet |
ServletResolver.resolveServlet(Resource resource,
String scriptName)
Resolves a javax.servlet.Servlet whose
service method may be used to handle a request. |
Uses of Resource in org.apache.sling.api.wrappers |
---|
Methods in org.apache.sling.api.wrappers that return Resource | |
---|---|
Resource |
SlingHttpServletRequestWrapper.getResource()
|
Methods in org.apache.sling.api.wrappers with parameters of type Resource | |
---|---|
javax.servlet.RequestDispatcher |
SlingHttpServletRequestWrapper.getRequestDispatcher(Resource resource)
|
javax.servlet.RequestDispatcher |
SlingHttpServletRequestWrapper.getRequestDispatcher(Resource resource,
RequestDispatcherOptions options)
|
Uses of Resource in org.apache.sling.bundleresource.impl |
---|
Classes in org.apache.sling.bundleresource.impl that implement Resource | |
---|---|
class |
BundleResource
A Resource that wraps a Bundle entry |
Methods in org.apache.sling.bundleresource.impl that return Resource | |
---|---|
Resource |
BundleResourceProvider.getResource(ResourceResolver resourceResolver,
javax.servlet.http.HttpServletRequest request,
String path)
|
Resource |
BundleResourceProvider.getResource(ResourceResolver resourceResolver,
String path)
Returns a BundleResource for the path if such an entry exists in the bundle of this provider. |
Methods in org.apache.sling.bundleresource.impl that return types with arguments of type Resource | |
---|---|
Iterator<Resource> |
BundleResource.listChildren()
|
Iterator<Resource> |
BundleResourceProvider.listChildren(Resource parent)
|
Methods in org.apache.sling.bundleresource.impl with parameters of type Resource | |
---|---|
Iterator<Resource> |
BundleResourceProvider.listChildren(Resource parent)
|
Uses of Resource in org.apache.sling.commons.testing.sling |
---|
Classes in org.apache.sling.commons.testing.sling that implement Resource | |
---|---|
class |
MockResource
|
Methods in org.apache.sling.commons.testing.sling that return Resource | |
---|---|
Resource |
MockSlingHttpServletRequest.getResource()
|
Resource |
MockResourceResolver.getResource(Resource base,
String path)
|
Resource |
MockResourceResolver.getResource(String path)
|
Resource |
MockResourceResolver.resolve(javax.servlet.http.HttpServletRequest request)
|
Resource |
MockResourceResolver.resolve(javax.servlet.http.HttpServletRequest request,
String absPath)
|
Resource |
MockResourceResolver.resolve(String absPath)
|
Methods in org.apache.sling.commons.testing.sling that return types with arguments of type Resource | |
---|---|
Iterator<Resource> |
MockResourceResolver.findResources(String query,
String language)
|
Iterator<Resource> |
MockResourceResolver.listChildren(Resource parent)
|
Methods in org.apache.sling.commons.testing.sling with parameters of type Resource | |
---|---|
void |
MockResourceResolver.addChildren(Resource parent,
Collection<Resource> children)
|
void |
MockResourceResolver.addResource(Resource resource)
|
javax.servlet.RequestDispatcher |
MockSlingHttpServletRequest.getRequestDispatcher(Resource resource)
|
javax.servlet.RequestDispatcher |
MockSlingHttpServletRequest.getRequestDispatcher(Resource resource,
RequestDispatcherOptions options)
|
Resource |
MockResourceResolver.getResource(Resource base,
String path)
|
Iterator<Resource> |
MockResourceResolver.listChildren(Resource parent)
|
void |
MockSlingHttpServletRequest.setResource(Resource resource)
|
Method parameters in org.apache.sling.commons.testing.sling with type arguments of type Resource | |
---|---|
void |
MockResourceResolver.addChildren(Resource parent,
Collection<Resource> children)
|
Uses of Resource in org.apache.sling.engine.impl |
---|
Methods in org.apache.sling.engine.impl that return Resource | |
---|---|
Resource |
SlingHttpServletRequestImpl.getResource()
|
Methods in org.apache.sling.engine.impl with parameters of type Resource | |
---|---|
void |
SlingRequestProcessorImpl.dispatchRequest(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
Resource resource,
RequestPathInfo resolvedURL,
boolean include)
Dispatches the request on behalf of the SlingRequestDispatcher . |
javax.servlet.RequestDispatcher |
SlingHttpServletRequestImpl.getRequestDispatcher(Resource resource)
Returns null if resource is null . |
javax.servlet.RequestDispatcher |
SlingHttpServletRequestImpl.getRequestDispatcher(Resource resource,
RequestDispatcherOptions options)
Returns null if resource is null . |
Uses of Resource in org.apache.sling.engine.impl.request |
---|
Methods in org.apache.sling.engine.impl.request that return Resource | |
---|---|
Resource |
ContentData.getResource()
|
Resource |
RequestData.initResource(ResourceResolver resourceResolver)
|
Methods in org.apache.sling.engine.impl.request with parameters of type Resource | |
---|---|
void |
RequestData.initServlet(Resource resource)
|
ContentData |
RequestData.pushContent(Resource resource,
RequestPathInfo requestPathInfo)
|
Constructors in org.apache.sling.engine.impl.request with parameters of type Resource | |
---|---|
ContentData(Resource resource,
RequestPathInfo requestPathInfo,
BufferProvider parent)
|
|
SlingRequestDispatcher(Resource resource,
RequestDispatcherOptions options)
|
|
SlingRequestPathInfo(Resource r)
break requestPath as required by SlingRequestPathInfo |
Uses of Resource in org.apache.sling.fsprovider.internal |
---|
Classes in org.apache.sling.fsprovider.internal that implement Resource | |
---|---|
class |
FsResource
The FsResource represents a file system file or folder as
a Sling Resource. |
Methods in org.apache.sling.fsprovider.internal that return Resource | |
---|---|
Resource |
FsResourceProvider.getResource(ResourceResolver resourceResolver,
javax.servlet.http.HttpServletRequest request,
String path)
Same as FsResourceProvider.getResource(ResourceResolver, String) , i.e. |
Resource |
FsResourceProvider.getResource(ResourceResolver resourceResolver,
String path)
Returns a resource wrapping a filesystem file or folder for the given path. |
Methods in org.apache.sling.fsprovider.internal that return types with arguments of type Resource | |
---|---|
Iterator<Resource> |
FsResourceProvider.listChildren(Resource parent)
Returns an iterator of resources. |
Methods in org.apache.sling.fsprovider.internal with parameters of type Resource | |
---|---|
Iterator<Resource> |
FsResourceProvider.listChildren(Resource parent)
Returns an iterator of resources. |
Uses of Resource in org.apache.sling.jackrabbit.usermanager.impl.post |
---|
Methods in org.apache.sling.jackrabbit.usermanager.impl.post that return types with arguments of type Resource | |
---|---|
protected Iterator<Resource> |
DeleteAuthorizableServlet.getApplyToResources(SlingHttpServletRequest request)
Returns an iterator on Resource instances addressed in the
SlingPostConstants.RP_APPLY_TO request parameter. |
Uses of Resource in org.apache.sling.jackrabbit.usermanager.impl.resource |
---|
Classes in org.apache.sling.jackrabbit.usermanager.impl.resource that implement Resource | |
---|---|
class |
AuthorizableResource
Resource implementation for Authorizable |
Methods in org.apache.sling.jackrabbit.usermanager.impl.resource that return Resource | |
---|---|
Resource |
AuthorizableResourceProvider.getResource(ResourceResolver resourceResolver,
javax.servlet.http.HttpServletRequest request,
String path)
|
Resource |
AuthorizableResourceProvider.getResource(ResourceResolver resourceResolver,
String path)
|
Methods in org.apache.sling.jackrabbit.usermanager.impl.resource that return types with arguments of type Resource | |
---|---|
Iterator<Resource> |
AuthorizableResourceProvider.listChildren(Resource parent)
|
Methods in org.apache.sling.jackrabbit.usermanager.impl.resource with parameters of type Resource | |
---|---|
Iterator<Resource> |
AuthorizableResourceProvider.listChildren(Resource parent)
|
Uses of Resource in org.apache.sling.jcr.resource |
---|
Methods in org.apache.sling.jcr.resource with parameters of type Resource | |
---|---|
static String |
JcrResourceUtil.getResourceSuperType(Resource resource)
Deprecated. Call ResourceUtil.findResourceSuperType(Resource) |
Uses of Resource in org.apache.sling.jcr.resource.internal |
---|
Methods in org.apache.sling.jcr.resource.internal that return Resource | |
---|---|
Resource |
ResourceDecoratorTracker.decorate(Resource resource,
String workspaceName,
javax.servlet.http.HttpServletRequest request)
Decorate a resource. |
Resource |
JcrResourceResolver.getResource(Resource base,
String path)
|
Resource |
JcrResourceResolver.getResource(String path)
|
protected Resource |
JcrResourceResolver.getResourceInternal(String path)
Creates a JcrNodeResource with the given path if existing |
Resource |
ResourceIteratorDecorator.next()
|
Resource |
JcrResourceResolver.resolve(javax.servlet.http.HttpServletRequest request)
|
Resource |
JcrResourceResolver.resolve(javax.servlet.http.HttpServletRequest request,
String absPath)
|
Resource |
JcrResourceResolver.resolve(String absPath)
|
Methods in org.apache.sling.jcr.resource.internal that return types with arguments of type Resource | |
---|---|
Iterator<Resource> |
JcrResourceResolver.findResources(String query,
String language)
|
Iterator<Resource> |
JcrResourceResolver.listChildren(Resource parent)
|
Methods in org.apache.sling.jcr.resource.internal with parameters of type Resource | ||
---|---|---|
Resource |
ResourceDecoratorTracker.decorate(Resource resource,
String workspaceName,
javax.servlet.http.HttpServletRequest request)
Decorate a resource. |
|
String |
JcrResourceResolver.getProperty(Resource res,
String propName)
|
|
|
JcrResourceResolver.getProperty(Resource res,
String propName,
Class<Type> type)
|
|
Resource |
JcrResourceResolver.getResource(Resource base,
String path)
|
|
Iterator<Resource> |
JcrResourceResolver.listChildren(Resource parent)
|
Constructor parameters in org.apache.sling.jcr.resource.internal with type arguments of type Resource | |
---|---|
ResourceIteratorDecorator(ResourceDecoratorTracker tracker,
String workspaceName,
Iterator<Resource> iterator)
|
Uses of Resource in org.apache.sling.jcr.resource.internal.helper |
---|
Classes in org.apache.sling.jcr.resource.internal.helper that implement Resource | |
---|---|
class |
RedirectResource
|
Methods in org.apache.sling.jcr.resource.internal.helper that return Resource | |
---|---|
Resource |
WrappedResourceProvider.getResource(ResourceResolver arg0,
javax.servlet.http.HttpServletRequest arg1,
String arg2)
Returns a resource from this resource provider or null if
the resource provider cannot find it. |
Resource |
ResourceProviderEntry.getResource(ResourceResolver resourceResolver,
String path)
Returns the resource with the given path or null if neither
the resource provider of this entry nor the resource provider of any of
the child entries can provide the resource. |
Resource |
WrappedResourceProvider.getResource(ResourceResolver arg0,
String arg1)
Returns a resource from this resource provider or null if
the resource provider cannot find it. |
Resource |
ResourceIterator.next()
|
Methods in org.apache.sling.jcr.resource.internal.helper that return types with arguments of type Resource | |
---|---|
Iterator<Resource> |
WrappedResourceProvider.listChildren(Resource arg0)
Returns an Iterator of Resource objects loaded
from the children of the given Resource . |
Methods in org.apache.sling.jcr.resource.internal.helper with parameters of type Resource | |
---|---|
static List<MapEntry> |
MapEntry.createMapEntry(String url,
Resource resource,
boolean trailingSlash)
|
static MapEntry |
MapEntry.createResolveEntry(String url,
Resource resource,
boolean trailingSlash)
|
Iterator<Resource> |
WrappedResourceProvider.listChildren(Resource arg0)
Returns an Iterator of Resource objects loaded
from the children of the given Resource . |
Constructors in org.apache.sling.jcr.resource.internal.helper with parameters of type Resource | |
---|---|
ResourceIterator(Resource parentResource,
ResourceProviderEntry rootProviderEntry)
|
Uses of Resource in org.apache.sling.jcr.resource.internal.helper.jcr |
---|
Methods in org.apache.sling.jcr.resource.internal.helper.jcr that return Resource | |
---|---|
Resource |
JcrResourceProvider.getResource(ResourceResolver resourceResolver,
javax.servlet.http.HttpServletRequest request,
String path)
|
Resource |
JcrResourceProvider.getResource(ResourceResolver resourceResolver,
String path)
|
Resource |
JcrNodeResourceIterator.next()
|
Methods in org.apache.sling.jcr.resource.internal.helper.jcr that return types with arguments of type Resource | |
---|---|
Iterator<Resource> |
JcrResourceProvider.listChildren(Resource parent)
|
Methods in org.apache.sling.jcr.resource.internal.helper.jcr with parameters of type Resource | |
---|---|
Iterator<Resource> |
JcrResourceProvider.listChildren(Resource parent)
|
Uses of Resource in org.apache.sling.jcr.resource.internal.helper.starresource |
---|
Classes in org.apache.sling.jcr.resource.internal.helper.starresource that implement Resource | |
---|---|
class |
StarResource
Used to provide the equivalent of an empty Node for GET requests to *.something (SLING-344) |
Methods in org.apache.sling.jcr.resource.internal.helper.starresource with parameters of type Resource | |
---|---|
static boolean |
StarResource.isStarResource(Resource res)
Returns true if the path of the resource ends with the StarResource.SLASH_STAR and therefore should be considered a star
resource. |
Uses of Resource in org.apache.sling.launchpad.testservices.resource |
---|
Methods in org.apache.sling.launchpad.testservices.resource that return Resource | |
---|---|
Resource |
TestResourceDecorator.decorate(Resource resource)
|
Resource |
TestResourceDecorator.decorate(Resource resource,
javax.servlet.http.HttpServletRequest request)
|
Methods in org.apache.sling.launchpad.testservices.resource with parameters of type Resource | |
---|---|
Resource |
TestResourceDecorator.decorate(Resource resource)
|
Resource |
TestResourceDecorator.decorate(Resource resource,
javax.servlet.http.HttpServletRequest request)
|
Uses of Resource in org.apache.sling.scripting.core |
---|
Methods in org.apache.sling.scripting.core with parameters of type Resource | |
---|---|
void |
ScriptHelper.forward(Resource resource)
|
void |
ScriptHelper.forward(Resource resource,
RequestDispatcherOptions options)
|
void |
ScriptHelper.forward(Resource resource,
String options)
|
void |
ScriptHelper.include(Resource resource)
|
void |
ScriptHelper.include(Resource resource,
RequestDispatcherOptions options)
|
void |
ScriptHelper.include(Resource resource,
String options)
|
Uses of Resource in org.apache.sling.scripting.javascript.wrapper |
---|
Methods in org.apache.sling.scripting.javascript.wrapper with parameters of type Resource | |
---|---|
void |
ScriptableResource.setResource(Resource entry)
|
Constructors in org.apache.sling.scripting.javascript.wrapper with parameters of type Resource | |
---|---|
ScriptableResource(Resource resource)
|
Uses of Resource in org.apache.sling.scripting.jsp.taglib |
---|
Methods in org.apache.sling.scripting.jsp.taglib with parameters of type Resource | |
---|---|
void |
AbstractDispatcherTagHandler.setResource(Resource rsrc)
|
void |
EvalTagHandler.setResource(Resource rsrc)
|
Uses of Resource in org.apache.sling.servlets.get.impl.helpers |
---|
Methods in org.apache.sling.servlets.get.impl.helpers with parameters of type Resource | |
---|---|
protected void |
ResourceTraversor.collectResource(Resource resource,
int level)
Adds a resource in the JSON tree. |
protected void |
PlainTextRendererServlet.dump(PrintWriter pw,
Resource r,
Map map)
Render synthetic resource |
protected void |
JsonResourceWriter.dump(Resource resource,
JSONWriter w,
int currentRecursionLevel,
int maxRecursionLevels)
Dump given resource in JSON, optionally recursing into its objects |
void |
JsonResourceWriter.dump(Resource resource,
Writer w,
int maxRecursionLevels)
Dump given resource in JSON, optionally recursing into its object |
void |
JsonResourceWriter.dump(Resource resource,
Writer w,
int maxRecursionLevels,
boolean tidy)
Dump given resource in JSON, optionally recursing into its objects |
void |
JsonResourceWriter.dumpProperties(Resource resource,
JSONWriter w,
List<String> properties)
Dump only a subset of the resource properties |
protected void |
JsonResourceWriter.dumpSingleResource(Resource n,
JSONWriter w,
int currentRecursionLevel,
int maxRecursionLevels)
Dump a single node |
Constructors in org.apache.sling.servlets.get.impl.helpers with parameters of type Resource | |
---|---|
ResourceTraversor(int levels,
long maxNodes,
Resource resource,
boolean tidy)
|
Uses of Resource in org.apache.sling.servlets.post |
---|
Methods in org.apache.sling.servlets.post that return types with arguments of type Resource | |
---|---|
protected Iterator<Resource> |
AbstractSlingPostOperation.getApplyToResources(SlingHttpServletRequest request)
Returns an iterator on Resource instances addressed in the
SlingPostConstants.RP_APPLY_TO request parameter. |
Uses of Resource in org.apache.sling.servlets.resolver.internal |
---|
Methods in org.apache.sling.servlets.resolver.internal with parameters of type Resource | |
---|---|
javax.servlet.Servlet |
SlingServletResolver.resolveServlet(Resource resource,
String scriptName)
|
Uses of Resource in org.apache.sling.servlets.resolver.internal.helper |
---|
Methods in org.apache.sling.servlets.resolver.internal.helper that return Resource | |
---|---|
protected Resource |
AbstractResourceCollector.getResource(ResourceResolver resolver,
String path)
Returns a resource for the given path . |
Methods in org.apache.sling.servlets.resolver.internal.helper that return types with arguments of type Resource | |
---|---|
Collection<Resource> |
AbstractResourceCollector.getServlets(ResourceResolver resolver)
|
Methods in org.apache.sling.servlets.resolver.internal.helper with parameters of type Resource | |
---|---|
protected void |
AbstractResourceCollector.addWeightedResource(Set<Resource> resources,
Resource resource,
int numSelectors,
int methodPrefixWeight)
Creates a WeightedResource and adds it to the set of resources. |
static NamedScriptResourceCollector |
NamedScriptResourceCollector.create(String name,
Resource resource,
String[] executionPaths)
|
protected void |
ResourceCollector.getWeightedResources(Set<Resource> resources,
Resource location)
|
protected abstract void |
AbstractResourceCollector.getWeightedResources(Set<Resource> resources,
Resource location)
|
protected void |
NamedScriptResourceCollector.getWeightedResources(Set<Resource> resources,
Resource location)
|
Method parameters in org.apache.sling.servlets.resolver.internal.helper with type arguments of type Resource | |
---|---|
protected void |
AbstractResourceCollector.addWeightedResource(Set<Resource> resources,
Resource resource,
int numSelectors,
int methodPrefixWeight)
Creates a WeightedResource and adds it to the set of resources. |
protected void |
ResourceCollector.getWeightedResources(Set<Resource> resources,
Resource location)
|
protected abstract void |
AbstractResourceCollector.getWeightedResources(Set<Resource> resources,
Resource location)
|
protected void |
NamedScriptResourceCollector.getWeightedResources(Set<Resource> resources,
Resource location)
|
Constructors in org.apache.sling.servlets.resolver.internal.helper with parameters of type Resource | |
---|---|
ResourceCollector(String methodName,
String baseResourceType,
Resource resource,
String workspaceName,
String[] executionPaths)
Creates a ResourceCollector finding servlets and scripts for
the given methodName . |
Uses of Resource in org.apache.sling.servlets.resolver.internal.resource |
---|
Methods in org.apache.sling.servlets.resolver.internal.resource that return Resource | |
---|---|
Resource |
ServletResourceProvider.getResource(ResourceResolver resourceResolver,
javax.servlet.http.HttpServletRequest request,
String path)
|
Resource |
ServletResourceProvider.getResource(ResourceResolver resourceResolver,
String path)
|
Methods in org.apache.sling.servlets.resolver.internal.resource that return types with arguments of type Resource | |
---|---|
Iterator<Resource> |
ServletResourceProvider.listChildren(Resource parent)
|
Methods in org.apache.sling.servlets.resolver.internal.resource with parameters of type Resource | |
---|---|
Iterator<Resource> |
ServletResourceProvider.listChildren(Resource parent)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |