@Test public final void testDoGetShouldTurnResponseVolatilityOff() throws ServletException, IOException { ProxyServer.setResponseVolatile(true); underTest.doGet(request, response); Assert.assertTrue(!ProxyServer.getResponseVolatile()); }
@Override protected void doGet(final HttpServletRequest req, final HttpServletResponse resp) throws ServletException, IOException { logger.info(urlAccessLogMessageAssembler.assembleMessage(req, "Response Message Volatility: OFF")); ProxyServer.setResponseVolatile(false); }
ResponseMessageVolatilityOffServlet extends HttpServlet { @Override protected void doGet(final HttpServletRequest req, final HttpServletResponse resp) throws ServletException, IOException { logger.info(urlAccessLogMessageAssembler.assembleMessage(req, "Response Message Volatility: OFF")); ProxyServer.setResponseVolatile(false); } }
ResponseMessageVolatilityOffServlet extends HttpServlet { @Override protected void doGet(final HttpServletRequest req, final HttpServletResponse resp) throws ServletException, IOException { logger.info(urlAccessLogMessageAssembler.assembleMessage(req, "Response Message Volatility: OFF")); ProxyServer.setResponseVolatile(false); } @Autowired  ResponseMessageVolatilityOffServlet(UrlAccessLogMessageAssembler urlAccessLogMessageAssembler); }
ResponseMessageVolatilityOffServlet extends HttpServlet { @Override protected void doGet(final HttpServletRequest req, final HttpServletResponse resp) throws ServletException, IOException { logger.info(urlAccessLogMessageAssembler.assembleMessage(req, "Response Message Volatility: OFF")); ProxyServer.setResponseVolatile(false); } @Autowired  ResponseMessageVolatilityOffServlet(UrlAccessLogMessageAssembler urlAccessLogMessageAssembler);  }
ResponseMessageVolatilityOffServlet extends HttpServlet { @Override protected void doGet(final HttpServletRequest req, final HttpServletResponse resp) throws ServletException, IOException { logger.info(urlAccessLogMessageAssembler.assembleMessage(req, "Response Message Volatility: OFF")); ProxyServer.setResponseVolatile(false); } @Autowired  ResponseMessageVolatilityOffServlet(UrlAccessLogMessageAssembler urlAccessLogMessageAssembler);   }