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
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 © 2014 Nuxeo SA. All rights reserved.