public class Redirect extends Object implements Renderable
Constructor and Description |
---|
Redirect(String path) |
Redirect(URI path) |
public Redirect(URI path)
public Redirect(String path)
path
- must be a valid URIpublic URI getPath()
public void render(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException, javax.servlet.ServletException, WebApplicationException
Renderable
render
in interface Renderable
IOException
javax.servlet.ServletException
WebApplicationException
Copyright © 2015. All Rights Reserved.