public interface ContentGenerator
Modifier and Type | Method and Description |
---|---|
java.lang.String |
createHTML(SlingHttpServletRequest request,
SlingHttpServletResponse response)
Creates the HTML of the newsletter page.
|
java.lang.String createHTML(SlingHttpServletRequest request, SlingHttpServletResponse response) throws NewsletterException
Creates the HTML of the newsletter page.
The HTML must use full URLs for images, links, etc.
The provided response must not be used to do any output. Its provided for wrapping purposes only!
request
- The originating requestresponse
- The original response - use for wrapping purposes only!NewsletterException
- if the HTML could not be createdCopyright © 2010 - 2020 Adobe. All Rights Reserved