979899100101102103104105106107
try { Object entity = jaxrsResponse.getEntity(); if (entity instanceof ModelAndView) { jaxrsResponse.commitHeaders(response); return (ModelAndView) entity; } return createModelAndView(jaxrsResponse); } catch (Exception e)