Package de.xima.fc.common.etag
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 anETagResource
.- Since:
- 8.3.0
- Author:
- XIMA MEDIA GmbH
- See Also:
ETagResource.match(Matcher)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description R
modified(ETagResource.Modified<T> modified)
Called when the resource was modified.R
notFound(ETagResource.NotFound<T> notFound)
Called when the resource was not found.R
notModified(ETagResource.NotModified<T> notModified)
Called when the resource was not modified.
-
-
-
Method Detail
-
modified
R modified(ETagResource.Modified<T> modified)
Called when the resource was modified.- Parameters:
modified
- Resource that was modified.- Returns:
- Result of the match.
-
notFound
R notFound(ETagResource.NotFound<T> notFound)
Called when the resource was not found.- Parameters:
notFound
- Resource that was not found.- Returns:
- Result of the match.
-
notModified
R notModified(ETagResource.NotModified<T> notModified)
Called when the resource was not modified.- Parameters:
notModified
- Resource that was not modified.- Returns:
- Result of the match.
-
-