Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.tapestry5.services
Class StreamPageContent

    java.lang.Object
      org.apache.tapestry5.services.StreamPageContent

    public final class StreamPageContent

extends java.lang.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

Constructor Summary
`StreamPageContent(java.lang.Class<?> pageClass)`
`StreamPageContent(java.lang.Class<?> pageClass, java.lang.Object... pageActivationContext)`

Method Summary
`java.lang.Object[]` | `getPageActivationContext()` Returns the activation context of the page.
`java.lang.Class<?>` | `getPageClass()` Returns the class of the page to render.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### StreamPageContent

    public StreamPageContent(java.lang.Class<?> pageClass)

Parameters:
  `pageClass` - class of the page to render

### StreamPageContent

    public StreamPageContent(java.lang.Class<?> pageClass,
                             java.lang.Object... pageActivationContext)

Parameters:
  `pageClass` - class of the page to render
  `pageActivationContext` - activation context of the page

Method Detail

### getPageClass

    public java.lang.Class<?> getPageClass()

  Returns the class of the page to render.

### getPageActivationContext

    public java.lang.Object[] getPageActivationContext()

  Returns the activation context of the page.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2012 The Apache Software Foundation.