protected boolean |
DefaultServlet.checkSendfile(jakarta.servlet.http.HttpServletRequest request,
jakarta.servlet.http.HttpServletResponse response,
CacheEntry entry,
long length,
DefaultServlet.Range range) |
Check if sendfile can be used.
|
protected void |
DefaultServlet.copy(CacheEntry cacheEntry,
jakarta.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).
|
protected void |
DefaultServlet.copy(CacheEntry cacheEntry,
jakarta.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 void |
DefaultServlet.copy(CacheEntry cacheEntry,
InputStream is,
jakarta.servlet.ServletOutputStream ostream) |
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,
InputStream is,
PrintWriter writer) |
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,
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,
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 InputStream |
DefaultServlet.render(String contextPath,
CacheEntry cacheEntry) |
Decide which way to render.
|
protected InputStream |
DefaultServlet.renderHtml(String contextPath,
CacheEntry cacheEntry) |
Return an InputStream to an HTML representation of the contents
of this directory.
|
protected InputStream |
DefaultServlet.renderXml(String contextPath,
CacheEntry cacheEntry,
Source xsltSource) |
Return an InputStream to an HTML representation of the contents
of this directory.
|