Class View
java.lang.Object
org.jboss.resteasy.plugins.providers.html.View
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
DEFAULT_MODEL_NAME
If left unspecified, the default name of the model in the request attributes- See Also:
-
path
-
model
-
-
Constructor Details
-
View
Creates a view without a model.- Parameters:
path
- will be dispatched to using the servlet container; it should have a leading /.
-
View
-
View
-
-
Method Details
-
getPath
-
getModelName
-
getModel
-
getModelMap
-
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
-