org.apache.tapestry5.services
Class StreamPageContent
java.lang.Object
org.apache.tapestry5.services.StreamPageContent
public final class StreamPageContent
- extends Object
An event handler method may return an instance of this class to trigger the rendering
of a particular page without causing a redirect to that page.
- Since:
- 5.2.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StreamPageContent
public StreamPageContent(Class<?> pageClass)
- Parameters:
pageClass
- class of the page to render
StreamPageContent
public StreamPageContent(Class<?> pageClass,
Object... pageActivationContext)
- Parameters:
pageClass
- class of the page to renderpageActivationContext
- activation context of the page
getPageClass
public Class<?> getPageClass()
- Returns the class of the page to render.
getPageActivationContext
public Object[] getPageActivationContext()
- Returns the activation context of the page.
Copyright © 2003-2012 The Apache Software Foundation.