public class RequestHelper
extends java.lang.Object
RequestHelper
...Constructor and Description |
---|
RequestHelper() |
Modifier and Type | Method and Description |
---|---|
static boolean |
handleIfModifiedSince(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
Node node)
Checks if the request contains a if-last-modified-since header and if the
node has a jcr:lastModified property.
|
static boolean |
handleIfModifiedSince(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
ValueMap properties)
Checks if the request contains a if-last-modified-since header and if the
properties have a jcr:lastModified property.
|
public static boolean handleIfModifiedSince(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, ValueMap properties)
req
- the requestresp
- the responseproperties
- the propertiestrue
if the response was sentpublic static boolean handleIfModifiedSince(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, Node node)
req
- the requestresp
- the responsenode
- the current nodetrue
if the response was sentCopyright © 2010 - 2023 Adobe. All Rights Reserved