public final class HeaderUtils extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
containsETag(WebResponse response) |
static boolean |
containsLastModified(WebResponse response) |
static boolean |
containsMaxAge(WebResponse response) |
static boolean |
containsMaxAgeOrSMaxage(WebResponse response) |
static boolean |
containsNoCache(WebResponse response) |
static boolean |
containsNoStore(WebResponse response) |
static boolean |
containsPrivate(WebResponse response) |
static boolean |
containsPublic(WebResponse response) |
static boolean |
containsSMaxage(WebResponse response) |
static long |
maxAge(WebResponse response) |
static long |
sMaxage(WebResponse response) |
public static boolean containsPrivate(WebResponse response)
response
- WebResponse
public static boolean containsPublic(WebResponse response)
response
- WebResponse
public static boolean containsNoStore(WebResponse response)
response
- WebResponse
public static boolean containsNoCache(WebResponse response)
response
- WebResponse
public static boolean containsETag(WebResponse response)
response
- WebResponse
public static boolean containsLastModified(WebResponse response)
response
- WebResponse
public static boolean containsSMaxage(WebResponse response)
response
- WebResponse
public static boolean containsMaxAge(WebResponse response)
response
- WebResponse
public static boolean containsMaxAgeOrSMaxage(WebResponse response)
response
- WebResponse
public static long sMaxage(WebResponse response)
response
- WebResponse
public static long maxAge(WebResponse response)
response
- WebResponse
Copyright © 2002–2024 Gargoyle Software Inc.. All rights reserved.