org.camunda.bpm.engine.rest.hal
Class Hal

java.lang.Object
  extended by org.camunda.bpm.engine.rest.hal.Hal

public class Hal
extends Object

Author:
Daniel Meyer

Field Summary
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
Hal()
           
 
Method Summary
 HalLinker createLinker(HalResource<?> resource)
           
 void destroyHalRelationCaches()
           
 Cache getHalRelationCache(Class<?> resourceClass)
           
static Hal getInstance()
           
 HalLinkResolver getLinkResolver(Class<?> resourceClass)
           
 void registerHalRelationCache(Class<?> entityClass, Cache cache)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

halRelationCaches

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

Hal

public Hal()
Method Detail

getInstance

public static Hal getInstance()

createLinker

public HalLinker createLinker(HalResource<?> resource)

getLinkResolver

public HalLinkResolver getLinkResolver(Class<?> resourceClass)

registerHalRelationCache

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

getHalRelationCache

public Cache getHalRelationCache(Class<?> resourceClass)

destroyHalRelationCaches

public void destroyHalRelationCaches()


Copyright © 2016 camunda services GmbH. All rights reserved.