com.nordija.tapestry.bayeux.stream
Class StreamAsset
java.lang.Object
com.nordija.tapestry.bayeux.stream.StreamAsset
- All Implemented Interfaces:
- org.apache.hivemind.Locatable, org.apache.tapestry.IAsset
public class StreamAsset
- extends java.lang.Object
- implements org.apache.tapestry.IAsset
Asset capable of streaming data by invoking the stream service that will delegate the responsibility to the
given streamResourceSourceExtentionName.
- Author:
- Jacob von Eyben - Nordija A/S
Constructor Summary |
StreamAsset(org.apache.tapestry.engine.IEngineService streamService,
java.lang.String streamResourceSourceExtentionName,
java.lang.Object[] parameters,
IStream stream)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StreamAsset
public StreamAsset(org.apache.tapestry.engine.IEngineService streamService,
java.lang.String streamResourceSourceExtentionName,
java.lang.Object[] parameters,
IStream stream)
buildURL
public java.lang.String buildURL()
- Specified by:
buildURL
in interface org.apache.tapestry.IAsset
getResourceAsStream
public java.io.InputStream getResourceAsStream()
- Specified by:
getResourceAsStream
in interface org.apache.tapestry.IAsset
getResourceLocation
public org.apache.hivemind.Resource getResourceLocation()
- Specified by:
getResourceLocation
in interface org.apache.tapestry.IAsset
getLocation
public org.apache.hivemind.Location getLocation()
- Specified by:
getLocation
in interface org.apache.hivemind.Locatable
getLink
protected org.apache.tapestry.engine.ILink getLink()
Copyright © 2004-2007 Nordija A/S. All Rights Reserved.