|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrabbit.proxy.ETagUtils
public class ETagUtils
Methods dealing with etags
| Constructor Summary | |
|---|---|
ETagUtils()
|
|
| Method Summary | |
|---|---|
static boolean |
checkStrongEtag(java.lang.String et,
java.lang.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(java.lang.String et,
java.lang.String im)
Remove any W/ prefix from the inputs then check if they are equal. |
static boolean |
isWeak(java.lang.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(java.lang.String t)
t - the String to check
public static boolean checkStrongEtag(java.lang.String et,
java.lang.String im)
et - the current etagim - the if-modified tag
public static boolean checkWeakEtag(HttpHeader h1,
HttpHeader h2)
h1 - the first header to get an etag fromh2 - the second header to get an etag from
public static boolean checkWeakEtag(java.lang.String et,
java.lang.String im)
et - an etag headerim - an if-modified header
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||