@ RequestMapping ( value = "/{name}" , method = RequestMethod . GET ) public AggregateCounterResource display ( @ PathVariable ( "name" ) String name ) { AggregateCounter counter = repository . findOne ( name ) ; if ( counter == null ) { throw new NoSuchMetricException ( name ) ; } return deepAssembler . toResource ( counter ) ; }
Retrieve information about a specific aggregate counter .