A B C G I J M P S T U
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- accept(Object, PropertyMetadata<?>, SlingHttpServletRequest) - Method in interface io.wcm.siteapi.processor.caconfig.ContextAwareConfigurationPropertyMapper
-
Checks if this mapper accepts the given property.
B
- build(Page, String, String, SlingHttpServletRequest) - Method in interface io.wcm.siteapi.processor.url.UrlBuilder
-
Build Site API URL.
- build(String) - Static method in class io.wcm.siteapi.processor.url.JsonSuffix
-
Build suffix with JSON extension.
- build(String, String) - Static method in class io.wcm.siteapi.processor.url.JsonSuffix
-
Build suffix with JSON extension.
C
- ContextAwareConfigurationExport - Interface in io.wcm.siteapi.processor.caconfig
-
Configures context-aware configuration names/classes to be exposed via Site API.
- ContextAwareConfigurationMapper - Interface in io.wcm.siteapi.processor.caconfig
-
Converts context-aware configuration to a nested Map structure which can be serialized to JSON.
- ContextAwareConfigurationProperties - Class in io.wcm.siteapi.processor.caconfig
-
Properties that can be configured on context-aware configuration definitions.
- ContextAwareConfigurationPropertyMapper<T> - Interface in io.wcm.siteapi.processor.caconfig
-
Defines custom mappings of context-aware configuration property values to a re-mapped target value or target structure (e.g. with nested maps).
G
- get(String, SlingHttpServletRequest) - Method in interface io.wcm.siteapi.processor.caconfig.ContextAwareConfigurationMapper
-
Gets a representation of the context-aware configuration consisting of nested Maps and Lists.
- getAll(Resource) - Method in interface io.wcm.siteapi.processor.ProcessorManager
-
Get all registered processor for this context.
- getContextPath() - Method in interface io.wcm.siteapi.processor.url.SiteApiConfiguration
- getExtension() - Method in interface io.wcm.siteapi.processor.url.SiteApiConfiguration
- getMatching(String, Resource) - Method in interface io.wcm.siteapi.processor.ProcessorManager
-
Get processor matching for suffix and context.
- getNames() - Method in interface io.wcm.siteapi.processor.caconfig.ContextAwareConfigurationExport
- getPage() - Method in interface io.wcm.siteapi.processor.ProcessorRequestContext
- getPageManager() - Method in interface io.wcm.siteapi.processor.ProcessorRequestContext
- getProcessorClass() - Method in interface io.wcm.siteapi.processor.ProcessorMetadata
- getProperties() - Method in interface io.wcm.siteapi.processor.ProcessorMetadata
- getRequest() - Method in interface io.wcm.siteapi.processor.ProcessorRequestContext
- getResource() - Method in interface io.wcm.siteapi.processor.ProcessorRequestContext
- getSelector() - Method in interface io.wcm.siteapi.processor.url.SiteApiConfiguration
- getSuffix() - Method in interface io.wcm.siteapi.processor.ProcessorMetadata
- getSuffix() - Method in interface io.wcm.siteapi.processor.ProcessorRequestContext
- getSuffix() - Method in class io.wcm.siteapi.processor.url.JsonSuffix
- getSuffixExtension() - Method in interface io.wcm.siteapi.processor.ProcessorRequestContext
- getSuffixExtension() - Method in class io.wcm.siteapi.processor.url.JsonSuffix
I
- io.wcm.siteapi.processor - package io.wcm.siteapi.processor
-
Site API Processor API.
- io.wcm.siteapi.processor.caconfig - package io.wcm.siteapi.processor.caconfig
-
Context-Aware Configuration Support for Site API.
- io.wcm.siteapi.processor.url - package io.wcm.siteapi.processor.url
-
Building Site API URLs.
- io.wcm.siteapi.processor.util - package io.wcm.siteapi.processor.util
-
Site API helper classes.
- isSiteApiRequest(SlingHttpServletRequest, SiteApiConfiguration) - Static method in class io.wcm.siteapi.processor.util.SiteApiRequest
-
Check if current request is a Site API request (has matching selector and extension).
J
- JsonObjectMapper - Interface in io.wcm.siteapi.processor.util
-
Parsing and serialization of objects to JSON and Maps.
- JsonObjectProcessor<T> - Interface in io.wcm.siteapi.processor
-
Processes Site API requests.
- JsonSuffix - Class in io.wcm.siteapi.processor.url
-
Validates and parses suffix with '.json' extension.
M
- map(Object, PropertyMetadata<?>, SlingHttpServletRequest) - Method in interface io.wcm.siteapi.processor.caconfig.ContextAwareConfigurationPropertyMapper
-
Maps a property value.
P
- parse(String) - Static method in class io.wcm.siteapi.processor.url.JsonSuffix
-
Ensure suffix ends with ".json".
- parseToMap(String) - Method in interface io.wcm.siteapi.processor.util.JsonObjectMapper
-
Parses a JSON string and returns a nested map structure.
- process(ProcessorRequestContext) - Method in interface io.wcm.siteapi.processor.JsonObjectProcessor
-
Generates an Object that is serialized to JSON and returned as response.
- process(ProcessorRequestContext, SlingHttpServletResponse) - Method in interface io.wcm.siteapi.processor.SlingHttpServletProcessor
-
Process request.
- Processor - Interface in io.wcm.siteapi.processor
-
Super interface for processors.
- PROCESSOR_CONFIG - Static variable in class io.wcm.siteapi.processor.ProcessorConstants
-
Suffix of the built-in context-aware configuration processor.
- PROCESSOR_CONTENT - Static variable in class io.wcm.siteapi.processor.ProcessorConstants
-
Suffix of the built-in content processor.
- PROCESSOR_INDEX - Static variable in class io.wcm.siteapi.processor.ProcessorConstants
-
Suffix of the built-in index processor.
- ProcessorConstants - Class in io.wcm.siteapi.processor
-
Properties and suffix names for Site API processors.
- ProcessorManager - Interface in io.wcm.siteapi.processor
-
Manages all
JsonObjectProcessor
andSlingHttpServletProcessor
services. - ProcessorMetadata - Interface in io.wcm.siteapi.processor
-
Metadata about a registered processor.
- ProcessorRequestContext - Interface in io.wcm.siteapi.processor
-
Context objects for API request processing.
- PROPERTY_CONFIG_EMBEDDED - Static variable in class io.wcm.siteapi.processor.caconfig.ContextAwareConfigurationProperties
-
Marks a context-aware configuration to be embedded into the main JSON response of the "config" processor.
- PROPERTY_ENABLED - Static variable in class io.wcm.siteapi.processor.ProcessorConstants
-
A processor is enabled by default.
- PROPERTY_HIDDEN - Static variable in class io.wcm.siteapi.processor.caconfig.ContextAwareConfigurationProperties
-
Hides a property in the JSON Export of the "config" processor.
- PROPERTY_JSON_RAW_VALUE - Static variable in class io.wcm.siteapi.processor.caconfig.ContextAwareConfigurationProperties
-
Marks a string property to contain JSON data.
- PROPERTY_SUFFIX - Static variable in class io.wcm.siteapi.processor.ProcessorConstants
-
Defines the suffix that is used to build the URL (without '.json' extension).
- PROPERTY_SUFFIX_PATTERN - Static variable in class io.wcm.siteapi.processor.ProcessorConstants
-
Defining a regular pattern to match the URL suffix (without '.json' extension).
S
- SiteApiConfiguration - Interface in io.wcm.siteapi.processor.url
-
Configuration of Site API Servlet.
- SiteApiRequest - Class in io.wcm.siteapi.processor.util
-
Checks if a given servlet request is a request within an Site API processor.
- SlingHttpServletProcessor - Interface in io.wcm.siteapi.processor
-
Processes Site API requests.
T
- toJsonString(Object) - Method in interface io.wcm.siteapi.processor.util.JsonObjectMapper
-
Serialize java object to JSON.
- toMap(Object) - Method in interface io.wcm.siteapi.processor.util.JsonObjectMapper
-
Convert POJO object to nested map structure.
U
- UrlBuilder - Interface in io.wcm.siteapi.processor.url
-
Builds URLs for Site API calls.
All Classes All Packages