code: protected void viaLastaDiContext(HttpServletRequest request, HttpServletResponse response, FilterChain chain)
              throws IOException, ServletException {
          final LaContainer container = SingletonLaContainerFactory.getContainer();
          final ExternalContext externalContext = container.getExternalContext();
          if (externalContext == null) {
              throw new IllegalStateException("The externalContext should not be null from the container: " + container);
          }
          final Object prevoiusRequest = externalContext.getRequest();
          final Object previousResponse = externalContext.getResponse();
          try {
              externalContext.setRequest(request);
              externalContext.setResponse(response);
              viaHotdeploy(request, response, chain); // #to_action
          } finally {
              externalContext.setRequest(prevoiusRequest);
              externalContext.setResponse(previousResponse);
          }
      }
docs: -------------------