|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.httpcache4j.Conditionals
public final class Conditionals
| Constructor Summary | |
|---|---|
Conditionals()
|
|
| Method Summary | |
|---|---|
void |
addIfMatch(Tag tag)
Adds tags to the If-Match header. |
void |
addIfNoneMatch(Tag tag)
Adds tags to the If-None-Match header. |
java.util.List<Tag> |
getMatch()
|
org.joda.time.DateTime |
getModifiedSince()
|
java.util.List<Tag> |
getNonMatch()
|
org.joda.time.DateTime |
getUnModifiedSince()
|
void |
setIfModifiedSince(org.joda.time.DateTime time)
You should use the server's time here. |
void |
setIfUnModifiedSince(org.joda.time.DateTime time)
You should use the server's time here. |
Headers |
toHeaders()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Conditionals()
| Method Detail |
|---|
public void addIfMatch(Tag tag)
tag - the tag to add, may be null. This means the same as adding Tag.ALL
java.lang.IllegalArgumentException - if ALL is supplied more than once, or you add a null tag more than once.public void addIfNoneMatch(Tag tag)
tag - the tag to add, may be null. This means the same as adding Tag.ALL
java.lang.IllegalArgumentException - if ALL is supplied more than once, or you add a null tag more than once.public void setIfModifiedSince(org.joda.time.DateTime time)
time - the time to check.public void setIfUnModifiedSince(org.joda.time.DateTime time)
time - the time to check.public java.util.List<Tag> getMatch()
public java.util.List<Tag> getNonMatch()
public org.joda.time.DateTime getModifiedSince()
public org.joda.time.DateTime getUnModifiedSince()
public Headers toHeaders()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||