Class ETagToken
java.lang.Object
com.atlassian.plugin.servlet.cache.model.ETagToken
Represents an ETag to be used to verify the content of an
HttpServletResponse body.- Since:
- 4.1.18
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionEntity tag uniquely representing the requested resource.getValue()
-
Constructor Details
-
ETagToken
public ETagToken(@Nonnull byte[] responseBody) Build a certain ETag token based on aHttpServletResponsebody andBase64.- Parameters:
responseBody- The response body to be hashed.
-
-
Method Details
-
getValue
-
getDoubleQuotedValue
Entity tag uniquely representing the requested resource. They are a string of ASCII characters placed between double quotes.- Returns:
- Double quoted etag token.
- See Also:
-