|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.pebble.web.view.View
net.sourceforge.pebble.web.view.ForwardView
public class ForwardView
Represents a JSP forward to another resource.
Constructor Summary | |
---|---|
ForwardView(java.lang.String uri)
Creates a new instance with the specified URI. |
Method Summary | |
---|---|
void |
dispatch(HttpServletRequest request,
HttpServletResponse response,
ServletContext context)
Dispatches this view. |
java.lang.String |
getContentType()
Gets the title of this view. |
java.lang.String |
getUri()
Gets the URI that this view represents. |
Methods inherited from class net.sourceforge.pebble.web.view.View |
---|
getModel, getServletContext, prepare, setModel, setServletContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ForwardView(java.lang.String uri)
uri
- the URI to redirect toMethod Detail |
---|
public java.lang.String getUri()
public java.lang.String getContentType()
getContentType
in class View
public void dispatch(HttpServletRequest request, HttpServletResponse response, ServletContext context) throws ServletException
dispatch
in class View
request
- the HttpServletRequest instanceresponse
- the HttpServletResponse instancecontext
-
ServletException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |