Interface DownloadResourceWriter
-
- All Known Implementing Classes:
FileDownloadResourceWriter
public interface DownloadResourceWriter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetResourcePath()The relative URL of the resource, including the application context path.OutputStreamgetStreamForWriting()The output stream for writing the resource.
-
-
-
Method Detail
-
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:
OutputStreamfor writing
-
-