public class DownloadServlet extends HttpServlet
Modifier and Type | Class and Description |
---|---|
static class |
DownloadServlet.ByteRange |
Constructor and Description |
---|
DownloadServlet() |
Modifier and Type | Method and Description |
---|---|
void |
handleClientDisconnect(IOException ioe) |
static DownloadServlet.ByteRange |
parseRange(String range,
long fileSize) |
static void |
writeStream(InputStream in,
OutputStream out,
DownloadServlet.ByteRange range) |
service
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
public void handleClientDisconnect(IOException ioe) throws IOException
IOException
public static void writeStream(InputStream in, OutputStream out, DownloadServlet.ByteRange range) throws IOException
IOException
public static DownloadServlet.ByteRange parseRange(String range, long fileSize) throws ClientException
ClientException
Copyright © 2013 Nuxeo SA. All Rights Reserved.