# Index

B E F G H O P R T V
All Classes and Interfaces|All Packages

## B

BundledRenderUnit - Interface in org.apache.sling.scripting.spi.bundle
  A `BundledRenderUnit` represents a pre-packaged script or precompiled script (Java class) that will be executed in order to render a `HttpServletRequest`.
BundledRenderUnitCapability - Interface in org.apache.sling.scripting.spi.bundle
  A `BundledRenderUnitCapability` encapsulates the values of a `Provided-Capability`, based on which `BundledRenderUnit`s are generated.
BundledRenderUnitFinder - Interface in org.apache.sling.scripting.spi.bundle
  The `BundledScriptFinder` finds the `BundledRenderUnit` corresponding to a certain chain of `TypeProvider`s or corresponding to a certain path-based `BundledRenderUnitCapability`.

## E

equals(Object) - Method in class org.apache.sling.api.resource.type.ResourceType
eval(HttpServletRequest, HttpServletResponse) - Method in interface org.apache.sling.scripting.spi.bundle.BundledRenderUnit
  This method will execute / evaluate the wrapped script or precompiled script with the given request.
eval(HttpServletRequest, HttpServletResponse) - Method in interface org.apache.sling.scripting.spi.bundle.BundledRenderUnit
  Deprecated.
  use `BundledRenderUnit.eval(HttpServletRequest, HttpServletResponse)` instead

## F

findUnit(BundleContext, Set<TypeProvider>, Set<TypeProvider>) - Method in interface org.apache.sling.scripting.spi.bundle.BundledRenderUnitFinder
  Retrieves the best matching `BundledRenderUnit` for the provided `inheritanceChain`, by scanning all `TypeProvider` bundles for the class or script capable of providing a rendering for resource type chain.
findUnit(BundleContext, TypeProvider, Set<TypeProvider>) - Method in interface org.apache.sling.scripting.spi.bundle.BundledRenderUnitFinder
  Retrieves a path-based `BundledRenderUnit` from the passed `provider`.

## G

getBundle() - Method in interface org.apache.sling.scripting.spi.bundle.BundledRenderUnit
  Returns the `Bundle` the publishing bundle of this unit (not to be confused with the provider module, which is the module that instantiates a `BundledRenderUnit`).
getBundle() - Method in interface org.apache.sling.scripting.spi.bundle.TypeProvider
  Returns the providing bundle.
getBundleContext() - Method in interface org.apache.sling.scripting.spi.bundle.BundledRenderUnit
  Returns the `BundleContext` to use for this unit.
getBundledRenderUnitCapability() - Method in interface org.apache.sling.scripting.spi.bundle.TypeProvider
  Returns the `BundledRenderUnitCapability`.
getExtendedResourceType() - Method in interface org.apache.sling.scripting.spi.bundle.BundledRenderUnitCapability
  Returns the resource type extended by this capability.
getExtension() - Method in interface org.apache.sling.scripting.spi.bundle.BundledRenderUnitCapability
  Returns the extension to which a `BundledRenderUnit` described by this capability will be bound to.
getInputStream() - Method in interface org.apache.sling.scripting.spi.bundle.BundledRenderUnit
  This method will return an input stream if `this` unit is backed by a script that can be interpreted.
getMethod() - Method in interface org.apache.sling.scripting.spi.bundle.BundledRenderUnitCapability
  Returns the request method to which a `BundledRenderUnit` described by this capability will be bound to.
getName() - Method in interface org.apache.sling.scripting.spi.bundle.BundledRenderUnit
  Returns the name of `this BundledRenderUnit`.
getPath() - Method in interface org.apache.sling.scripting.spi.bundle.BundledRenderUnit
  Returns the path of this executable in the resource type hierarchy.
getPath() - Method in interface org.apache.sling.scripting.spi.bundle.BundledRenderUnitCapability
  Returns the path to which a `BundledRenderUnit` described by this capability will be bound to.
getResourceLabel() - Method in class org.apache.sling.api.resource.type.ResourceType
  Returns a resource type's label.
getResourceTypes() - Method in interface org.apache.sling.scripting.spi.bundle.BundledRenderUnitCapability
  Returns the resource types to which a `BundledRenderUnit` described by this capability will be bound to.
getScriptEngineName() - Method in interface org.apache.sling.scripting.spi.bundle.BundledRenderUnitCapability
  Returns the script engine short name which can be used to evaluate the `BundledRenderUnit` described by this capability.
getScriptExtension() - Method in interface org.apache.sling.scripting.spi.bundle.BundledRenderUnitCapability
  Returns the original's script extension that was used to generate this capability.
getSelectors() - Method in interface org.apache.sling.scripting.spi.bundle.BundledRenderUnitCapability
  Returns the selectors to which a `BundledRenderUnit` described by this capability will be bound to.
getService(String) - Method in interface org.apache.sling.scripting.spi.bundle.BundledRenderUnit
  Retrieves an OSGi runtime dependency of the wrapped script identified by the passed `className` parameter.
getServices(String, String) - Method in interface org.apache.sling.scripting.spi.bundle.BundledRenderUnit
  Retrieves multiple instances of an OSGi runtime dependency of the wrapped script identified by the passed `className` parameter, filtered according to the passed `filter`.
getType() - Method in class org.apache.sling.api.resource.type.ResourceType
  Returns the resource type string, without any version information.
getTypeProviders() - Method in interface org.apache.sling.scripting.spi.bundle.BundledRenderUnit
  Returns the `Set` of `TypeProvider`s which are related to this unit.
getUnit() - Method in interface org.apache.sling.scripting.spi.bundle.BundledRenderUnit
  In case this `BundledRenderUnit` wraps a precompiled script, this method will return an instance of that object.
getVersion() - Method in class org.apache.sling.api.resource.type.ResourceType
  Returns the version, if available.

## H

hashCode() - Method in class org.apache.sling.api.resource.type.ResourceType

## O

org.apache.sling.api.resource.type - package org.apache.sling.api.resource.type
org.apache.sling.scripting.spi.bundle - package org.apache.sling.scripting.spi.bundle

## P

parseResourceType(String) - Static method in class org.apache.sling.api.resource.type.ResourceType
  Given a `resourceTypeString`, this method will extract a `ResourceType` object.

## R

ResourceType - Class in org.apache.sling.api.resource.type
  The `ResourceType` encapsulates details about a Sling resource type and provides methods for parsing resource type strings.

## T

toString() - Method in class org.apache.sling.api.resource.type.ResourceType
TypeProvider - Interface in org.apache.sling.scripting.spi.bundle
  A `TypeProvider` keeps an association between a `BundledRenderUnitCapability` and the bundle that provides it.

## V

VARIABLE - Static variable in interface org.apache.sling.scripting.spi.bundle.BundledRenderUnit
  The variable available in the `Bindings` associated to a `HttpServletRequest` if that request is served by a `BundledRenderUnit`.

B E F G H O P R T V
All Classes and Interfaces|All Packages