@Override public ResultActions andDo(ResultHandler handler) throws Exception { handler.handle(mvcResult); return this; } @Override
private void applyDefaultResultActions(MvcResult mvcResult) throws Exception { for (ResultMatcher matcher : this.defaultResultMatchers) { matcher.match(mvcResult); } for (ResultHandler handler : this.defaultResultHandlers) { handler.handle(mvcResult); } }
@Override public void handle(MvcResult result) throws Exception { if (logger.isDebugEnabled()) { StringWriter stringWriter = new StringWriter(); ResultHandler printingResultHandler = new PrintWriterPrintingResultHandler(new PrintWriter(stringWriter)); printingResultHandler.handle(result); logger.debug("MvcResult details:\n" + stringWriter); } } }
@Override public ResultActions andDo(ResultHandler handler) throws Exception { handler.handle(mvcResult); return this; } @Override
@Override public ResultActions andDo(ResultHandler handler) throws Exception { handler.handle(mvcResult); return this; } @Override
private void applyDefaultResultActions(MvcResult mvcResult) throws Exception { for (ResultMatcher matcher : this.defaultResultMatchers) { matcher.match(mvcResult); } for (ResultHandler handler : this.defaultResultHandlers) { handler.handle(mvcResult); } }
@Override public void handle(MvcResult result) throws Exception { if (logger.isDebugEnabled()) { StringWriter stringWriter = new StringWriter(); ResultHandler printingResultHandler = new PrintWriterPrintingResultHandler(new PrintWriter(stringWriter)); printingResultHandler.handle(result); logger.debug("MvcResult details:\n" + stringWriter); } } }
@Override public void handle(MvcResult result) throws Exception { if (logger.isDebugEnabled()) { StringWriter stringWriter = new StringWriter(); ResultHandler printingResultHandler = new PrintWriterPrintingResultHandler(new PrintWriter(stringWriter)); printingResultHandler.handle(result); logger.debug("MvcResult details:\n" + stringWriter); } } }
private void applyDefaultResultActions(MvcResult mvcResult) throws Exception { for (ResultMatcher matcher : this.defaultResultMatchers) { matcher.match(mvcResult); } for (ResultHandler handler : this.defaultResultHandlers) { handler.handle(mvcResult); } }