com.groiss.gui
Interface Page

All Known Implementing Classes:
ActionPage, HTMLPage, HTMLTree, JSONPage, TabbedDialog, VelocityPage, XHTMLPage

public interface Page

Interface for pages returned by methods called from Dispatcher.


Method Summary
 java.lang.String getContentType()
          Returns the content type of the page, for example "test/html".
 java.lang.String show()
          Called from the Dispatcher.
 

Method Detail

show

java.lang.String show()
Called from the Dispatcher. Returns a String representation suitable for viewing in the browser (HTML, XHTML, plain text, etc.)


getContentType

java.lang.String getContentType()
Returns the content type of the page, for example "test/html".

Returns:
the contents mime type as String


@enterprise 8.0.22989 Copyright © 2001-2017 Groiss Informatics GmbH. All Rights Reserved.