code: @Override
      public void sendRedirect(String location) throws IOException {
          if (isCommitted()) {
              throw new IllegalStateException("Response already committed");
          }
          if (null == location) {
              throw new IllegalArgumentException("Location is null");
          }
          resetBuffer();
          this.response.setHeader("Location", convertURItoURL(location.trim()));
          this.response.setStatus(307);
          flushBuffer();
      }
docs: /*
  @see javax.servlet.http.HttpServletResponse#sendRedirect(java.lang.String)