@RequestMapping(value = "/definitions/{name}", method = RequestMethod.GET)
	@ResponseStatus(HttpStatus.OK)
	@ResponseBody
	public ResourceSupport display(@PathVariable("name") String name) throws Exception {
		final D definition = deployer.findOne(name);
		if (definition == null) {
			throw new NoSuchDefinitionException(name, "There is no definition named '%s'");
		}
		R resource = resourceAssemblerSupport.toResource(definition);
		return enhanceWithDeployment(definition, resource);
	}
Retrieve information about a single {@link ResourceSupport}.

@param name the name of an existing resource (required)
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/rest/XDController.java