Package org.camunda.bpm.engine.rest.hal
Class Hal
- java.lang.Object
-
- org.camunda.bpm.engine.rest.hal.Hal
-
public class Hal extends java.lang.Object
- Author:
- Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
APPLICATION_HAL_JSON
static javax.ws.rs.core.MediaType
APPLICATION_HAL_JSON_TYPE
protected java.util.Map<java.lang.Class<?>,HalLinkResolver>
halLinkResolvers
protected java.util.Map<java.lang.Class<?>,Cache>
halRelationCaches
static Hal
instance
-
Constructor Summary
Constructors Constructor Description Hal()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description HalLinker
createLinker(HalResource<?> resource)
void
destroyHalRelationCaches()
Cache
getHalRelationCache(java.lang.Class<?> resourceClass)
static Hal
getInstance()
HalLinkResolver
getLinkResolver(java.lang.Class<?> resourceClass)
void
registerHalRelationCache(java.lang.Class<?> entityClass, Cache cache)
-
-
-
Field Detail
-
APPLICATION_HAL_JSON
public static final java.lang.String APPLICATION_HAL_JSON
- See Also:
- Constant Field Values
-
APPLICATION_HAL_JSON_TYPE
public static final javax.ws.rs.core.MediaType APPLICATION_HAL_JSON_TYPE
-
instance
public static Hal instance
-
halLinkResolvers
protected java.util.Map<java.lang.Class<?>,HalLinkResolver> halLinkResolvers
-
halRelationCaches
protected java.util.Map<java.lang.Class<?>,Cache> halRelationCaches
-
-
Method Detail
-
getInstance
public static Hal getInstance()
-
createLinker
public HalLinker createLinker(HalResource<?> resource)
-
getLinkResolver
public HalLinkResolver getLinkResolver(java.lang.Class<?> resourceClass)
-
registerHalRelationCache
public void registerHalRelationCache(java.lang.Class<?> entityClass, Cache cache)
-
getHalRelationCache
public Cache getHalRelationCache(java.lang.Class<?> resourceClass)
-
destroyHalRelationCaches
public void destroyHalRelationCaches()
-
-