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(javax.servlet.http.HttpServletRequest request, javax.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(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException, javax.servlet.ServletException, javax.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 occurredjavax.servlet.ServletException
- if servlet error occurredjavax.ws.rs.WebApplicationException
- if application error occurred
-
-