public final class HeaderUtils extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
hasMatchingEtag(javax.servlet.http.HttpServletRequest request,
BinaryPage page) |
static boolean |
isForcedCheck(javax.servlet.http.HttpServletRequest request) |
static boolean |
isModifiedSince(javax.servlet.http.HttpServletRequest request,
BinaryPage page) |
static void |
setContentLengthHeader(javax.servlet.http.HttpServletResponse response,
BinaryPage page) |
static void |
setExpiresHeaders(javax.servlet.http.HttpServletResponse response,
BinaryPage page) |
static void |
setLastModifiedHeaders(javax.servlet.http.HttpServletResponse response,
BinaryPage page) |
public static boolean isForcedCheck(javax.servlet.http.HttpServletRequest request)
public static boolean hasMatchingEtag(javax.servlet.http.HttpServletRequest request, BinaryPage page)
public static boolean isModifiedSince(javax.servlet.http.HttpServletRequest request, BinaryPage page)
public static void setLastModifiedHeaders(javax.servlet.http.HttpServletResponse response, BinaryPage page)
public static void setExpiresHeaders(javax.servlet.http.HttpServletResponse response, BinaryPage page)
public static void setContentLengthHeader(javax.servlet.http.HttpServletResponse response, BinaryPage page)
Copyright © 2008–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.