Package com.adobe.cq.dam.cfm.extensions
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
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.lang.String
generateETag(ContentFragment contentFragment)
Deprecated.Method generates ETag identifier for given content fragmentjava.lang.String
generateETag(java.lang.String value)
Deprecated.Method generates ETag identifier for given string value
-
-
-
Method Detail
-
generateETag
java.lang.String generateETag(java.lang.String value)
Deprecated.Method generates ETag identifier for given string valueGenerated 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 fragmentGenerated 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
-
-