Class Hal


  • public class Hal
    extends Object
    Author:
    Daniel Meyer
    • Field Detail

      • APPLICATION_HAL_JSON_TYPE

        public static final javax.ws.rs.core.MediaType APPLICATION_HAL_JSON_TYPE
      • instance

        public static Hal instance
      • halRelationCaches

        protected Map<Class<?>,​Cache> halRelationCaches
    • Constructor Detail

      • Hal

        public Hal()
    • Method Detail

      • getInstance

        public static Hal getInstance()
      • registerHalRelationCache

        public void registerHalRelationCache​(Class<?> entityClass,
                                             Cache cache)
      • getHalRelationCache

        public Cache getHalRelationCache​(Class<?> resourceClass)
      • destroyHalRelationCaches

        public void destroyHalRelationCaches()