public class DownloadServlet
extends javax.servlet.http.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) |
public void handleClientDisconnect(IOException ioe) throws IOException
IOExceptionpublic static void writeStream(InputStream in, OutputStream out, DownloadServlet.ByteRange range) throws IOException
IOExceptionpublic static DownloadServlet.ByteRange parseRange(String range, long fileSize) throws ClientException
ClientExceptionCopyright © 2014 Nuxeo SA. All rights reserved.