use of org.springframework.boot.actuate.endpoint.ApiVersion in project spring-boot by spring-projects.
the class CachingOperationInvoker method getCacheKey.
private CacheKey getCacheKey(InvocationContext context) {
ApiVersion contextApiVersion = context.resolveArgument(ApiVersion.class);
Principal principal = context.resolveArgument(Principal.class);
WebServerNamespace serverNamespace = context.resolveArgument(WebServerNamespace.class);
return new CacheKey(contextApiVersion, principal, serverNamespace);
}
Aggregations