/** * Clears the output content */ public void clearOutput() { mockFactory.getMockResponse().resetBuffer(); }
/** * Clears the output content */ public void clearOutput() { mockFactory.getMockResponse().resetBuffer(); }
public String getOutput() { try { factory.getMockResponse().getWriter().flush(); } catch(Exception exc) { } return factory.getMockResponse().getOutputStreamContent(); } }
public String getOutput() { try { factory.getMockResponse().getWriter().flush(); } catch(Exception ignored) { } return factory.getMockResponse().getOutputStreamContent(); } }
/** * Clears the output content */ public void clearOutput() { mockFactory.getMockResponse().resetBuffer(); }
public String getOutput() { try { factory.getMockResponse().getWriter().flush(); } catch(Exception exc) { } return factory.getMockResponse().getOutputStreamContent(); } }
/** * Returns the servlet output as a string. Flushes the output * before returning it. * @return the servlet output */ public String getOutput() { try { mockFactory.getMockResponse().getWriter().flush(); } catch(Exception exc) { } return mockFactory.getMockResponse().getOutputStreamContent(); }
/** * Returns the servlet output as a string. Flushes the output * before returning it. * @return the servlet output */ public String getOutput() { try { mockFactory.getMockResponse().getWriter().flush(); } catch(Exception exc) { } return mockFactory.getMockResponse().getOutputStreamContent(); }
/** * Returns the servlet output as a string. Flushes the output * before returning it. * @return the servlet output */ public String getOutput() { try { mockFactory.getMockResponse().getWriter().flush(); } catch(Exception ignored) { } return mockFactory.getMockResponse().getOutputStreamContent(); }