@Override public void sendRedirect(String url) throws IOException { response.putHeader("Location", url); response.setStatusCode(301); }
@Override public void setHeader(String header, String value) { response.putHeader(header, value); }