public static class AbstractBrooklynRestResource.RestValueResolver
extends java.lang.Object
public static AbstractBrooklynRestResource.RestValueResolver resolving(java.lang.Object v)
public AbstractBrooklynRestResource.RestValueResolver mapper(com.fasterxml.jackson.databind.ObjectMapper mapper)
public AbstractBrooklynRestResource.RestValueResolver preferJson(boolean preferJson)
conversion to JSON for complex types is done subsequently (often by the framework)
default is true
public AbstractBrooklynRestResource.RestValueResolver asJerseyOutermostReturnValue(boolean asJerseyReturnJson)
default is false
public AbstractBrooklynRestResource.RestValueResolver raw(java.lang.Boolean raw)
public AbstractBrooklynRestResource.RestValueResolver context(Entity entity)
public AbstractBrooklynRestResource.RestValueResolver timeout(Duration timeout)
public AbstractBrooklynRestResource.RestValueResolver immediately(boolean immediately)
public AbstractBrooklynRestResource.RestValueResolver renderAs(java.lang.Object rendererHintSource)
public java.lang.Object resolve()