public class RequestHelper
extends java.lang.Object
RequestHelper
...Constructor and Description |
---|
RequestHelper() |
Modifier and Type | Method and Description |
---|---|
static boolean |
handleIfModifiedSince(HttpServletRequest req,
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(HttpServletRequest req,
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(HttpServletRequest req, HttpServletResponse resp, ValueMap properties)
req
- the requestresp
- the responseproperties
- the propertiestrue
if the response was sentpublic static boolean handleIfModifiedSince(HttpServletRequest req, HttpServletResponse resp, Node node)
req
- the requestresp
- the responsenode
- the current nodetrue
if the response was sent"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"