|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StreamResourceSource
A source for resources that can be downloaded by the bayeux downloads service.
An implementation of this interface must be configured in the application using the bayeux downloads service as an extension. The downloads service will ask the defined implementation for a resource based on an id when links are clicked.
StreamService
Method Summary | |
---|---|
StreamResource |
getStreamResource(org.apache.tapestry.IRequestCycle cycle,
java.lang.Object[] parameters)
Called by downloads service when a download link has been clicked and the resource to be downloaded is to be obtained from somewhere. |
Method Detail |
---|
StreamResource getStreamResource(org.apache.tapestry.IRequestCycle cycle, java.lang.Object[] parameters) throws java.io.IOException
cycle
- the request cycle which originated the incoming request for a download resourceparameters
- the parameters used to find and generate the needed stream resource
java.io.IOException
- if obtaining the resource fails with an exception (no resource on id should not result in this exception!)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |