StructuredResponse can be thought of as a collection of named sections (called StructuredResponseSections). For example, it may contain:
- a section for the main output of an HTML page
- two sections for two sidebars
- a headline section
- a footer section
- a toolbar section.
- a section for the HTML header.
Developers are free to define as few or as many sections as desired.
When a StructuredResponseTemplate is applied to a StructuredResponse, all or some of these sections are inlined into an HTML template defined by the StructuredResponseTemplate. StructuredResponseTemplate may also be used for content types other than HTML.