@Path("{secretId}") @Timed @ExceptionMetered @GET public SecretDetailResponse retrieveSecret(@Auth User user,@PathParam("secretId") LongParam secretId){
  logger.info("User '{}' retrieving secret id={}.",user,secretId);
  return secretDetailResponseFromId(secretId.get());
}

@ Path ( "{secretId}" ) @ Timed @ ExceptionMetered @ GET public SecretDetailResponse retrieveSecret ( @ Auth User user , @ PathParam ( "secretId" ) LongParam secretId ) { logger . info ( "User '{}' retrieving secret id={}." , user , secretId ) ; return secretDetailResponseFromId ( secretId . get ( ) ) ; }
retrieve secret by id
