|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rabbit.proxy.ETagUtils
public class ETagUtils
Methods dealing with etags
Constructor Summary | |
---|---|
ETagUtils()
|
Method Summary | |
---|---|
static boolean |
checkStrongEtag(String et,
String im)
Check if we have a strong etag match. |
static boolean |
checkWeakEtag(HttpHeader h1,
HttpHeader h2)
Remove any W/ prefix then check if etags are equal. |
static boolean |
checkWeakEtag(String et,
String im)
Remove any W/ prefix from the inputs then check if they are equal. |
static boolean |
isWeak(String t)
Check if the given etag is weak. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ETagUtils()
Method Detail |
---|
public static boolean isWeak(String t)
public static boolean checkStrongEtag(String et, String im)
public static boolean checkWeakEtag(HttpHeader h1, HttpHeader h2)
public static boolean checkWeakEtag(String et, String im)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |