Interface ETagCreator


  • @Deprecated
    public interface ETagCreator
    Deprecated.
    usage of this interface is deprecated. Using etag from dispatcher / cdn directly is recommended solution.
    ETagCreator generates ETag identifiers
    • Method Detail

      • generateETag

        java.lang.String generateETag​(java.lang.String value)
        Deprecated.
        Method generates ETag identifier for given string value

        Generated ETag value represents identifier for specific version of the resource. It means the string value passed to the method needs to be unique for specific version of the resource.

        Parameters:
        value - the unique string value for specific version of the resource
        Returns:
        ETag identifier or null if ETag generating fails
      • generateETag

        java.lang.String generateETag​(ContentFragment contentFragment)
                               throws ContentFragmentException
        Deprecated.
        Method generates ETag identifier for given content fragment

        Generated ETag value represents identifier for specific version of the content fragment.

        Parameters:
        contentFragment - given content fragment
        Returns:
        ETag identifier
        Throws:
        ContentFragmentException - if ETag generating fails