Package com.groiss.gui
Interface Page
- All Known Subinterfaces:
StreamablePage
- All Known Implementing Classes:
ActionPage
,HTMLPage
,HTMLTree
,JSONPage
,VelocityPage
,XHTMLPage
public interface Page
Interface for pages returned by methods called from
Dispatcher.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the content type of the page, for example "text/html".Returns the list of http-response-headers to be set on theHttpServletResponse
show()
Called from the Dispatcher.
-
Method Details
-
show
String show()Called from the Dispatcher. Returns a String representation suitable for viewing in the browser (HTML, XHTML, plain text, etc.) -
getContentType
String getContentType()Returns the content type of the page, for example "text/html".- Returns:
- the contents mime type as String
-
getHeaders
Returns the list of http-response-headers to be set on theHttpServletResponse
-