Class PdfImportSession.PdfImportResourceHandler
- java.lang.Object
-
- de.xima.fc.gui.designer.form.pdfimport.PdfImportSession.PdfImportResourceHandler
-
- Enclosing class:
- PdfImportSession
@RequestScoped @Named("pdfImportResourceHandler") public static class PdfImportSession.PdfImportResourceHandler extends Object
PrimeFaces dynamic resources (DynamicContentSrcBuilder
) use the Faces resource servlet, which does not support view scoped beans. This is a simple CDI class that handles dynamic resource requests. The relevant state is saved in the session.- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description PdfImportResourceHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.primefaces.model.StreamedContent
getPageScreenshotStreamedContent()
Serves the PNG image with the thumbnail of a page.org.primefaces.model.StreamedContent
getPageThumbnailStreamedContent()
Serves the PNG image with the thumbnail of a page.
-
-
-
Method Detail
-
getPageScreenshotStreamedContent
public org.primefaces.model.StreamedContent getPageScreenshotStreamedContent()
Serves the PNG image with the thumbnail of a page.- Returns:
- The content for the thumbnail image.
-
getPageThumbnailStreamedContent
public org.primefaces.model.StreamedContent getPageThumbnailStreamedContent()
Serves the PNG image with the thumbnail of a page.- Returns:
- The content for the thumbnail image.
-
-