net.sourceforge.pebble.web.view
Class PlainTextView
java.lang.Object
net.sourceforge.pebble.web.view.View
net.sourceforge.pebble.web.view.JspView
net.sourceforge.pebble.web.view.PlainTextView
- Direct Known Subclasses:
- LogAsTabDelimitedView
public class PlainTextView
- extends JspView
Represents a plain text view component, implemented by a JSP
and prepares the model for display.
- Author:
- Simon Brown
Method Summary |
void |
dispatch(HttpServletRequest request,
HttpServletResponse response,
ServletContext context)
Dispatches this view. |
java.lang.String |
getContentType()
Gets the content type of this view. |
java.lang.String |
getUri()
Gets the URI that implements this view. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlainTextView
public PlainTextView()
getContentType
public java.lang.String getContentType()
- Gets the content type of this view.
- Specified by:
getContentType
in class View
- Returns:
- the content type as a String
getUri
public java.lang.String getUri()
- Gets the URI that implements this view.
- Specified by:
getUri
in class JspView
- Returns:
- the URI as a String
dispatch
public void dispatch(HttpServletRequest request,
HttpServletResponse response,
ServletContext context)
throws ServletException
- Dispatches this view.
- Specified by:
dispatch
in class View
- Parameters:
request
- the HttpServletRequest instanceresponse
- the HttpServletResponse instancecontext
-
- Throws:
ServletException
Copyright © 2003-2006, Simon Brown. All Rights Reserved.