DevicePreviewServlet

A servlet for providing multiplatform previews of zip file content. Supports only POST:

POST: http://host/device-preview/publication-name

This POST operation requires that the incoming request is a ZIP input stream. The content of the stream is extracted and stored on a temporary location on disk. When all content is extracted, the files are imported either using the import configuration configured for the given publication or the web service will create a default import configuration. When finished the request is redirected to a multi-platform preview URL for the article, allowing the end user to see what the ZIP file content will look like on a range of different devices.