Package org.camunda.bpm.engine.rest.hal
Class Hal
- java.lang.Object
-
- org.camunda.bpm.engine.rest.hal.Hal
-
public class Hal extends Object
- Author:
- Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Field Description static StringAPPLICATION_HAL_JSONstatic javax.ws.rs.core.MediaTypeAPPLICATION_HAL_JSON_TYPEprotected Map<Class<?>,HalLinkResolver>halLinkResolversprotected Map<Class<?>,Cache>halRelationCachesstatic Halinstance
-
Constructor Summary
Constructors Constructor Description Hal()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description HalLinkercreateLinker(HalResource<?> resource)voiddestroyHalRelationCaches()CachegetHalRelationCache(Class<?> resourceClass)static HalgetInstance()HalLinkResolvergetLinkResolver(Class<?> resourceClass)voidregisterHalRelationCache(Class<?> entityClass, Cache cache)
-
-
-
Field Detail
-
APPLICATION_HAL_JSON
public static final 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 Map<Class<?>,HalLinkResolver> halLinkResolvers
-
-
Method Detail
-
getInstance
public static Hal getInstance()
-
createLinker
public HalLinker createLinker(HalResource<?> resource)
-
getLinkResolver
public HalLinkResolver getLinkResolver(Class<?> resourceClass)
-
destroyHalRelationCaches
public void destroyHalRelationCaches()
-
-