Class CachedDTOToEntityPathMapper
java.lang.Object
in.co.akshitbansal.springwebquery.pathmapper.DTOToEntityPathMapper
in.co.akshitbansal.springwebquery.pathmapper.CachedDTOToEntityPathMapper
Cached
DTOToEntityPathMapper variant that memoizes both successful
and failed path resolutions.-
Nested Class Summary
Nested classes/interfaces inherited from class in.co.akshitbansal.springwebquery.pathmapper.DTOToEntityPathMapper
DTOToEntityPathMapper.MappingResult -
Field Summary
Fields inherited from class in.co.akshitbansal.springwebquery.pathmapper.DTOToEntityPathMapper
dtoClass, entityClass -
Method Summary
Modifier and TypeMethodDescriptionResolves a DTO path, serving the result from cache whenever possible.
-
Method Details
-
map
Resolves a DTO path, serving the result from cache whenever possible.- Overrides:
mapin classDTOToEntityPathMapper- Parameters:
dtoPath- selector path expressed against the DTO contract- Returns:
- cached or freshly resolved mapping result
-