public class DefaultCacheMapInitializer extends Object implements CacheMapInitializer
CacheMapCreatorFactory
Constructor and Description |
---|
DefaultCacheMapInitializer() |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
initialize(Class<? extends Resource> clazz,
Map<String,?> data,
com.okta.commons.http.QueryString queryString)
Used to initialize a cache map based on the provided class, data and query string.
|
public Map<String,Object> initialize(Class<? extends Resource> clazz, Map<String,?> data, com.okta.commons.http.QueryString queryString)
Used to initialize a cache map based on the provided class, data and query string.
It uses the CacheMapCreatorFactory
to initialize a map.
initialize
in interface CacheMapInitializer
clazz
- the resource class that will be used to identify the type of resource.data
- the data to be cached that should be analyzed to initialize the map.queryString
- the query string to be analyzed to initialize the map.CacheMapCreatorFactory.create(Class, Map, QueryString)
Copyright © 2017–2023 Okta. All rights reserved.