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 Summary

    Modifier and Type
    Method
    Description
    generateETag(ContentFragment contentFragment)
    Deprecated.
    Method generates ETag identifier for given content fragment
    Deprecated.
    Method generates ETag identifier for given string value
  • Method Details

    • generateETag

      String generateETag(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

      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