class PortfolioController {

	@RequestMapping(value = "/portfolio/{id}", method = RequestMethod.GET)
	public ResponseEntity<Portfolio> getPortfolio(@PathVariable("id") final String userId) {
		logger.debug("PortfolioController: Retrieving portfolio with user id:" + userId);
		Portfolio folio = service.getPortfolio(userId);
		logger.debug("PortfolioController: Retrieved portfolio:" + folio);
		return new ResponseEntity<Portfolio>(folio, getNoCacheHeaders(), HttpStatus.OK);
	}

}