Class View
- java.lang.Object
-
- org.jboss.resteasy.plugins.providers.html.View
-
- All Implemented Interfaces:
Renderable
public class View extends Object implements Renderable
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetModel()Map<String,Object>getModelMap()StringgetModelName()StringgetPath()voidrender(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)Sets up the model in the request attributes, creates a dispatcher, and forwards the request.
-
-
-
Method Detail
-
getPath
public String getPath()
-
getModelName
public String getModelName()
-
getModel
public Object getModel()
-
render
public void render(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOException, jakarta.servlet.ServletException, jakarta.ws.rs.WebApplicationExceptionSets up the model in the request attributes, creates a dispatcher, and forwards the request.- Specified by:
renderin 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
-
-