Interface ETagResource.Matcher<T,R>
- Type Parameters:
T- Type of the resource.R- Type of the result.
- Enclosing class:
ETagResource<T>
public static interface ETagResource.Matcher<T,R>
Matcher for the different states of an
ETagResource.- Since:
- 8.3.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionmodified(ETagResource.Modified<T> modified) Called when the resource was modified.notFound(ETagResource.NotFound<T> notFound) Called when the resource was not found.notModified(ETagResource.NotModified<T> notModified) Called when the resource was not modified.
-
Method Details
-
modified
Called when the resource was modified.- Parameters:
modified- Resource that was modified.- Returns:
- Result of the match.
-
notFound
Called when the resource was not found.- Parameters:
notFound- Resource that was not found.- Returns:
- Result of the match.
-
notModified
Called when the resource was not modified.- Parameters:
notModified- Resource that was not modified.- Returns:
- Result of the match.
-