public class HalIdentityLinkResolver extends HalCachingLinkResolver
Constructor and Description |
---|
HalIdentityLinkResolver() |
Modifier and Type | Method and Description |
---|---|
protected Class<?> |
getHalResourceClass() |
protected String |
getResourceId(HalResource<?> resource) |
protected void |
putIntoCache(List<HalResource<?>> notCachedResources)
Put a resource into the cache.
|
List<HalResource<?>> |
resolveLinks(String[] linkedIds,
ProcessEngine processEngine)
Resolve resources for linked ids, if configured uses a cache.
|
protected List<HalResource<?>> |
resolveNotCachedLinks(String[] linkedIds,
ProcessEngine processEngine) |
getCache, getResourceComparator, resolveCachedLinks, sortResolvedResources
protected Class<?> getHalResourceClass()
getHalResourceClass
in class HalCachingLinkResolver
public List<HalResource<?>> resolveLinks(String[] linkedIds, ProcessEngine processEngine)
HalCachingLinkResolver
resolveLinks
in interface HalLinkResolver
resolveLinks
in class HalCachingLinkResolver
protected List<HalResource<?>> resolveNotCachedLinks(String[] linkedIds, ProcessEngine processEngine)
resolveNotCachedLinks
in class HalCachingLinkResolver
protected void putIntoCache(List<HalResource<?>> notCachedResources)
HalCachingLinkResolver
putIntoCache
in class HalCachingLinkResolver
protected String getResourceId(HalResource<?> resource)
getResourceId
in class HalCachingLinkResolver
Copyright © 2022. All rights reserved.