@Component public class DetailedModuleDefinitionResourceAssembler extends org.springframework.hateoas.mvc.ResourceAssemblerSupport<ModuleDefinition,DetailedModuleDefinitionResource>
DetailedModuleDefinitionResource
out of a ModuleDefinition
.Constructor and Description |
---|
DetailedModuleDefinitionResourceAssembler(ModuleOptionsMetadataResolver moduleOptionsMetadataResolver) |
Modifier and Type | Method and Description |
---|---|
protected DetailedModuleDefinitionResource |
instantiateResource(ModuleDefinition entity) |
DetailedModuleDefinitionResource |
toResource(ModuleDefinition entity) |
@Autowired public DetailedModuleDefinitionResourceAssembler(ModuleOptionsMetadataResolver moduleOptionsMetadataResolver)
public DetailedModuleDefinitionResource toResource(ModuleDefinition entity)
protected DetailedModuleDefinitionResource instantiateResource(ModuleDefinition entity)
instantiateResource
in class org.springframework.hateoas.mvc.ResourceAssemblerSupport<ModuleDefinition,DetailedModuleDefinitionResource>