@HystrixCommand @RequestMapping("/javainfo") public String getJavaInfo(Model model, HttpSession session) throws JsonParseException, JsonMappingException, IOException { if (session.getAttribute("username") == null) { return utils.returnLogin(); } model.addAttribute("vcap_app", utils.getVCAP()); return "onlinestore/javainfo"; }