Interface ContentTransformerFactory


public interface ContentTransformerFactory
Factory to create URL aware web resource transformers with Source Map.
Since:
v3.3
  • Method Details

    • makeUrlBuilder

      TransformerUrlBuilder makeUrlBuilder(TransformerParameters parameters)
      Return the URL builder for this transform
      Parameters:
      parameters - transformer parameters
      Returns:
      an builder that contributes parameters to the URL
    • makeResourceTransformer

      UrlReadingContentTransformer makeResourceTransformer(TransformerParameters parameters)
      Return the transformer for this transform
      Parameters:
      parameters - transformer parameters
      Returns:
      a transformer that reads values from the url and transforms a webresource
    • allUsedQueryParameters

      default Set<String> allUsedQueryParameters()
      Return the complete set of query parameters that this transformer could ever use.

      NOTE: Every query parameter is important to avoid cache positioning issues.

      This should always return the same query parameters. A null will disable all optimisations and only this default implementation is allowed to return it.
      Since:
      7.0.1