Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In XperienceCentral R23 the headless integration bundle is included as an edition bundle that is created as an add-on for XperienceCentral. The addon has a headless presentation plugin that uses a presentation JSP to produce JSON. Normal presentation plugins always use the content type header text/html. For XperienCentral Headless, a the content type application/json header is required. To provide a configurable content type header, the JSP descriptor has been expanded to support a <contentype> node. In this node you can add your own content type to be used when a page is rendered. Usually only the page JSP needs this node in its descriptor. If you add your own content type to this descriptor, the page will be generated with that content type.

...