| Package | Description |
|---|---|
| org.apache.catalina.servlets |
| Modifier and Type | Field and Description |
|---|---|
static List<RangeUtils.Range> |
RangeUtils.FULL
Full range marker.
|
| Modifier and Type | Method and Description |
|---|---|
static List<RangeUtils.Range> |
RangeUtils.parseRange(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String eTag,
long lastModified,
long fileLength)
Parse the range header.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
RangeUtils.copy(InputStream resourceInputStream,
javax.servlet.ServletOutputStream ostream,
RangeUtils.Range range)
Copy the contents of the specified input stream to the specified
output stream, and ensure that both streams are closed before returning
(even in the face of an exception).
|
| Modifier and Type | Method and Description |
|---|---|
static void |
RangeUtils.copy(InputStream resourceInputStream,
javax.servlet.ServletOutputStream ostream,
Iterator<RangeUtils.Range> ranges,
String contentType)
Copy the contents of the specified input stream to the specified
output stream, and ensure that both streams are closed before returning
(even in the face of an exception).
|
Copyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.