code: public void redirect(String location, int statusCode) {
          checkCommitted();
          finalizeResponse();
  
          status(statusCode);
          header(HttpConstants.Header.LOCATION, location);
          header(HttpConstants.Header.CONNECTION, "close");
          try {
              httpServletResponse.sendError(statusCode);
          } catch (IOException e) {
              throw new PippoRuntimeException(e);
          }
      }
docs: A permanent (3XX status code) redirect.
  <p>This method commits the response.</p>
  
  @param location
  @param statusCode