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 String
APPLICATION_HAL_JSON
static javax.ws.rs.core.MediaType
APPLICATION_HAL_JSON_TYPE
protected Map<Class<?>,HalLinkResolver>
halLinkResolvers
protected Map<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(Class<?> resourceClass)
static Hal
getInstance()
HalLinkResolver
getLinkResolver(Class<?> resourceClass)
void
registerHalRelationCache(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()
-
-