Class OmniVersionResourceHandler

    • Constructor Detail

      • OmniVersionResourceHandler

        public OmniVersionResourceHandler​(ResourceHandler wrapped)
        Creates a new instance of this OmniFaces version resource handler which wraps the given resource handler.
        Parameters:
        wrapped - The resource handler to be wrapped.
    • Method Detail

      • decorateResource

        public Resource decorateResource​(Resource resource)
        Description copied from class: DefaultResourceHandler
        Decorate the given resource. This will only be called if no library-specific resource has been requested.

        The default implementation just returns the given resource unmodified.

        Overrides:
        decorateResource in class DefaultResourceHandler
        Parameters:
        resource - The resource to be decorated.
        Returns:
        The decorated resource.