Toggle navigation
Home
org.rapidoid.http.impl.RouteCacheKey to org.rapidoid.http.impl.HTTPCacheKey
No. of Instances - 4
No. of Commits - 1
No. of Projects - {'rapidoid'}
Hierarchy/Composition: SIBLING
Primitive Info: -
NameSpace: Internal -> Internal
Mapping:
Add or Remove Method invocation
Cache.of(new Mapper<RouteCacheKey,ByteBuffer>(){ @Override public ByteBuffer map( RouteCacheKey key) throws Exception { return null; } } ).ttl(cacheConfig.ttl)
to
Cache.of(HTTPCacheKey.class,CachedResp.class).ttl(options.cacheTTL())