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 Object
getModel()
Map<String,Object>
getModelMap()
String
getModelName()
String
getPath()
void
render(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.WebApplicationException
Sets up the model in the request attributes, creates a dispatcher, and forwards the request.- 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
-
-