Package | Description |
---|---|
org.apache.catalina.servlets |
This package contains
Servlets that implement some of the
standard functionality provided by the Catalina servlet container. |
org.apache.naming.resources |
This package contains the resources directory context implemetation.
|
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,
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,
InputStream is,
javax.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,
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,
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,
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,
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 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.
|
Modifier and Type | Field and Description |
---|---|
protected CacheEntry[] |
ResourceCache.cache
Cache.
|
Modifier and Type | Method and Description |
---|---|
protected CacheEntry |
ProxyDirContext.cacheLookup(String name)
Lookup in cache.
|
CacheEntry |
ResourceCache.lookup(String name) |
CacheEntry |
ProxyDirContext.lookupCache(String name)
Retrieves the named object as a cache entry, without any exception.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ProxyDirContext.cacheLoad(CacheEntry entry)
Load entry into cache.
|
void |
ResourceCache.load(CacheEntry entry) |
protected boolean |
ProxyDirContext.revalidate(CacheEntry entry)
Revalidate entry.
|
protected boolean |
ProxyDirContext.validate(CacheEntry entry)
Validate entry.
|
Copyright © 2015 JBoss by Red Hat. All rights reserved.