Package | Description |
---|---|
org.hippoecm.hst.servlet | |
org.hippoecm.hst.servlet.utils |
Modifier and Type | Method and Description |
---|---|
BinaryPage |
BinaryPageFactory.createBinaryPage(String resourcePath,
javax.jcr.Session session) |
BinaryPage |
BinariesServlet.DefaultBinaryPageFactory.createBinaryPage(String resourcePath,
javax.jcr.Session session) |
protected BinaryPage |
BinariesServlet.getBinaryPage(javax.servlet.http.HttpServletRequest request,
String resourcePath) |
protected BinaryPage |
BinariesServlet.getPageFromCacheOrLoadPage(javax.servlet.http.HttpServletRequest request) |
protected BinaryPage |
BinariesServlet.getValidatedPageFromCache(javax.servlet.http.HttpServletRequest request,
BinaryPage page) |
Modifier and Type | Method and Description |
---|---|
protected InputStream |
BinariesServlet.getRepositoryResourceStream(javax.jcr.Session session,
BinaryPage page) |
protected BinaryPage |
BinariesServlet.getValidatedPageFromCache(javax.servlet.http.HttpServletRequest request,
BinaryPage page) |
protected void |
BinariesServlet.initBinaryPageValues(javax.jcr.Session session,
BinaryPage page) |
protected boolean |
BinariesServlet.isPageStale(javax.servlet.http.HttpServletRequest request,
BinaryPage page)
Hook for subclasses to check whether a previously cached page should be recreated.
|
protected void |
BinariesServlet.storeResourceOnBinaryPage(BinaryPage page,
javax.jcr.Node resourceNode)
Stores the binary content of
resourceNode on the page unless the page
is marked to be uncacheable. |
protected void |
BinariesServlet.writeResponse(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
BinaryPage page) |
Modifier and Type | Method and Description |
---|---|
BinaryPage |
BinariesCache.getPageFromBlockingCache(BinaryPage.CacheKey cacheKey) |
Modifier and Type | Method and Description |
---|---|
void |
BinariesCache.clearBlockingLock(BinaryPage page)
Deprecated.
deprecated since 2.26.00 Use
#clearBlockingLock(CacheKey) instead. |
static boolean |
HeaderUtils.hasMatchingEtag(javax.servlet.http.HttpServletRequest request,
BinaryPage page) |
boolean |
BinariesCache.isBinaryDataCacheable(BinaryPage page) |
static boolean |
HeaderUtils.isModifiedSince(javax.servlet.http.HttpServletRequest request,
BinaryPage page) |
boolean |
BinariesCache.isPageStale(BinaryPage page,
long lastModified) |
boolean |
BinariesCache.mustCheckValidity(BinaryPage page) |
void |
BinariesCache.putPage(BinaryPage page) |
void |
BinariesCache.removePage(BinaryPage page) |
static void |
HeaderUtils.setContentLengthHeader(javax.servlet.http.HttpServletResponse response,
BinaryPage page) |
static void |
HeaderUtils.setExpiresHeaders(javax.servlet.http.HttpServletResponse response,
BinaryPage page) |
static void |
HeaderUtils.setLastModifiedHeaders(javax.servlet.http.HttpServletResponse response,
BinaryPage page) |
void |
BinariesCache.updateNextValidityCheckTime(BinaryPage page) |
Copyright © 2008–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.