com.timeindexing.servlet
Class FlashStreamDownloadServlet
java.lang.Object
HttpServlet
com.timeindexing.servlet.SelectServlet
com.timeindexing.servlet.FlashStreamDownloadServlet
- public class FlashStreamDownloadServlet
- extends SelectServlet
This servlet returns downloads FlashStream data.
The mime type of the reposnse is "audio/x-mpeg",
unless the browser is IE, then reposnse is "audio/mp3".
The associate file name is "download.mp3".
- See Also:
- Serialized Form
Method Summary |
protected void |
doPlayBack(HttpServletRequest request,
HttpServletResponse response)
Playback the data. |
protected void |
setContentType()
Set the content type. |
protected void |
setFilename()
Set the filename for downloads. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FlashStreamDownloadServlet
public FlashStreamDownloadServlet()
doPlayBack
protected void doPlayBack(HttpServletRequest request,
HttpServletResponse response)
throws java.io.IOException
- Playback the data.
- Overrides:
doPlayBack
in class SelectServlet
- Throws:
java.io.IOException
setContentType
protected void setContentType()
- Set the content type.
- Overrides:
setContentType
in class SelectServlet
setFilename
protected void setFilename()
- Set the filename for downloads.
- Overrides:
setFilename
in class SelectServlet