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, javax.ws.rs.WebApplicationException
Renderable
render
in interface Renderable
IOException
javax.servlet.ServletException
javax.ws.rs.WebApplicationException
Copyright © 2015 JBoss by Red Hat. All rights reserved.