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 -
Method Summary
Modifier and TypeMethodDescriptionorg.primefaces.model.StreamedContent
Serves the given inline image included in the PDF document.org.primefaces.model.StreamedContent
Serves the PNG image with the thumbnail of a page.org.primefaces.model.StreamedContent
Serves the PNG image with the thumbnail of a page.
-
Constructor Details
-
PdfImportResourceHandler
public PdfImportResourceHandler()
-
-
Method Details
-
getInlineImageStreamedContent
public org.primefaces.model.StreamedContent getInlineImageStreamedContent()Serves the given inline image included in the PDF document.- Returns:
- The content for the inline image.
-
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.
-