|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DownloadResourceSource
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.
DownloadService
Method Summary | |
---|---|
DownloadResource |
getDownloadResource(org.apache.tapestry.IRequestCycle cycle,
java.lang.String resourceId)
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 |
---|
DownloadResource getDownloadResource(org.apache.tapestry.IRequestCycle cycle, java.lang.String resourceId) throws java.io.IOException
cycle
- the request cycle which originated the incoming request for a download resourceresourceId
- the id from the download link
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 |