@Override
 public void respondRedirect(Response response, Request request, String redirectUrl) {
   if (redirectUrl == null) {
     throw new NullPointerException("redirectUrl cannot be null");
   }
   log.trace("respondRedirect");
   // delegate to the response, because this can be server dependent
   response.sendRedirect(redirectUrl);
   //        response.setStatus(Response.Status.SC_MOVED_TEMPORARILY);
   //        response.setLocationHeader(redirectUrl);
 }