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(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.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 occurredjavax.servlet.ServletException- if servlet error occurredjavax.ws.rs.WebApplicationException- if application error occurred
-
-