public abstract class LarkAssembler extends org.springframework.hateoas.mvc.ResourceAssemblerSupport<Object,RestResource>
| Modifier and Type | Field and Description |
|---|---|
protected Object[] |
pathVariables |
| Constructor and Description |
|---|
LarkAssembler(Class<?> controllerClass,
Class<RestResource> resourceType) |
| Modifier and Type | Method and Description |
|---|---|
protected List<org.springframework.hateoas.ResourceSupport> |
buildResources(List domains,
LarkAssembler larkAssembler,
Object... pathVariables) |
RestResource |
toResource(Object o) |
org.springframework.hateoas.ResourceSupport |
toResource(Object domain,
Object[] pathVariables) |
abstract RestResource |
toRestResource(Object o,
Object... pathVariables) |
protected Object[] pathVariables
public LarkAssembler(Class<?> controllerClass, Class<RestResource> resourceType)
public abstract RestResource toRestResource(Object o, Object... pathVariables) throws Exception
Exceptionprotected List<org.springframework.hateoas.ResourceSupport> buildResources(List domains, LarkAssembler larkAssembler, Object... pathVariables)
public RestResource toResource(Object o)
Copyright © 2016. All rights reserved.