Interface DownloadResourceWriter
- All Known Implementing Classes:
FileDownloadResourceWriter
public interface DownloadResourceWriter
-
Method Summary
Modifier and TypeMethodDescriptionThe relative URL of the resource, including the application context path.The output stream for writing the resource.
-
Method Details
-
getResourcePath
String getResourcePath()The relative URL of the resource, including the application context path.- Returns:
- the relative URL of the resource
-
getStreamForWriting
OutputStream getStreamForWriting()The output stream for writing the resource. The client is responsible for closing the returned stream in a finally block.- Returns:
OutputStream
for writing
-