public interface DataSourceBuilder
| Modifier and Type | Method and Description |
|---|---|
void |
addDataSource(org.apache.sling.api.SlingHttpServletRequest slingRequest,
List<DataSourceOption> options)
Create and add a DataSource to the the HTTP Request.
|
void |
writeDataSourceOptions(org.apache.sling.api.SlingHttpServletRequest slingRequest,
org.apache.sling.api.SlingHttpServletResponse slingResponse)
Print the DataSourceOptions out in a JSON format to the response.
|
static final String TEXT
static final String VALUE
void addDataSource(org.apache.sling.api.SlingHttpServletRequest slingRequest,
List<DataSourceOption> options)
slingRequest - the Sling HTTP Servlet Request object to add the DataSource tooptions - the DataSource optionsvoid writeDataSourceOptions(org.apache.sling.api.SlingHttpServletRequest slingRequest,
org.apache.sling.api.SlingHttpServletResponse slingResponse)
throws IOException
slingRequest - the slingRequestslingResponse - the slingResponseIOExceptionCopyright © 2013–2020 Adobe. All rights reserved.