Interface VersionResolver<T,R>
- Type Parameters:
T
- The type of object to resolve fromR
- The type of version returned
- All Known Subinterfaces:
RequestVersionResolver
- All Known Implementing Classes:
HeaderVersionResolver
,ParameterVersionResolver
public interface VersionResolver<T,R>
Resolves a version from a given object.
-
Method Summary
-
Method Details
-
resolve
Resolves a version from a given object.- Parameters:
object
- The type of object to resolve from- Returns:
- An optional object representing the version
-