public class OptionProviderServlet
extends org.apache.sling.api.servlets.SlingSafeMethodsServlet
RadioGroup
or a Select
. Supports a number of settings that are either stored as attributes of the datasource
node
in Granite UI setup or passed in an HTTP request as query arguments. Datasource options are rendered from either
a node tree, an Exadel Toolbox List / ACS List -like node structure ([...]/node/jcr:content/list/[items]
),
or a tag folder
Note: This class is not a part of the public API and is subject to change. Do not use it in your own code
Constructor and Description |
---|
OptionProviderServlet() |
Modifier and Type | Method and Description |
---|---|
protected void |
doGet(org.apache.sling.api.SlingHttpServletRequest request,
org.apache.sling.api.SlingHttpServletResponse response)
Processes HTTP GET requests to the current endpoint and outputs a
SimpleDataSource or a JSON string
according to the query parameters |
doGeneric, doHead, doOptions, doTrace, getAllowedRequestMethods, getServletInfo, handleMethodNotImplemented, mayService, service, service
protected void doGet(@Nonnull org.apache.sling.api.SlingHttpServletRequest request, @Nonnull org.apache.sling.api.SlingHttpServletResponse response) throws javax.servlet.ServletException, IOException
SimpleDataSource
or a JSON string
according to the query parametersdoGet
in class org.apache.sling.api.servlets.SlingSafeMethodsServlet
request
- SlingHttpServletRequest
instanceresponse
- SlingHttpServletResponse
instancejavax.servlet.ServletException
IOException
Copyright © 2024 Exadel, Inc.. All rights reserved.