Class Redirect
java.lang.Object
org.jboss.resteasy.plugins.providers.html.Redirect
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Redirect
-
Redirect
- Parameters:
path
- must be a valid URI
-
-
Method Details
-
getPath
-
render
public void render(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOException, jakarta.servlet.ServletException, jakarta.ws.rs.WebApplicationException Description copied from interface:Renderable
Called to do the actual work of rendering a view. Note that while ServletException can be thrown, WebApplicationException is preferred.- Specified by:
render
in interfaceRenderable
- Parameters:
request
- http requestresponse
- http response- Throws:
IOException
- if I/O error occurredjakarta.servlet.ServletException
- if servlet error occurredjakarta.ws.rs.WebApplicationException
- if application error occurred
-