code: public void sendRedirect(String location)
          throws IOException
      {
          if (isCommitted())
              throw new IllegalStateException("Commited");
          _header.put(HttpFields.__Location,location);
          setStatus(__302_Moved_Temporarily);
          commit();
      }
docs: Sends a redirect response to the client using the specified redirect
  location URL.
  @param location the redirect location URL
  @exception IOException If an I/O error has occurred.