Class ElFinderDynamicResourceFileEntityThumbnails.RequestHandlerBuilder<Entry extends IFileSystemEntry<?>, FileEntity extends IFileEntity<?,?>>

java.lang.Object
de.xima.fc.gui.elfinder.ElFinderDynamicResourceFileEntityThumbnails.RequestHandlerBuilder<Entry, FileEntity>
Type Parameters:
Entry - Common super type of all file system entries.
FileEntity - The type of the file entity.
Enclosing class:
ElFinderDynamicResourceFileEntityThumbnails

public static final class ElFinderDynamicResourceFileEntityThumbnails.RequestHandlerBuilder<Entry extends IFileSystemEntry<?>, FileEntity extends IFileEntity<?,?>> extends Object
A builder for a thumbnail request handler for file system entries from a ICommonFileSystem, with initial data from a IFileEntity stored in a database. This is the builder for the URL creator, see also ElFinderDynamicResourceFileEntityThumbnails.RequestHandlerBuilder.

ElFinderDynamicResourceFileEntityThumbnails.UrlGeneratorBuilder creates a URL for the thumbnail, using PrimeFaces' dynamic resource feature, see DynamicContentSrcBuilder and DynamicContentHandler.

ElFinderDynamicResourceFileEntityThumbnails.RequestHandlerBuilder creates a handler for processing requests to the dynamic resource servlet. It finds or generates the thumbnail image and writes it to the response.

The thumbnail may come from two sources: either directly from the file, in case the file was not yet changed; or directly from the ICommonFileSystem in case the file has unsaved changes.

Since:
8.3.0
Author:
XIMA MEDIA GmbH