@FunctionalInterface public static interface Cache.KeyGenerator
| Modifier and Type | Method and Description |
|---|---|
Cache.Key |
apply(HttpRequest request,
Boolean isAsync,
Class<?> responseType)
A function to generate a cache key
|
Cache.Key apply(HttpRequest request, Boolean isAsync, Class<?> responseType)
request - the current http requestisAsync - indicates if this request is being executed asyncresponseType - the response type (String, JsonNode, etc)Copyright © 2023. All rights reserved.