Package | Description |
---|---|
org.apache.catalina.servlets |
This package contains
Servlets that implement some of the
standard functionality provided by the Catalina servlet container. |
Modifier and Type | Field and Description |
---|---|
protected static ArrayList<DefaultServlet.Range> |
DefaultServlet.FULL
Full range marker.
|
Modifier and Type | Method and Description |
---|---|
protected DefaultServlet.Range |
DefaultServlet.parseContentRange(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Parse the content-range header.
|
Modifier and Type | Method and Description |
---|---|
protected ArrayList<DefaultServlet.Range> |
DefaultServlet.parseRange(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
ResourceAttributes resourceAttributes)
Parse the range header.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
DefaultServlet.checkSendfile(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String path,
CacheEntry entry,
long length,
DefaultServlet.Range range)
Check if sendfile can be used.
|
protected void |
DefaultServlet.copy(CacheEntry cacheEntry,
PrintWriter writer,
DefaultServlet.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).
|
protected void |
DefaultServlet.copy(CacheEntry cacheEntry,
javax.servlet.ServletOutputStream ostream,
DefaultServlet.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).
|
protected File |
DefaultServlet.executePartialPut(javax.servlet.http.HttpServletRequest req,
DefaultServlet.Range range,
String path)
Handle a partial PUT.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultServlet.copy(CacheEntry cacheEntry,
PrintWriter writer,
Iterator<DefaultServlet.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).
|
protected void |
DefaultServlet.copy(CacheEntry cacheEntry,
javax.servlet.ServletOutputStream ostream,
Iterator<DefaultServlet.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 © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.