@Controller @RequestMapping(value="/taps") @ExposesResourceFor(value=TapDefinitionResource.class) public class TapsController extends XDController<TapDefinition,TapDefinitionResourceAssembler,TapDefinitionResource>
Constructor and Description |
---|
TapsController(TapDeployer tapDeployer) |
Modifier and Type | Method and Description |
---|---|
protected TapDefinition |
definitionFactory(java.lang.String name,
java.lang.String definition) |
org.springframework.hateoas.PagedResources<TapDefinitionResource> |
list(org.springframework.data.domain.Pageable pageable,
org.springframework.data.web.PagedResourcesAssembler<TapDefinition> assembler)
List Tap definitions.
|
delete, deploy, display, getDeployer, getResourceAssemblerSupport, listValues, save, undeploy
@Autowired public TapsController(TapDeployer tapDeployer)
@ResponseBody @RequestMapping(value="", method=GET) @ResponseStatus(value=OK) public org.springframework.hateoas.PagedResources<TapDefinitionResource> list(org.springframework.data.domain.Pageable pageable, org.springframework.data.web.PagedResourcesAssembler<TapDefinition> assembler)
protected TapDefinition definitionFactory(java.lang.String name, java.lang.String definition)
definitionFactory
in class XDController<TapDefinition,TapDefinitionResourceAssembler,TapDefinitionResource>